[Users] VPS on NFS?
Thomas Gautier
thomas at hooste.com
Thu Jan 29 09:17:23 EST 2009
I have the exact same problem using CentOS5 + GFS on a clustered iSCSI
SAN storage. I have 4 server nodes running CentOS5 + vz.
The VE_ROOT and VE_PRIVATE folders are on the shared storage. Whenever
I boot a container stored on the SAN I don't have any networking at
all. But if i copy the files from the SAN to the local disk on a node
and launch the container, it works.
Any idea on the problem would really be appreciated,
Thomas Gautier.
On 26 janv. 09, at 15:57, Thomas Rasch wrote:
> Hello,
>
> I currently try to run a VPS from a NFS share, but I have some
> problems. First, when I try to enter a newly created VE (Gentoo,
> btw.), it fails:
>
> test1 dev # vzctl enter 101
> enter into VE 101 failed
> Unable to open pty: No such device
>
> When I copy this same VPS from the NFS server to a local disk and
> start it from there, it works as it should:
>
> test1 dev # vzctl enter 101
> entered into VE 101
>
> I already tried all the hints from the mailing list that I could
> find, i.e. running MAKEDEV to recreate missing devices, but the only
> command that actually works is
>
> # vzctl exec 101 mount -t devpts devpts /dev/pts
>
> After that, I can enter into the VE. It does not work when I put
> this line into /etc/fstab and restart the VE:
> none /dev/pts devpts mode=0620,gid=5 0 0
>
> Same as above...
>
> Also, when I mount devpts and enter the VE, "df" does not work:
> test / # df -h
> df: `/': No such device
> df: `/usr/portage': No such device
> df: no file systems processed
>
> Does anyone have any hints on how to proceed? Is anyone actually
> running VEs from a NFS share?
>
> Thanks for any help,
>
> Thomas
>
> _______________________________________________
> Users mailing list
> Users at openvz.org
> https://openvz.org/mailman/listinfo/users
More information about the Users
mailing list