System full- error

Hello ,need help again...
i´m usind freebsd 6.0 in vmware, when i tried to install Xorg i have a error: system full, i have made df and give me this:

freebsd.png


now i want to expand the ad0s1f for more 6Gb , but don't know how!
please help me thanks.
 
You should have a look at growfs(8), though personally I've never used it in the past.

The pre-condition in any case would be, that you have free space available on the disk, that is *immediately* following the current location of your 'f' partition, so that you can extend it, possibly involving enlarging the containing slice prior to extending the label/partition therein.

In any case a backup of all your data is *highly* recommended!

If the above pre-condition is met, you could either go the growfs way, or use the conventional approach, which would be:

  1. Backup your /usr filesystem to a temporary location providing enough space
  2. Modify your /etc/fstab to mount the /usr filesystem from the temporary location
  3. Reboot FreeBSD
  4. Make sure /usr is now mounted from the temporary location and that the 'f' partition is not mounted anymore
  5. If necessary, enlarge the disk slice using fdisk
  6. If necessary, enlarge the disk label using bsdlabel
  7. Extend the 'f' partion of your disk label using bsdlabel
  8. Create a new filesystem on the 'f' partition using newfs
  9. Mount the 'f' partion on /mnt
  10. Copy over your /usr filesystem to /mnt using dump/restore
  11. Modify your /etc/fstab again to mount /usr from your 'f' partition
  12. Reboot FreeBSD
  13. Make sure everything is properly in place again
 
It's easier to just stop the VM, add more diskspace to the virtual hd and reinstall from scratch.
 
ki_ko said:
Hello ,need help again...
i´m usind freebsd 6.0 in vmware, when i tried to install Xorg i have a error: system full, i have made df and give me this:

now i want to expand the ad0s1f for more 6Gb , but don't know how!
please help me thanks.

Xorg doesn't use 6GB. Building it may, since you have plenty of space on /var, set WRKDIRPREFIX=/var/obj in /etc/make.conf.

You can check this by:
du -sh /usr/obj/usr/ports
 
Have you checked to make sure that you have vmware tools for freebsd installed? I ran into this quite a bit when first trying to run it with vmware. Finally after figuring it out the first thing I do after installing the core system is to install the vmware tools package.

I can't remember the location, but a quick search on their site might pinpoint it.
 
Back
Top