Le Jeudi 1 Septembre 2005 17:28, Nicolas Costes a écrit : > 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 ;-)
host# cat /etc/vservers/filesv/bcapabilities CHOWN DAC_OVERRIDE DAC_READ_SEARCH FOWNER FSETID KILL SETGID SETUID SETPCAP LINUX_IMMUTABLE NET_BIND_SERVICE NET_BROADCAST NET_ADMIN NET_RAW IPC_LOCK IPC_OWNER SYS_MODULE SYS_RAWIO SYS_CHROOT SYS_PTRACE SYS_PACCT SYS_ADMIN SYS_BOOT SYS_NICE SYS_RESOURCE SYS_TIME SYS_TTY_CONFIG MKNOD LEASE AUDIT_WRITE AUDIT_CONTROL host# vserver filesv restart host# vserver filesv enter filesv# mount /home filesv# ls -l /home dir1 dir2... Ok... [Sadly, netatalk still doesn't start, but it's another thread ;-)) filesv# df -h /dev/hdv1 996M 536M 461M 54% / none 16M 0 16M 0% /tmp /dev/volume1-filesv--home 12G 1,3M 12G 1% /home /dev/volume1-filesv--Proj 12G 416K 12G 1% /home/Projects Ha ! filesv# setquota someone 100000 120000 0 0 /home setquota: Mountpoint (or device) /home not found. setquota: Not all specified mountpoints are using quota. Huh ? Theses tests are very interesting to discover vservers, but I guess i'm going nowhere: I will have to either leave quotas, or do it in the host. Anyway, I'm learning something here ;-) -- ,, (°> 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
pgpXHdHCUezmF.pgp
Description: PGP signature
_______________________________________________ Vserver mailing list [email protected] http://list.linux-vserver.org/mailman/listinfo/vserver
