About this list Date view Thread view Subject view Author view Attachment view

From: Paul Sladen (vserver_at_paul.sladen.org)
Date: Wed 06 Nov 2002 - 19:14:32 GMT


On Wed, 6 Nov 2002 rrolfe_at_genpac.com wrote:

> [root_at_vserver:test /]mknod /dev/hdv1 b 1 1
> mknod: `/dev/hdv1': Operation not permitted

You have to create it from the *host-server*, within the vserver's chroot
filesystem space--one of the capabilities that vservers drop is the ability
to create device-nodes.

  host-server% cp -a /dev/sda42 /vservers/alpha/dev/hdv1

> So I created in the main server and placed it in the vserver's dev
> directory.. will that work?

Yes.
 
> ALSO to mention it in the /etc/mtab.. is that in the vserver? Or the
> main server?

You will have to mount it with `usrquota,grpquota' in the host-server.
[Re-]Mount it then copy the line from `host:/etc/mtab' into
`vserver:/etc/mtab' and change the mount-point (`/vservers/alpha/') to `/'.

You want a line (in `vserver:/etc/mtab') that looks like:

  /dev/hdv1 / ext3 rw,usrquota,grpquota 0 0

HTH,
        -Paul

-- 
Nottingham, GB


About this list Date view Thread view Subject view Author view Attachment view
[Next/Previous Months] [Main vserver Project Homepage] [Howto Subscribe/Unsubscribe] [Paul Sladen's vserver stuff]
Generated on Wed 06 Nov 2002 - 20:34:57 GMT by hypermail 2.1.3