Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Growing a file set
@ 2007-03-02 21:46 Adam
  2007-03-02 22:31 ` Bob Harris
  0 siblings, 1 reply; 9+ messages in thread
From: Adam @ 2007-03-02 21:46 UTC (permalink / raw)


I'm trying to grow a fileset, and I've added a new volume to the
domain:

> showfdmn raid6_dmn

               Id              Date Created  LogPgs  Version  Domain
Name
3be05228.00056fc7  Wed Oct 31 14:34:00 2001     512        4
raid6_dmn

  Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name
   1   426583552     7186000     98%     on    256    256  /dev/disk/
dsk9c
   2L  710972592     5634544     99%     on    256    256  /dev/disk/
dsk8c
   3   104857600   104855872      0%     on    256    256  /dev/disk/
dsk11c
      ----------  ----------  ------
      1242413744   117676416     91%

But I can't get my mount point to grow.  it sounds simple, but am I
missing a command to grow that /u2, or is it not possible?

> df -k /u2
Filesystem   1024-blocks        Used   Available Capacity  Mounted on
raid6_dmn#u2   568778072   559254636     9523436    99%    /u2

I tried this but it didn't help:

> mount -u -o extend raid6_dmn#u2 /u2
mount: Extending AdvFS file system...

Thanks in advance,
Adam



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Growing a file set
  2007-03-02 21:46 Growing a file set Adam
@ 2007-03-02 22:31 ` Bob Harris
  2007-03-03  0:55   ` Adam
  0 siblings, 1 reply; 9+ messages in thread
From: Bob Harris @ 2007-03-02 22:31 UTC (permalink / raw)


In article 
<1172871963.608343.83690@p10g2000cwp.googlegroups.com>,
 "Adam" <aardis1@gmail.com> wrote:

> I'm trying to grow a fileset, and I've added a new volume to the
> domain:
> 
> > showfdmn raid6_dmn
> 
>                Id              Date Created  LogPgs  Version  Domain
> Name
> 3be05228.00056fc7  Wed Oct 31 14:34:00 2001     512        4
> raid6_dmn
> 
>   Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name
>    1   426583552     7186000     98%     on    256    256  /dev/disk/
> dsk9c
>    2L  710972592     5634544     99%     on    256    256  /dev/disk/
> dsk8c
>    3   104857600   104855872      0%     on    256    256  /dev/disk/
> dsk11c
>       ----------  ----------  ------
>       1242413744   117676416     91%
> 
> But I can't get my mount point to grow.  it sounds simple, but am I
> missing a command to grow that /u2, or is it not possible?
> 
> > df -k /u2
> Filesystem   1024-blocks        Used   Available Capacity  Mounted on
> raid6_dmn#u2   568778072   559254636     9523436    99%    /u2
> 
> I tried this but it didn't help:
> 
> > mount -u -o extend raid6_dmn#u2 /u2
> mount: Extending AdvFS file system...
> 
> Thanks in advance,
> Adam

Do you have fileset quotas enabled on u2 ?

You might want to run a quotacheck against fileset u2.  Some of 
the df information for fileset u2 is maintained by the quota 
files, and if they get out of sync, this could lead to wrong 
results.

                                        Bob Harris


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Growing a file set
  2007-03-02 22:31 ` Bob Harris
@ 2007-03-03  0:55   ` Adam
  2007-03-03  1:41     ` Bob Harris
  2007-03-03  1:52     ` Bob Harris
  0 siblings, 2 replies; 9+ messages in thread
From: Adam @ 2007-03-03  0:55 UTC (permalink / raw)


>
> Do you have fileset quotas enabled on u2 ?
>
> You might want to run a quotacheck against fileset u2.  Some of
> the df information for fileset u2 is maintained by the quota
> files, and if they get out of sync, this could lead to wrong
> results.
>
>                                         Bob Harris

I ran quotacheck -v /u2, didn't come back with anything.  Notice the
capacity is the same, but now in the showfdmn it's actually using some
of the new volume.  I've got to me missing something, i thought the
mount extend was supposed to make it work.

> repquota /u2
                                            Block
limits                                 File limits
User                        used                soft
hard  grace    used  soft  hard  grace
root      --                  40                   0
0              5     0     0
oracle    --           364062706                   0
0           9043     0     0
81270     --              124513                   0
0              2     0     0
eprom     --           179219652                   0
0          19174     0     0
777       --                   8                   0
0              1     0     0

> quotacheck -v /u2
*** Checking user and group quotas for raid6_dmn#u2 (/u2)

> showfdmn raid6_dmn

               Id              Date Created  LogPgs  Version  Domain
Name
3be05228.00056fc7  Wed Oct 31 14:34:00 2001     512        4
raid6_dmn

  Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name
   1   426583552    23311344     95%     on    256    256  /dev/disk/
dsk9c
   2L  710972592    28529552     96%     on    256    256  /dev/disk/
dsk8c
   3   104857600   103672448      1%     on    256    256  /dev/disk/
dsk11c
      ----------  ----------  ------
      1242413744   155513344     87%

> mount -u -o extend raid6_dmn#u2 /u2
mount: Extending AdvFS file system...
> df -k /u2
Filesystem   1024-blocks        Used   Available Capacity  Mounted on
raid6_dmn#u2   568778072   543406919    25371153    96%    /u2




^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Growing a file set
  2007-03-03  0:55   ` Adam
@ 2007-03-03  1:41     ` Bob Harris
  2007-03-03  1:52     ` Bob Harris
  1 sibling, 0 replies; 9+ messages in thread
From: Bob Harris @ 2007-03-03  1:41 UTC (permalink / raw)


In article 
<1172883304.991098.243850@n33g2000cwc.googlegroups.com>,
 "Adam" <aardis1@gmail.com> wrote:

> >
> > Do you have fileset quotas enabled on u2 ?
> >
> > You might want to run a quotacheck against fileset u2.  Some of
> > the df information for fileset u2 is maintained by the quota
> > files, and if they get out of sync, this could lead to wrong
> > results.
> >
> >                                         Bob Harris
> 
> I ran quotacheck -v /u2, didn't come back with anything.  Notice the
> capacity is the same, but now in the showfdmn it's actually using some
> of the new volume.  I've got to me missing something, i thought the
> mount extend was supposed to make it work.
> 
> > repquota /u2
>                                             Block
> limits                                 File limits
> User                        used                soft
> hard  grace    used  soft  hard  grace
> root      --                  40                   0
> 0              5     0     0
> oracle    --           364062706                   0
> 0           9043     0     0
> 81270     --              124513                   0
> 0              2     0     0
> eprom     --           179219652                   0
> 0          19174     0     0
> 777       --                   8                   0
> 0              1     0     0
> 
> > quotacheck -v /u2
> *** Checking user and group quotas for raid6_dmn#u2 (/u2)
> 
> > showfdmn raid6_dmn
> 
>                Id              Date Created  LogPgs  Version  Domain
> Name
> 3be05228.00056fc7  Wed Oct 31 14:34:00 2001     512        4
> raid6_dmn
> 
>   Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name
>    1   426583552    23311344     95%     on    256    256  /dev/disk/
> dsk9c
>    2L  710972592    28529552     96%     on    256    256  /dev/disk/
> dsk8c
>    3   104857600   103672448      1%     on    256    256  /dev/disk/
> dsk11c
>       ----------  ----------  ------
>       1242413744   155513344     87%
> 
> > mount -u -o extend raid6_dmn#u2 /u2
> mount: Extending AdvFS file system...
> > df -k /u2
> Filesystem   1024-blocks        Used   Available Capacity  Mounted on
> raid6_dmn#u2   568778072   543406919    25371153    96%    /u2

Fileset quotas are an AdvFS feature.  You can see them with the 
showfset command, not repquota.

What does showfset say?

                                        Bob Harris


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Growing a file set
  2007-03-03  0:55   ` Adam
  2007-03-03  1:41     ` Bob Harris
@ 2007-03-03  1:52     ` Bob Harris
  2007-03-03  2:53       ` Adam
  1 sibling, 1 reply; 9+ messages in thread
From: Bob Harris @ 2007-03-03  1:52 UTC (permalink / raw)


In article 
<1172883304.991098.243850@n33g2000cwc.googlegroups.com>,
 "Adam" <aardis1@gmail.com> wrote:

> >
> > Do you have fileset quotas enabled on u2 ?
> >
> > You might want to run a quotacheck against fileset u2.  Some of
> > the df information for fileset u2 is maintained by the quota
> > files, and if they get out of sync, this could lead to wrong
> > results.
> >
> >                                         Bob Harris
> 
> I ran quotacheck -v /u2, didn't come back with anything.  Notice the
> capacity is the same, but now in the showfdmn it's actually using some
> of the new volume.  I've got to me missing something, i thought the
> mount extend was supposed to make it work.
> 
> > repquota /u2
>                                             Block
> limits                                 File limits
> User                        used                soft
> hard  grace    used  soft  hard  grace
> root      --                  40                   0
> 0              5     0     0
> oracle    --           364062706                   0
> 0           9043     0     0
> 81270     --              124513                   0
> 0              2     0     0
> eprom     --           179219652                   0
> 0          19174     0     0
> 777       --                   8                   0
> 0              1     0     0
> 
> > quotacheck -v /u2
> *** Checking user and group quotas for raid6_dmn#u2 (/u2)
> 
> > showfdmn raid6_dmn
> 
>                Id              Date Created  LogPgs  Version  Domain
> Name
> 3be05228.00056fc7  Wed Oct 31 14:34:00 2001     512        4
> raid6_dmn
> 
>   Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name
>    1   426583552    23311344     95%     on    256    256  /dev/disk/
> dsk9c
>    2L  710972592    28529552     96%     on    256    256  /dev/disk/
> dsk8c
>    3   104857600   103672448      1%     on    256    256  /dev/disk/
> dsk11c
>       ----------  ----------  ------
>       1242413744   155513344     87%
> 
> > mount -u -o extend raid6_dmn#u2 /u2
> mount: Extending AdvFS file system...
> > df -k /u2
> Filesystem   1024-blocks        Used   Available Capacity  Mounted on
> raid6_dmn#u2   568778072   543406919    25371153    96%    /u2

mount -o extend has nothing to do with addvol.  The extend feature 
was implemented to allow an existing volume to be increased in 
size, as in a SAN or RAID controller increasing the size of an 
individual LUN.

Doing an addvol should just increase the amount of storage 
available in the domain right away.  No need to do anything else.

However if fileset quotas are in place, then the fileset will be 
limited on the amount of storage in the domain it is allowed to 
use.  Remember a domain may contain multiple filesets, and fileset 
quotas are a way to make sure that a some or all of the filesets 
sharing a domain do not use all the space.
<http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/AR
H96DTE/TITLE.HTM>

                                        Bob Harris

                                        Bob Harris


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Growing a file set
  2007-03-03  1:52     ` Bob Harris
@ 2007-03-03  2:53       ` Adam
  2007-03-03  3:11         ` Chris Adams
  0 siblings, 1 reply; 9+ messages in thread
From: Adam @ 2007-03-03  2:53 UTC (permalink / raw)


>
> However if fileset quotas are in place, then the fileset will be
> limited on the amount of storage in the domain it is allowed to
> use.  Remember a domain may contain multiple filesets, and fileset
> quotas are a way to make sure that a some or all of the filesets
> sharing a domain do not use all the space.
> <http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/AR
> H96DTE/TITLE.HTM>
>
>                                         Bob Harris

Thanks for your reply.  If I read this right, there are no quotas
set.  If it's not quotas and I added the volume to the domain, what
else can it be that /u2 isn't showing with the new space?  I'm not
much with Tru64, what i've read I thought the addvol would be it but
it's not apparently.

> showfsets raid6_dmn
u2
        Id           : 3be05228.00056fc7.1.8001
        Files        :    28225,  SLim=        0,  HLim=        0
        Blocks (512) : 1086813838,  SLim=        0,  HLim= 1137556144
        Quota Status : user=off group=off
        Object Safety: off
        Fragging     : on
        DMAPI        : off

The new disk I set up was the dsk11c, haven't gotten any errors.

> showfdmn raid6_dmn

               Id              Date Created  LogPgs  Version  Domain
Name
3be05228.00056fc7  Wed Oct 31 14:34:00 2001     512        4
raid6_dmn

  Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name
   1   426583552    23311344     95%     on    256    256  /dev/disk/
dsk9c
   2L  710972592    28529552     96%     on    256    256  /dev/disk/
dsk8c
   3   104857600   103672448      1%     on    256    256  /dev/disk/
dsk11c
      ----------  ----------  ------
      1242413744   155513344     87%

> df -k /u2
Filesystem   1024-blocks        Used   Available Capacity  Mounted on
raid6_dmn#u2   568778072   543406919    25371153    96%    /u2





^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Growing a file set
  2007-03-03  2:53       ` Adam
@ 2007-03-03  3:11         ` Chris Adams
  2007-03-03  4:57           ` Adam
  0 siblings, 1 reply; 9+ messages in thread
From: Chris Adams @ 2007-03-03  3:11 UTC (permalink / raw)


Once upon a time, Adam <aardis1@gmail.com> said:
>Thanks for your reply.  If I read this right, there are no quotas
>set.

There is a hard block quota on the fileset:

>> showfsets raid6_dmn
>u2
>        Id           : 3be05228.00056fc7.1.8001
>        Files        :    28225,  SLim=        0,  HLim=        0
>        Blocks (512) : 1086813838,  SLim=        0,  HLim= 1137556144

See "man chfsets" for how to adjust this.

-- 
Chris Adams <cmadams@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.


^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Growing a file set
  2007-03-03  3:11         ` Chris Adams
@ 2007-03-03  4:57           ` Adam
  2007-03-03 14:32             ` Bob Harris
  0 siblings, 1 reply; 9+ messages in thread
From: Adam @ 2007-03-03  4:57 UTC (permalink / raw)


On Mar 2, 10:11 pm, cmad...@hiwaay.net (Chris Adams) wrote:
> Once upon a time, Adam <aard...@gmail.com> said:
>
> >Thanks for your reply.  If I read this right, there are no quotas
> >set.
>
> There is a hard block quota on the fileset:
>
> >> showfsets raid6_dmn
> >u2
> >        Id           : 3be05228.00056fc7.1.8001
> >        Files        :    28225,  SLim=        0,  HLim=        0
> >        Blocks (512) : 1086813838,  SLim=        0,  HLim= 1137556144
>
> See "man chfsets" for how to adjust this.
>

Thanks Chris, this was exactly it.  I set the block size to the new
total it showed in the showfdmn command and the usage reported the way
I wanted it to.  Would making it 0 in effect turn it off?  Didn't want
to do it because I didn't see it in the man page, and the last thing I
needed was to screw up the data.  Thanks to everyone for their help
with this, I learned a lot today.

> chfsets -b 1242413744 raid6_dmn

> df -k /u2
Filesystem   1024-blocks        Used   Available Capacity  Mounted on
raid6_dmn#u2  1242413744   543406919    77756672    88%    /u2

> showfdmn raid6_dmn

               Id              Date Created  LogPgs  Version  Domain
Name
3be05228.00056fc7  Wed Oct 31 14:34:00 2001     512        4
raid6_dmn

  Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name
   1   426583552    23311344     95%     on    256    256  /dev/disk/
dsk9c
   2L  710972592    28529552     96%     on    256    256  /dev/disk/
dsk8c
   3   104857600   103672448      1%     on    256    256  /dev/disk/
dsk11c
      ----------  ----------  ------
      1242413744   155513344     87%



^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: Growing a file set
  2007-03-03  4:57           ` Adam
@ 2007-03-03 14:32             ` Bob Harris
  0 siblings, 0 replies; 9+ messages in thread
From: Bob Harris @ 2007-03-03 14:32 UTC (permalink / raw)


In article 
<1172897877.554031.76360@s48g2000cws.googlegroups.com>,
 "Adam" <aardis1@gmail.com> wrote:

> On Mar 2, 10:11 pm, cmad...@hiwaay.net (Chris Adams) wrote:
> > Once upon a time, Adam <aard...@gmail.com> said:
> >
> > >Thanks for your reply.  If I read this right, there are no quotas
> > >set.
> >
> > There is a hard block quota on the fileset:
> >
> > >> showfsets raid6_dmn
> > >u2
> > >        Id           : 3be05228.00056fc7.1.8001
> > >        Files        :    28225,  SLim=        0,  HLim=        0
> > >        Blocks (512) : 1086813838,  SLim=        0,  HLim= 1137556144
> >
> > See "man chfsets" for how to adjust this.
> >
> 
> Thanks Chris, this was exactly it.  I set the block size to the new
> total it showed in the showfdmn command and the usage reported the way
> I wanted it to.  Would making it 0 in effect turn it off?  Didn't want
> to do it because I didn't see it in the man page, and the last thing I
> needed was to screw up the data.  Thanks to everyone for their help
> with this, I learned a lot today.
> 
> > chfsets -b 1242413744 raid6_dmn
> 
> > df -k /u2
> Filesystem   1024-blocks        Used   Available Capacity  Mounted on
> raid6_dmn#u2  1242413744   543406919    77756672    88%    /u2
> 
> > showfdmn raid6_dmn
> 
>                Id              Date Created  LogPgs  Version  Domain
> Name
> 3be05228.00056fc7  Wed Oct 31 14:34:00 2001     512        4
> raid6_dmn
> 
>   Vol   512-Blks        Free  % Used  Cmode  Rblks  Wblks  Vol Name
>    1   426583552    23311344     95%     on    256    256  /dev/disk/
> dsk9c
>    2L  710972592    28529552     96%     on    256    256  /dev/disk/
> dsk8c
>    3   104857600   103672448      1%     on    256    256  /dev/disk/
> dsk11c
>       ----------  ----------  ------
>       1242413744   155513344     87%

From the manuals:
http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V51B_HTML/ARH
96DTE/TITLE.HTM
3.3.5    Deactivating Fileset Quotas

You can deactivate quota enforcement on a fileset either 
temporarily or permanently by running the chfsets command with the 
hard and soft limits set to 0 (zero). You can obtain file and disk 
space usage information regardless of whether you are enforcing 
quotas.

From Me:
Unless you have multiple filesets in the same domain, there is NO 
reason for fileset quotas, except to play with them.  

My suggestion is to turn them off.

                                        Bob Harris


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2007-03-03 14:32 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-02 21:46 Growing a file set Adam
2007-03-02 22:31 ` Bob Harris
2007-03-03  0:55   ` Adam
2007-03-03  1:41     ` Bob Harris
2007-03-03  1:52     ` Bob Harris
2007-03-03  2:53       ` Adam
2007-03-03  3:11         ` Chris Adams
2007-03-03  4:57           ` Adam
2007-03-03 14:32             ` Bob Harris

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