Subject: Mountpoint readonly
From: "Roman Pretory" <hostmaster@austrianonlines.net>
Date: Thu, 28 Oct 2010 10:06:56 +0200
Thu, 28 Oct 2010 10:06:56 +0200












Hello 












I have now upgaded(new installed) a sytem to Centos 5.564bit with a new
Kernel.






Kernel now from [dhozac-vserver] via RPM.













have mouted 2 HDD in the host filesystem and then bind intothe guest.












It runs very good but the one hdd changes without doingsomthing to read only
in the hostsystem and so allso in the guest.





I have searched if anything have changed in the howto but itseems to be done
ok.





Have anyone an Idee???












more infos about the system see below.












Many Thanks 





Roman



















Ott01 ~ $ /home/testme.sh





Linux-VServer Test [V0.17] Copyright (C) 2003-2006 H.Poetzl





chcontext is working.





chbind is working.





Linux 2.6.22.19-vs2.3.0.34.1 #1 SMP Mon Mar 17 02:33:42 EDT2008 x86_64





Ea 0.30.216 236/glibc (DSa)&lt;v13,net,v21,v22,v23,netv2&gt;





VCI: 0002:0302 236 13010fb1 (KtTbsPHIWD)





---





[000]# succeeded.





[001]# succeeded.





[011]# succeeded.





[031]# succeeded.





[101]# succeeded.





[102]# succeeded.





[201]# succeeded.





[202]# succeeded.












/etc/fstab:





LABEL=/















/





















ext3


 defaults






 1 1





LABEL=/usr












/usr


















ext3


 defaults






1 2





LABEL=/vmware1








/vmware















ext3


 defaults






 1 2





LABEL=/var












/var


















ext3


 defaults






 1 2





LABEL=/boot











/boot

















ext3


 defaults






 1 2





tmpfs

















/dev/shm














tmpfs

 defaults






 0 0





devpts
















/dev/pts














devpts
 gid=5,mode=620
 0 0





sysfs

















/sys


















sysfs

 defaults






 0 0





proc


















/proc

















proc


 defaults






 0 0





LABEL=SWAP-sda6







swap


















swap


 defaults






 0 0





/dev/sda7
 /vservers
 ext3
 defaults
0
 0





/dev/sdc5
 /data/storage/750Gb_1
 ext3
grpquota,usrquota
 0
 0





/dev/sdb5
 /data/storage/1000Gb_1
 ext3
defaults
 0
 0












/etc/vservers/file/fstab.





none



/proc


















proc





defaults




























0 0





#none
 /tmp



















tmpfs


 size=16m,mode=1777

 0 0





none



/dev/pts











devpts
gid=5,mode=620



























0 0





#/data/storage/160GB_1 /data/storage/160GB_1 bind bind,rw 00





#/data/storage/120GB_1 /data/storage/120GB_1 bind bind,rw 00





/data/storage/750Gb_1 /data/storage/750Gb_1 bind bind,rw 0 0





/data/storage/1000Gb_1 /data/storage/1000Gb_1 bind bind,rw 00
















Hello

 

I have now upgaded(new installed) a sytem to Centos 5.5 64bit with a new Kernel.

Kernel now from [dhozac-vserver] via RPM.

 

have mouted 2 HDD in the host filesystem and then bind into the guest.

 

It runs very good but the one hdd changes without doing somthing to read only in the hostsystem and so allso in the guest.

I have searched if anything have changed in the howto but it seems to be done ok.

Have anyone an Idee???

 

more infos about the system see below.

 

Many Thanks

Roman

 

 

Ott01 ~ $ /home/testme.sh

Linux-VServer Test [V0.17] Copyright (C) 2003-2006 H.Poetzl

chcontext is working.

chbind is working.

Linux 2.6.22.19-vs2.3.0.34.1 #1 SMP Mon Mar 17 02:33:42 EDT 2008 x86 64

Ea 0.30.216 236/glibc (DSa) <v13,net,v21,v22,v23,netv2>

VCI: 0002:0302 236 13010fb1 (KtTbsPHIWD)

---

[000]# succeeded.

[001]# succeeded.

[011]# succeeded.

[031]# succeeded.

[101]# succeeded.

[102]# succeeded.

[201]# succeeded.

[202]# succeeded.

 

/etc/fstab:

LABEL=/                 /                       ext3    defaults        1 1

LABEL=/usr              /usr                    ext3    defaults        1 2

LABEL=/vmware1          /vmware                 ext3    defaults        1 2

LABEL=/var              /var                    ext3    defaults        1 2

LABEL=/boot             /boot                   ext3    defaults        1 2

tmpfs                   /dev/shm                tmpfs   defaults        0 0

devpts                  /dev/pts                devpts  gid=5,mode=620  0 0

sysfs                   /sys                    sysfs   defaults        0 0

proc                    /proc                   proc    defaults        0 0

LABEL=SWAP-sda6         swap                    swap    defaults        0 0

/dev/sda7  /vservers  ext3  defaults  0  0

/dev/sdc5  /data/storage/750Gb 1  ext3  grpquota,usrquota  0  0

/dev/sdb5  /data/storage/1000Gb 1  ext3  defaults  0  0

 

/etc/vservers/file/fstab.

none     /proc                    proc       defaults                              0 0

#none  /tmp                     tmpfs    size=16m,mode=1777   0 0

none     /dev/pts             devpts  gid=5,mode=620                             0 0

#/data/storage/160GB 1 /data/storage/160GB 1 bind bind,rw 0 0

#/data/storage/120GB 1 /data/storage/120GB 1 bind bind,rw 0 0

/data/storage/750Gb 1 /data/storage/750Gb 1 bind bind,rw 0 0

/data/storage/1000Gb 1 /data/storage/1000Gb 1 bind bind,rw 0 0