From: Ildar Mulyukov <ildar@altlinux.ru> To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org> Subject: Re: [Sysadmins] OpenVZ bind mount alt-specific bug? Date: Wed, 16 Aug 2006 12:31:55 +0600 Message-ID: <1155709915l.11242l.0l@ildar.nexttel.kz> (raw) 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) On 15.08.2006 19:23:28, Konstantin A. Lepikhov wrote: > <цитата от="Ildar Mulyukov"> > > Приветствую, > > рыская по OpenVZ.org в поисках решения своей проблемы обнаружил, что > > много советуют пользоваться mount --bind. Из этого я заключил, что > > данная возможность работает. Однако на alt-ядрах это сделать мне не > > удалось. > а у меня все показывает как надо: > [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=19) > devpts on /dev/pts type devpts (rw,gid=5,mode=620) > ... > /var/ftp on /var/lib/vz/root/1004/var/ftp type none (rw,bind) > > в /etc/vz/vps.mount написано след: > #!/bin/bash > > [ -f /etc/sysconfig/vz ] || exit 1 > [ -f "$VE_CONFFILE" ] || exit 1 > > . /etc/sysconfig/vz > . "$VE_CONFFILE" > > /bin/mkdir -p "$VE_ROOT"/var/ftp ||: > /bin/mount --bind /var/ftp "$VE_ROOT"/var/ftp Ага, уже интереснее. Что бы это значило? [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=19) devpts on /dev/pts type devpts (rw,gid=5,mode=620) [root@media root]# vzctl exec 1001 df Filesystem 1K-blocks Used Available Use% Mounted on ? С уважением, -- Ildar Mulyukov, free SW designer/programmer/packager ========================================= email: ildar@altlinux.ru ALT Linux Sisyphus http://www.sisyphus.ru =========================================
next prev parent reply other threads:[~2006-08-16 6:31 UTC|newest] Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top 2006-08-15 13:05 Ildar Mulyukov 2006-08-15 13:23 ` Konstantin A. Lepikhov 2006-08-16 6:31 ` Ildar Mulyukov [this message] 2006-08-16 8:10 ` Slava Dubrovskiy 2006-08-16 8:12 ` Konstantin A. Lepikhov 2006-08-16 9:59 ` Ildar Mulyukov 2006-09-01 15:05 ` Slava Dubrovskiy 2006-09-02 7:03 ` Ildar Mulyukov 2006-09-04 7:35 ` Slava Dubrovskiy 2006-09-04 7:43 ` Ildar Mulyukov 2006-09-04 8:04 ` Slava Dubrovskiy 2006-08-17 7:30 ` Ildar Mulyukov
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=1155709915l.11242l.0l@ildar.nexttel.kz \ --to=ildar@altlinux.ru \ --cc=sysadmins@lists.altlinux.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux sysadmins discussion This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \ sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com public-inbox-index sysadmins Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.sysadmins AGPL code for this site: git clone https://public-inbox.org/public-inbox.git