On Friday, January 13, 2012, Zi Loff <[email protected]> wrote: > Hi > > If I added it up correctly, you don't have any unused space on your disk. > As stated on the FAQ (4.6.4) > "c" on all disks is the "whole disk" partition, it is used by programs that > have to have raw access to the physical disk, such as fdisk(8) and > disklabel(8). > > So, although disklabel says it is 'unused', it really isn't free space... > I guess you need a new HDD.... > > > > On Jan 13, 2012, at 11:40 AM, lilit-aibolit wrote: > >> Hi misc. Here is newbee question. >> I have disk with unused space: >> >> # disklabel -p g wd0 >> 16 partitions: >> # size offset fstype [fsize bsize cpg] >> a: 1.0G 63 4.2BSD 2048 16384 1 # / >> b: 1.2G 2097215 swap >> c: 37.3G 0 unused >> d: 2.6G 4683375 4.2BSD 2048 16384 1 # /tmp >> e: 4.0G 10052439 4.2BSD 2048 16384 1 # /var >> f: 2.0G 18541648 4.2BSD 2048 16384 1 # /usr >> g: 1.0G 22735952 4.2BSD 2048 16384 1 # /usr/X11R6 >> h: 3.5G 24833104 4.2BSD 2048 16384 1 # /usr/local >> i: 1.9G 32229473 4.2BSD 2048 16384 1 # /usr/src >> j: 1.9G 36247864 4.2BSD 2048 16384 1 # /usr/obj >> k: 18.1G 40266255 4.2BSD 2048 16384 1 # /home >> >> >> and I have /var with ending space: >> >> # df -h >> Filesystem Size Used Avail Capacity Mounted on >> /dev/wd0a 1005M 206M 749M 22% / >> /dev/wd0k 17.8G 411M 16.5G 2% /home >> /dev/wd0d 2.5G 6.0K 2.4G 0% /tmp >> /dev/wd0f 2.0G 927M 985M 48% /usr >> /dev/wd0g 1005M 167M 787M 18% /usr/X11R6 >> /dev/wd0h 3.5G 280M 3.0G 8% /usr/local >> /dev/wd0j 1.9G 993M 841M 54% /usr/obj >> /dev/wd0i 1.9G 790M 1.0G 43% /usr/src >> /dev/wd0e 4.0G 3.4G 376M 90% /var >> >> In /var I store some sites for apache and need more space for it. >> How can I use unused space for /var or it will be used automatically when > /var reaches capacity 100%? > >
-- Cheers!!

