tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Thierry CHICH <chich () custsv ! univ-bpclermont ! fr>
To: tru64-unix-managers
Subject: SUMMARY: Why my partition is smaller than I expect
Date: Thu, 11 Jan 2001 10:35:38 +0000	[thread overview]
Message-ID: <97920940207972.tru64-unix-managers.marc@archive.invalid> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 3866 bytes --]


I want to thanks 
Pat O'Brien
Kjell Andresen
Sean O'Connel
and Peter Stern.

The answer was giving by Sean and Peter. As I promised, I am gratefull.

-----------------------------------------------------
$ showfdmn  tmp_domain        

               Id              Date Created  LogPgs  Version  Domain Name
3a3a3798.000c8280  Fri Dec 15 16:24:08 2000     512        4  tmp_domain

  Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name 
   1L     262144      253616      3%     on    256    256  /dev/disk/dsk1a
---------------------------------------------------------
$showfsets -k tmp_domain
tmp
        Id           : 3a3a3798.000c8280.1.8001
        Files        :        4,  SLim=        0,  HLim=        0
        Blocks  (1k) :       16,  SLim=    45875,  HLim=    65536
        Quota Status : user=off group=off 
------------------------------------------------------

Then, I just have to change the quotas on the fileset by chfset
------------------------------------------------------
$chfsets -b 0 tmp_domain
tmp
        Id           : 3a3a3798.000c8280.1.8001
        Block H Limit: 65536 --> 0
------------------------------------------------------
$ showfsets -k tmp_domain
tmp
        Id           : 3a3a3798.000c8280.1.8001
        Files        :        4,  SLim=        0,  HLim=        0
        Blocks  (1k) :       16,  SLim=        0,  HLim=        0
        Quota Status : user=off group=off 
-------------------------------------------------------
And then
$ df -k /tmp2
Filesystem     1024-blocks        Used   Available Capacity  Mounted on
tmp_domain#tmp      131072          16      126808     1%    /tmp2

And it is great. 
I recall the initial post.


Hello,

I have a little problem with one of the partitions of my 2nd disk: I have 
done a small partition in order to use it as a /tmp. I had used diskconfig to 
do it , and, as one could expect:
------------------------------------
# disklabel dsk1a
# /dev/rdisk/dsk1a:
type: SCSI
disk: BD009122C6
label: 
flags:
bytes/sector: 512
sectors/track: 168
tracks/cylinder: 20
sectors/cylinder: 3360
cylinders: 5273
sectors/track: 168
tracks/cylinder: 20
sectors/cylinder: 3360
cylinders: 5273
sectors/unit: 17773524
rpm: 10025
interleave: 1
trackskew: 71
cylinderskew: 106
headswitch: 0 � � � � � # milliseconds
track-to-track seek: 0 �# milliseconds
drivedata: 0 
8 partitions:
# �size � offset � �fstype � [fsize bsize � cpg] � � �# NOTE: values not exact
a: �262144 � � �0 � � AdvFS � � � � � � � � � � � � � �# (Cyl. � �0 - 78*)
b: �8435774 �262144 � � AdvFS � � � � � � � � � � � � � �# (Cyl. � 78*- 2588*)
c: �17773524 � � 0 � �unused � � � �0 � � 0 � � � � � � # (Cyl. � �0 - 5289*)
d: � 2490510 9829967 � �unused �0 � � 0 � � � � � � # (Cyl. 2925*- 3666*)
e: � 458000 �12320477 � unused � 0 � � 0 � � � � � � # (Cyl. 3666*- 3803*)
f: � 1391015 12816542 � unused � �0 � �0 � � � � � � # (Cyl. 3814*- 4228*)
g: �1433600 14207557 � unused � � 1024 �8192 � � � � � � # (Cyl. 4228*- 4655*)
h: � 2132367 15641157 � unused � � �0 � � 0 � � � � � � # (Cyl. 4655*- 5289*)
--------------------------------------------------------

Note that dsk1a is 262144 blocks. 
But :
--------------------------------------------------------
# df -k /tmp2
Filesystem � � 1024-blocks � � � �Used � Available Capacity �Mounted on
tmp_domain#tmp � � � 45875 � � � � �16 � � � 45859 � � 1% � �/tmp2
--------------------------------------------------------

So, if someone knows why /tmp2 is not 128 Mo as diskconfig is claiming it 
does, I would be thankful.

Thierry Chich

                 reply	other threads:[~2001-01-11 10:35 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox