Le Jeudi 1 Septembre 2005 14:20, Nicolas Costes a écrit : > I read the quota articles on the wiki, but nothing seems to apply to my > case. I'm thinking about a way to do it, but I don't know if that is > possible : > > - Deleting '/dev/mapper/volume1-filesv--home' and > '/dev/mapper/volume1-filesv--Proj' from the host's fstab > - Stopping the file vserver > - Unmount these 2 partitions > - Create /dev nodes for these 2 partitions INSIDE the file vserver > - Mount these /dev/nodes inside the file vserver (into '/home' and > '/home/proj') > - Try to set the quotas. > > Can this work ?
Oh dear.... [EMAIL PROTECTED] /]# ll /dev/volume1-filesv--* brw-r--r-- 1 root root 252, 8 sep 1 17:03 /dev/volume1-filesv--Proj brw-r--r-- 1 root root 252, 7 sep 1 17:03 /dev/volume1-filesv--home [EMAIL PROTECTED] /]# cat /etc/fstab /dev/volume1-filesv--home /home xfs defaults,quota 1 2 /dev/volume1-filesv--Proj /home/Projects xfs defaults,quota 1 2 [EMAIL PROTECTED] /]# mount /dev/hdv1 on / type ufs (defaults) none on /proc type proc (defaults) none on /tmp type tmpfs (size=16m,mode=1777) none on /dev/pts type devpts (gid=5,mode=620) [EMAIL PROTECTED] /]# mount /home/ mount: permission refusée (Permission denied) Ok, ok, I think I missed one of the basic concepts of linux-vserver ;-) -- ,, (°> Nicolas Costes /|\ IUT de La Roche / Yon ( ^ ) Clé publique: http://www.keyserver.net/ ^ ^ Musique libre: http://musique-legale.info/ - http://www.jamendo.com/?s=concept
pgpl7K6o9bFCV.pgp
Description: PGP signature
_______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
