*SOLVED* mount --bind problem [message #5183] |
Wed, 16 August 2006 12:48 |
ildar
Messages: 4 Registered: August 2006
|
Junior Member |
|
|
Hello,
I've got a problem using mount --bind. I cannot see bind mounted folder from within VE.
How to reproduce:
host# mount --bind /vps/v1/etc /vps/v1/mnt
host# ls /vps/v1/mnt
as expected, shows contents of /vps/v1/etc
host# vzctl exec 1001 ls /mnt
shows something different (cdrom floppy)
the same
Additional information:
# vzctl exec 1001 cat /proc/mounts
simfs / simfs rw 0 0
proc /proc proc rw 0 0
devpts /dev/pts devpts rw 0 0
Versions: vzctl-3.0.10-alt5, kernel-image-ovz-smp-2.6.16-alt4 (contains kernel-feat-core-openvz-026test015-alt1)
Any ideas?
Thanks.
Ildar
[Updated on: Thu, 17 August 2006 07:38] by Moderator Report message to a moderator
|
|
|
|
|
|
Re: mount --bind problem [message #5251 is a reply to message #5248] |
Thu, 17 August 2006 07:24 |
ildar
Messages: 4 Registered: August 2006
|
Junior Member |
|
|
Quote: | ildar wrote on Wed, 16 August 2006 23:58
Quote: |
Quote: | /vps/v1 is 'private' or 'root' VPS directory?
|
Yes
|
Yes what? Private or root?
|
That's the answer. The root problem was - I didn't deeply understand, what the private and root is.
Thank you. The problem is solved.
Ildar.
|
|
|