OpenVZ Forum


Home » General » Support » Disk Quota Not Showing
Re: Disk Quota Not Showing [message #170 is a reply to message #101] Sun, 25 September 2005 23:57 Go to previous messageGo to previous message
rpatrick is currently offline  rpatrick
Messages: 3
Registered: September 2005
Junior Member
After creating a CentOS-4 VPS by following the steps outlined in the PDF userguide, mtab was a regular file with this content:

none /dev/pts devpts rw 0 0

We don't get df output with that, so removing that file and creating the symlink fixes things up.

rm -f /etc/mtab
ln -s /proc/mounts /etc/mtab

Once the symlink is created, df from inside the VPS correctly displays the amount of disk space free.

Example:

[root@vps ~]# df -h
Filesystem Size Used Avail Use% Mounted on
simfs 1.0G 413M 612M 41% /

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SIOCADDRT: No such device -- when adding IP's
Next Topic: laptop support
Goto Forum:
  


Current Time: Wed Jul 30 06:06:39 GMT 2025

Total time taken to generate the page: 0.04000 seconds