SUMMARY: Why my partition is smaller than I expect

From: Thierry CHICH <chich_at_cust.univ-bpclermont.fr>
Date: Thu, 11 Jan 2001 11:35:38 +0100

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
Received on Thu Jan 11 2001 - 10:37:42 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT