Re: [Vserver] df -h output incorrect when using quotas
Hi vserver list, #du -sh 3,9G/home/vservers/services/ inside the guest: # df -h FilesystemSize Used Avail Use% Mounted on /dev/hdv1 6.0G 407M 5.3G 8% / none 1.0G 4.0K 1.0G 1% /tmp I am not really sure but that is how i find differences between su and df: Try # lsof -n | grep deleted inside the vhost. Alle files that are still open but deleted are not given to other processes and thus Used in df. But du states the space as not used. Hope it helps. Does the df an du commands on the other side report the same? I see you ran du from the host and df from the guest. What does du say from the guest and df from the host? Joerg ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] Re: quota problem
Hi, only as a remark. I have quota now working with 2.6.19.3 vs2.2.0-rc10 (I think rc10, it was 2 days ago i downloaded it). I think my issue was that /etc/mtab and /etc/fstab have to be correct. To get that i put them in /etc/vserver/name/apps/init/ (As far as i remember, only mail access ehre now). Regards, Joerg On Do, 8.02.2007, 06:55, Herbert Poetzl sagte: On Tue, Feb 06, 2007 at 08:55:11AM +0100, Jarek Dylag wrote: Hey, I still can't get quota working. I made some investigation and problem started after changes in namespace separation implementation made between: it is still on my (very long :)' todo list, and assumed everything goes as planned (it never does :) I will get to that tomorrow ... best, Herbert patch-2.6.19-vs2.1.x-t4.diff and patch-2.6.19-vs2.1.x-t7.diff Jarek Dylag ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
Re: [Vserver] vrsetup : No such device or address
Hi, Why such an old kernel? 2.1.1.7.1 is the latest release of the 2.1 branch, but you're really suggested to use 2.2.0-rc8.7... I found the 2.1 version is almost stable and thats what i wanted as the machine will go productive soon. Do you think the 2.2 version is stable in the same amount as 2.1 is? You _did_ enable vroot support in your kernel, and if you compiled it as a module, it _is_ loaded, right? i was too braindead to see the config option in block devices. Thanks for the fast reply. Will get back if i still get issues after a compile and load but i think thats it. Thanks a lot. Joerg ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver
[Vserver] vrsetup : No such device or address
Hi, i got an issuem with vrsetup to configure a block device to quota_ctl inside a vserver. I am using vs2.1.1-rc48 from linux-vserver.org on a vanilla kernel. I found the documentation on http://www.5dollarwhitebox.org/wiki/index.php/Howtos_Linux-Vserver_With_LVM_And_Quotas Unfortunately the --help documentation for vrsetup is poor and it lacks a manual. Any help is very welcome, maybe something is wrong with the versions. Maybe my setup is uncommon because my physical volume is located on a raid? [EMAIL PROTECTED]:/etc/vservers# vrsetup /dev/vroot/mail /dev/vgsystem/lvmail open(/dev/vroot/mail): No such device or address [EMAIL PROTECTED]:/etc/vservers# dpkg -l util-vserver Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Name Version Description +++-==-==- ii util-vserver 0.30.210-6 tools for Virtual private servers and context switching [EMAIL PROTECTED]:/etc/vservers# ls -la /dev/vroot/mail brw-r--r-- 1 root root 4, 1 2007-01-26 22:23 /dev/vroot/mail --- Logical volume --- LV Name/dev/vgsystem/lvmail VG Namevgsystem LV UUIDK2LEYz-T4H2-EWcN-seEO-1S7T-3Y4g-vp2U6l LV Write Accessread/write LV Status available # open 1 LV Size10.00 GB Current LE 2560 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:7 --- Physical volumes --- PV Name /dev/md1 PV UUID O4Tovy-gopw-OW9F-p0bn-xN0a-0fAa-OdjNBO PV Status allocatable Total PE / Free PE36673 / 12353 Thanks a lot, Joerg ___ Vserver mailing list Vserver@list.linux-vserver.org http://list.linux-vserver.org/mailman/listinfo/vserver