Update: A simple question about Filesets

From: jgrijalba <jgrijalba_at_novasoft.es>
Date: Fri, 21 Sep 2001 14:18:51 +0200

Hi all,

        Thanks for your replies.

        Most of people tell me that i have to see the hard and soft limits or
quotas assigned to the domain.
        Then, I run : # showfsets -k usr_domain
        This ouput, really, show me that there is hard and soft blocks limits :

        usr
                Id : 3531ae60.00024cf5.1.8001
                Files : 25921, SLim= 0, HLim= 0
                Blocks (1k) : 892187, SLim= 1048576, HLim=
1048576
                Quota Status : user=off group=off

        That is, there was blocks limits of 1M.

        Then I run:

        # chfsets -B 0 -b 0 usr_domain.

        and I run again:

        # showfsets -k usr_domain

        the output is now:

        usr
                Id : 3531ae60.00024cf5.1.8001
                Files : 25921, SLim= 0, HLim= 0
                Blocks (1k) : 892187, SLim= 0, HLim= 0
                Quota Status : user=off group=off

        However, the output from df -k and showfdmn -k usr_domain still show me
that usr_domain only have 1 MB avaiblable:

        # df -k
        Filesystem 1024-blocks Used Available Capacity Mounted on
        --

        usr_domain#usr 1024000 892187 107544 90 % /usr

        --

        # showfdmn -k usr_domain

               Id Date Created LogPgs Domain Name
        3531ae60.00024cf5 Mon Apr 13 08:19:12 1998 512 usr_domain

          Vol 1K-Blks Free % Used Cmode Rblks Wblks Vol Name
           1L 1024000 107544 89% on 128 128
/dev/rz8g


        I also show the output from disklabel :

        # disklabel rz8

        # /dev/rrz8a:
        type: SCSI
        disk: RZ1CB-CS
        label:
        flags:
        bytes/sector: 512
        sectors/track: 113
        tracks/cylinder: 20
        sectors/cylinder: 2260
        cylinders: 3708
        sectors/unit: 8380080
        rpm: 7228
        interleave: 1
        trackskew: 40
        cylinderskew: 75
        headswitch: 0 # milliseconds
        track-to-track seek: 0 # milliseconds
        drivedata: 0

        8 partitions:
        # size offset fstype [fsize bsize cpg]
          a: 262144 0 AdvFS # (Cyl. 0 - 115*)
          b: 1572864 262144 swap # (Cyl. 115*- 811*)
          c: 8380080 0 unused 0 0 # (Cyl. 0 - 3707)
          d: 1 2 unused 0 0 # (Cyl. 0*- 0*)
          e: 0 0 unused 0 0 # (Cyl. 0 - -1)
          f: 1834667 6545413 AdvFS # (Cyl. 2896*- 3707)
          g: 4710405 1835008 AdvFS # (Cyl. 811*- 2896*)
          h: 0 0 unused 0 0 # (Cyl. 0 - -1)

        As you can see the size of rz8g is : 4710405 / 2 / 1024 = 2300 MB


        Tom told me that maybe someone increased the partition size after to assign
it to the fileset. Maybe this is the cause of the problem, I don' know if
someone did it :

        This is the reply from Tom:

        "If the size of the partition was smaller when the AdvFS domain that it
contains was created, and then someone increased the partition size,
that has NO EFFECT on the size of the domain. Since I can't tell if
that's what happened on your system, I can't tell you for sure that
that is the root cause of what you are seeing, but it's possible that
is what happened, especially if you are not the only person who ever
managed the system.

I believe that in a subsequent version of Tru64 UNIX (say, V5.1 or a
later release) there is logic in AdvFS to be able to grow a domain
on disk if one of the volumes is increased in size, without the need
to backup and restore the domain (or to at least remove the volume
from the domain and then add it back in, which would involve a lot
of data movement to get all the data off the volume). "

        Then, is there any way to know if someone changed the size of the partition
? Is there any history of this ?
        With my version of Tru64 UNIX ( 4.0D) , how exactly have I to correct the
situation ?

Thanks in advance,

        Jorge Grijalba
Received on Fri Sep 21 2001 - 12:14:35 NZST

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