OpenVZ Forum


Home » General » Support » YUM Error CentOS Template
Re: YUM Error CentOS Template [message #169 is a reply to message #163] Sun, 25 September 2005 23:52 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
Previous Topic: FC 3 & 4 NIC and hotplug problem
Next Topic: OpenVZ and 2.4 kernel support for VPSes
Goto Forum:
  


Current Time: Mon Oct 13 22:51:43 GMT 2025

Total time taken to generate the page: 0.19219 seconds