From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Wed, 16 Aug 2006 12:31:55 +0600 From: Ildar Mulyukov To: ALT Linux sysadmin discuss References: <1155647124l.7166l.1l@ildar.nexttel.kz> <39705.127.0.0.1.1155648208.squirrel@mojo.unsafe.ru> In-Reply-To: <39705.127.0.0.1.1155648208.squirrel@mojo.unsafe.ru> (from lakostis-tNxsbRKtTnuHXe+LvDLADg@public.gmane.org on Tue Aug 15 19:23:28 2006) X-Mailer: Balsa 2.3.13 Message-Id: <1155709915l.11242l.0l@ildar.nexttel.kz> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-5; DelSp=Yes; Format=Flowed Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [Sysadmins] OpenVZ bind mount alt-specific bug? X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.7 Precedence: list Reply-To: ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Aug 2006 07:56:02 -0000 Archived-At: List-Archive: On 15.08.2006 19:23:28, Konstantin A. Lepikhov wrote: > <=E6=D8=E2=D0=E2=D0 =DE=E2=3D"Ildar Mulyukov"> > > =BF=E0=D8=D2=D5=E2=E1=E2=D2=E3=EE, > > =E0=EB=E1=DA=D0=EF =DF=DE OpenVZ.org =D2 =DF=DE=D8=E1=DA=D0=E5 =E0=D5= =E8=D5=DD=D8=EF =E1=D2=DE=D5=D9 =DF=E0=DE=D1=DB=D5=DC=EB =DE=D1=DD=D0=E0=E3= =D6=D8=DB, =E7=E2=DE > > =DC=DD=DE=D3=DE =E1=DE=D2=D5=E2=E3=EE=E2 =DF=DE=DB=EC=D7=DE=D2=D0=E2=EC= =E1=EF mount --bind. =B8=D7 =ED=E2=DE=D3=DE =EF =D7=D0=DA=DB=EE=E7=D8=DB, = =E7=E2=DE > > =D4=D0=DD=DD=D0=EF =D2=DE=D7=DC=DE=D6=DD=DE=E1=E2=EC =E0=D0=D1=DE=E2=D0= =D5=E2. =BE=D4=DD=D0=DA=DE =DD=D0 alt-=EF=D4=E0=D0=E5 =ED=E2=DE =E1=D4=D5= =DB=D0=E2=EC =DC=DD=D5 =DD=D5 > > =E3=D4=D0=DB=DE=E1=EC. > =D0 =E3 =DC=D5=DD=EF =D2=E1=D5 =DF=DE=DA=D0=D7=EB=D2=D0=D5=E2 =DA=D0=DA = =DD=D0=D4=DE: > [root@squid ~]# df -h > Filesystem Size Used Avail Use% Mounted on > simfs 1000M 143M 858M 15% / > ext3 99G 34G 60G 36% /var/ftp > [root@host ~]# mount > /dev/md1 on / type ext3 (rw) > proc on /proc type proc (rw,gid=3D19) > devpts on /dev/pts type devpts (rw,gid=3D5,mode=3D620) > ... > /var/ftp on /var/lib/vz/root/1004/var/ftp type none (rw,bind) >=20 > =D2 /etc/vz/vps.mount =DD=D0=DF=D8=E1=D0=DD=DE =E1=DB=D5=D4: > #!/bin/bash >=20 > [ -f /etc/sysconfig/vz ] || exit 1 > [ -f "$VE_CONFFILE" ] || exit 1 >=20 > . /etc/sysconfig/vz > . "$VE_CONFFILE" >=20 > /bin/mkdir -p "$VE_ROOT"/var/ftp ||: > /bin/mount --bind /var/ftp "$VE_ROOT"/var/ftp =B0=D3=D0, =E3=D6=D5 =D8=DD=E2=D5=E0=D5=E1=DD=D5=D5. =C7=E2=DE =D1=EB =ED= =E2=DE =D7=DD=D0=E7=D8=DB=DE? [root@media root]# vzctl exec 1001 cat /proc/mounts simfs / simfs rw 0 0 proc /proc proc rw 0 0 devpts /dev/pts devpts rw 0 0 [root@media root]# vzctl exec 1001 mount proc on /proc type proc (rw,gid=3D19) devpts on /dev/pts type devpts (rw,gid=3D5,mode=3D620) [root@media root]# vzctl exec 1001 df Filesystem 1K-blocks Used Available Use% Mounted on ? =C1 =E3=D2=D0=D6=D5=DD=D8=D5=DC, -- Ildar Mulyukov, free SW designer/programmer/packager =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D email: ildar@altlinux.ru ALT Linux Sisyphus http://www.sisyphus.ru =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D