On Wed, 28 Oct 2009 14:59:01 +0800 Jennifer Ma <jen.ma1...@gmail.com> wrote:
> hi all, lately, i obtained a seagate 200g(wd1) harddisk from my elder > brother, after i disklabel, newfs and mount the disk. only 174g is > shown as available, in windows(through samba), said 9.16g already been > used. is there any way i can claim those space back? much thanks! > > # disklabel wd1 > # /dev/rwd1c: > type: ESDI > disk: ESDI/IDE disk > label: ST3200826A > flags: > bytes/sector: 512 > sectors/track: 63 > tracks/cylinder: 16 > sectors/cylinder: 1008 > cylinders: 16383 > total sectors: 390721968 > rpm: 3600 > interleave: 1 > trackskew: 0 > cylinderskew: 0 > headswitch: 0 # microseconds > track-to-track seek: 0 # microseconds > drivedata: 0 > > 16 partitions: > # size offset fstype [fsize bsize cpg] > a: 390721905 63 4.2BSD 2048 16384 1 > c: 390721968 0 unused > > > # df -h > # Filesystem Size Used Avail Capacity Mounted on > /dev/wd0a 1.8G 1.4G 313M 82% / > /dev/wd1a 183G 2.0K 174G 0% /www01 newfs(8): -m free-space The percentage of space reserved from normal users; the mini- mum free space threshold. The default value used is 5%. See tunefs(8) for more details on how to set this option. tunefs(8): -m minfree This value specifies the percentage of space held back from nor- mal users; the minimum free space threshold. The default value is set during creation of the filesystem; see newfs(8). This value can be set to zero, however up to a factor of three in throughput will be lost over the performance obtained at a 5% threshold. Note that if the value is raised above the current usage level, users will be unable to allocate files until enough files have been deleted to get under the higher threshold. - Robert