* Only 7.8GB of 9.1GB disk available.
@ 1999-09-13 4:00 jasperh
1999-09-13 4:00 ` Peter da Silva
1999-09-13 4:00 ` Richard Eckman
0 siblings, 2 replies; 4+ messages in thread
From: jasperh @ 1999-09-13 4:00 UTC (permalink / raw)
Hi,
I have installed a 9.1GB Quantun AtlasIV Disk in my AlphaStation 200 4/100
(running DecUnix 3.2c), but it seems to me that only 7.8GB is available to
the system. Is this normal for this type disk on this system??
The commands I used (with output), during the config of the disk, follows:
$ disklabel -rw /dev/rrz3c rzxx
$
$ disklabel -r rz3
# /dev/rrz3a:
type: SCSI
disk: RZxx
label:
flags: dynamic_geometry
bytes/sector: 512
sectors/track: 324
tracks/cylinder: 4
sectors/cylinder: 1296
cylinders: 13816
sectors/unit: 17942584
rpm: 3600
interleave: 1
trackskew: 0
cylinderskew: 0
headswitch: 0 # milliseconds
track-to-track seek: 0 # milliseconds
drivedata: 0
8 partitions:
# size offset fstype [fsize bsize cpg]
a: 131072 0 unused 0 0 # (Cyl. 0 - 101*)
b: 262144 131072 unused 0 0 # (Cyl. 101*- 303*)
c: 17942584 0 unused 0 0 # (Cyl. 0 -
13844*)
d: 0 0 unused 0 0 # (Cyl. 0 - -1)
e: 0 0 unused 0 0 # (Cyl. 0 - -1)
f: 0 0 unused 0 0 # (Cyl. 0 - -1)
g: 17549368 393216 unused 0 0 # (Cyl. 303*-
13844*)
h: 0 0 unused 0 0 # (Cyl. 0 - -1)
$
$
$ newfs rz3c
Warning: 536 sector(s) in last cylinder unallocated
/dev/rrz3c: 17942584 sectors in 13845 cylinders of 4 tracks, 324 sectors
9186.6MB in 866 cyl groups (16 c/g, 10.62MB/g, 2432 i/g)
super-block backups (for fsck -b #) at:
32, 21104, 42176, 63248, 82976, 104048, 125120, 146192, 165920,
186992, 208064, 229136, 248864, 269936, 291008, 312080, 331808, 352880,
373952, 395024, 414752, 435824, 456896, 477968, 497696, 518768, 539840,
560912, 580640, 601712, 622784, 643856, 663584, 684656, 705728, 726800,
746528, 767600, 788672, 809744, 829472, 850544, 871616, 892688, 912416,
933488,. . . . . .etc. . . .
$ df -k
Filesystem 1024-blocks Used Avail Capacity Mounted on
/dev/rz0a 63231 50748 6159 89% /
/proc 0 0 0 100%
/proc
/dev/rz0g 801763 703719 17867 98% /usr
/dev/rz2c 2046749 748018 1094056 41% /usr2
/dev/rz3c 8694142 1 7824726 0% /usr3
$
Many thanks!!
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Only 7.8GB of 9.1GB disk available.
1999-09-13 4:00 Only 7.8GB of 9.1GB disk available jasperh
1999-09-13 4:00 ` Peter da Silva
@ 1999-09-13 4:00 ` Richard Eckman
1 sibling, 0 replies; 4+ messages in thread
From: Richard Eckman @ 1999-09-13 4:00 UTC (permalink / raw)
I believe that, by default, UFS file systems on the DEC Alpha reserve
10% of their space. You can see this with a "dumpfs /dev/rrz3c" command.
Look for "minfree" near the top of the page. This will probably read
10%. Use the tunefs command to change this value. I typically use 1% on
disks bigger than 9GB. From past comments from Compaq/DEC people, this
value is probably reasonable for a multi-GB modern disk.
Richard Eckman
NASA Langley Research Center
Hampton, VA
jasperh <jasperh@debis.co.za> wrote in message
news:7rio1r$fgq$1@news.is.co.za...
> Hi,
>
> I have installed a 9.1GB Quantun AtlasIV Disk in my AlphaStation 200
4/100
> (running DecUnix 3.2c), but it seems to me that only 7.8GB is
available to
> the system. Is this normal for this type disk on this system??
>
> The commands I used (with output), during the config of the disk,
follows:
>
> $ disklabel -rw /dev/rrz3c rzxx
> $
> $ disklabel -r rz3
> # /dev/rrz3a:
> type: SCSI
> disk: RZxx
> label:
> flags: dynamic_geometry
> bytes/sector: 512
> sectors/track: 324
> tracks/cylinder: 4
> sectors/cylinder: 1296
> cylinders: 13816
> sectors/unit: 17942584
> rpm: 3600
> interleave: 1
> trackskew: 0
> cylinderskew: 0
> headswitch: 0 # milliseconds
> track-to-track seek: 0 # milliseconds
> drivedata: 0
>
> 8 partitions:
> # size offset fstype [fsize bsize cpg]
> a: 131072 0 unused 0 0 # (Cyl. 0 -
101*)
> b: 262144 131072 unused 0 0 # (Cyl. 101*-
303*)
> c: 17942584 0 unused 0 0 # (Cyl. 0 -
> 13844*)
> d: 0 0 unused 0 0 # (Cyl.
0 - -1)
>
> e: 0 0 unused 0 0 # (Cyl.
0 - -1)
> f: 0 0 unused 0 0 # (Cyl.
0 - -1)
> g: 17549368 393216 unused 0 0 # (Cyl. 303*-
> 13844*)
> h: 0 0 unused 0 0 # (Cyl. 0 -
-1)
> $
> $
> $ newfs rz3c
> Warning: 536 sector(s) in last cylinder unallocated
> /dev/rrz3c: 17942584 sectors in 13845 cylinders of 4 tracks, 324
sectors
> 9186.6MB in 866 cyl groups (16 c/g, 10.62MB/g, 2432 i/g)
> super-block backups (for fsck -b #) at:
> 32, 21104, 42176, 63248, 82976, 104048, 125120, 146192, 165920,
> 186992, 208064, 229136, 248864, 269936, 291008, 312080, 331808,
352880,
> 373952, 395024, 414752, 435824, 456896, 477968, 497696, 518768,
539840,
> 560912, 580640, 601712, 622784, 643856, 663584, 684656, 705728,
726800,
> 746528, 767600, 788672, 809744, 829472, 850544, 871616, 892688,
912416,
> 933488,. . . . . .etc. . . .
>
> $ df -k
> Filesystem 1024-blocks Used Avail Capacity Mounted on
> /dev/rz0a 63231 50748 6159 89% /
> /proc 0 0 0 100%
> /proc
> /dev/rz0g 801763 703719 17867 98% /usr
> /dev/rz2c 2046749 748018 1094056 41% /usr2
> /dev/rz3c 8694142 1 7824726 0% /usr3
> $
>
> Many thanks!!
>
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Only 7.8GB of 9.1GB disk available.
1999-09-13 4:00 Only 7.8GB of 9.1GB disk available jasperh
@ 1999-09-13 4:00 ` Peter da Silva
1999-09-13 4:00 ` Eric Werme - replace nospam with werme
1999-09-13 4:00 ` Richard Eckman
1 sibling, 1 reply; 4+ messages in thread
From: Peter da Silva @ 1999-09-13 4:00 UTC (permalink / raw)
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1769 bytes --]
In article <7rio1r$fgq$1@news.is.co.za>, jasperh <jasperh@debis.co.za> wrote:
> I have installed a 9.1GB Quantun AtlasIV Disk in my AlphaStation 200 4/100
> (running DecUnix 3.2c), but it seems to me that only 7.8GB is available to
> the system. Is this normal for this type disk on this system??
% man tunefs
tunefs(8) tunefs(8)
NAME
tunefs - Tunes an existing UFS file system
SYNOPSIS
/usr/sbin/tunefs [-a maxcontig] [-d rotdelay] [-e maxbpg] [-m minfree] [-o
optimization_preference] file_system
FLAGS
[...]
-m minfree
Specifies the percentage of space held back from normal users;
the minimum free space threshold. The default value used is 10%.
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 10%
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.
-o optimization_preference
The file system can either try to minimize the time spent allo-
cating blocks, or it can attempt to minimize the space fragmenta-
tion on the disk. If the value of minfree (see above) is less
than 10%, then the file system should optimize for space to avoid
running out of full sized blocks. For values of minfree greater
than or equal to 10%, fragmentation is unlikely to be
problematical, and the file system can be optimized for time.
[...]
--
In hoc signo hack, Peter da Silva <peter@baileynm.com>
`-_-' Ar rug t� barr�g ar do mhact�re inniu?
'U` << <KH> you did technical support for Hell ?
<susan> Didn't we all, in our youth? >:) >>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Only 7.8GB of 9.1GB disk available.
1999-09-13 4:00 ` Peter da Silva
@ 1999-09-13 4:00 ` Eric Werme - replace nospam with werme
0 siblings, 0 replies; 4+ messages in thread
From: Eric Werme - replace nospam with werme @ 1999-09-13 4:00 UTC (permalink / raw)
peter@abbnm.com (Peter da Silva) writes:
>In article <7rio1r$fgq$1@news.is.co.za>, jasperh <jasperh@debis.co.za> wrote:
>> I have installed a 9.1GB Quantun AtlasIV Disk in my AlphaStation 200 4/100
>> (running DecUnix 3.2c), but it seems to me that only 7.8GB is available to
>> the system. Is this normal for this type disk on this system??
>[...]
> -m minfree
> Specifies the percentage of space held back from normal users;
> the minimum free space threshold. The default value used is 10%.
> 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 10%
> 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.
The 10% reservation in UFS (btw, root can use it) is a remarkably simple
and effective technique to make fragmentation not be a problem.
On a real-life timesharing system, a flock of users that fills up your
new disk will fill it up even if you cut minfree back.
10% is leaves remarkably little fragmentation, cutting back to 5% may be
okay, but when the disk is full, UFS will search twice as far to find the
next chunk of available storage. (A gross simplification, but a handy
rule-of-thumb.)
This is true of UFS in general, not Tru64 in particular.
--
<> Eric (Ric) Werme <> The above is unlikely to contain <>
<> ROT-13 addresses: <> official claims or policies of <>
<> <jrezr@mx3.qrp.pbz> <> Compaq Computer Corp. <>
<> <jrezr@zrqvnbar.arg> <> http://people.ne.mediaone.net/werme <>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~1999-09-13 4:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-09-13 4:00 Only 7.8GB of 9.1GB disk available jasperh
1999-09-13 4:00 ` Peter da Silva
1999-09-13 4:00 ` Eric Werme - replace nospam with werme
1999-09-13 4:00 ` Richard Eckman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox