|
Re: smbfs/ cifs inside VE [message #5001 is a reply to message #4994] |
Tue, 08 August 2006 05:29 |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
smbfs/cifs isn't virtualized now,
you can't use it inside VE.
All available in VE filesystems resides in /proc/filestystems
file inside VE.
You can do the following to make smb shares available in VE:
On HOST (!):
mount -t cifs //192.168.1.30/test /mn
mount --bind /mn /vz/root/101/mn
After that you can see contents of //192.168.1.30/test
inside VE in /mn directory.
You can automate this process using 101.mount and 101.umount
scripts in conf directory of OpenVZ.
HTH,
vass.
[Updated on: Tue, 08 August 2006 05:30] Report message to a moderator
|
|
|
|
|
|
|
Re: smbfs/ cifs inside VE [message #15244 is a reply to message #15183] |
Tue, 24 July 2007 05:57 |
Vasily Tarasov
Messages: 1345 Registered: January 2006
|
Senior Member |
|
|
Hello,
if you use vzctl from RPM, <veid>.mount and <veid>.umount files reside in /etc/vz/conf/ directory. BTW, <veid>.umount scripts are not very necessary: everything will be umounted automatically on VE stop. But you should mount with -n option in mount sctipt then...
HTH,
Vasily
|
|
|