tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
* SUMMARY:  LSM and AdvFS, moving space around
@ 2001-10-16  1:45 Arjen Visser (DSL AK)
  0 siblings, 0 replies; only message in thread
From: Arjen Visser (DSL AK) @ 2001-10-16  1:45 UTC (permalink / raw)
  To: tru64-unix-managers

The filesets have been setup with quotas.
Use AdvFS chfsets to change the quotas on the different filesets. 
First lists the quotas:

# showfsets -k data_dmn exe sftware oradata  arch lab labtest
exe
        Id           : 3ac8ec1b.0001ab9a.1.8001
        Files        :    68948,  SLim=        0,  HLim=        0
        Blocks  (1k) :  1276411,  SLim=  5242880,  HLim=  5242880
        Quota Status : user=off group=off 

sftware
        Id           : 3ac8ec1b.0001ab9a.2.8001
        Files        :    16312,  SLim=        0,  HLim=        0
        Blocks  (1k) :  1721995,  SLim=  8388608,  HLim=  8388608
        Quota Status : user=off group=off 

oradata
        Id           : 3ac8ec1b.0001ab9a.3.8001
        Files        :      122,  SLim=        0,  HLim=        0
        Blocks  (1k) : 18443393,  SLim= 20971520,  HLim= 20971520
        Quota Status : user=off group=off 

arch
        Id           : 3ac8ec1b.0001ab9a.4.8001
        Files        :       12,  SLim=        0,  HLim=        0
        Blocks  (1k) :   770688,  SLim=  2097152,  HLim=  2097152
        Quota Status : user=off group=off 

lab
        Id           : 3ac8ec1b.0001ab9a.5.8001
        Files        :     7427,  SLim=        0,  HLim=        0
        Blocks  (1k) :  3008394,  SLim=  5626048,  HLim=  5626048
        Quota Status : user=off group=off 

labtest
        Id           : 3ac8ec1b.0001ab9a.6.8001
        Files        :     6743,  SLim=        0,  HLim=        0
        Blocks  (1k) :  1383231,  SLim=  2097152,  HLim=  2097152
        Quota Status : user=off group=off 

Now change the quotas

chfsets -F 0 -f 0 -B 2388608 -b 2388608 data_dmn sftware
sftware
        Id           : 3ac8ec1b.0001ab9a.2.8001
        File H Limit : 0 --> 0
        Block H Limit: 8388608 --> 2388608
        File S Limit : 0 --> 0
        Block S Limit: 8388608 --> 2388608

chfsets -F 0 -f 0 -B 26971520 -b 26971520 data_dmn oradata
oradata
        Id           : 3ac8ec1b.0001ab9a.3.8001
        File H Limit : 0 --> 0
        Block H Limit: 20971520 --> 26971520
        File S Limit : 0 --> 0
        Block S Limit: 20971520 --> 26971520

df -k
Filesystem       1024-blocks        Used   Available Capacity  Mounted on
root_domain#root     1048576      198616      843816    20%    /
/proc                      0           0           0   100%    /proc
usr_domain#usr       4194304     1640865     2527968    40%    /usr
var_domain#var       3145728      113436     3026080     4%    /var
tmp_domain#tmp       2097152          76     2090224     1%
/cluster/members/
member0/tmp
data_dmn#exe         5242880     1276411     3966469    25%    /exeapps
data_dmn#sftware     2388608     1721995      666613    73%    /orasftware
data_dmn#oradata    26971520    18443393     8528127    69%    /oradata
data_dmn#arch        2097152      770688     1326464    37%    /arch_redo
data_dmn#lab         5626048     3008394     2617654    54%    /lab42
data_dmn#labtest     2097152     1383231      713921    66%    /labtest

All done. 
Thanks for the help
>  -----Original Message-----
> From: 	Arjen Visser (DSL AK)  
> Sent:	Monday, 15 October 2001 17:20
> To:	'tru64-unix-managers@ornl.gov'
> Subject:	LSM and AdvFS, moving space around
> 
> Fellow Managers, 
> 
> I have got an Alpha ES40 with Unix 5.0A and using LSM
> The filesystem looks like:
> 
> data_dmn#exe         5242880     1269285     3973595    25%    /exeapps
> data_dmn#sftware     8388608     1721130     6667478    21%    /orasftware
> data_dmn#oradata    20971520    18443393     2528127    88%    /oradata
> data_dmn#arch        2097152      351184     1745968    17%    /arch_redo
> data_dmn#lab         5626048     3008482     2617566    54%    /lab42
> data_dmn#labtest     2097152     1383167      713985    66%    /labtest
> 
> The data_dmn file domain is linked to a volume 
> data_dg.data_vol -> /dev/vol/data_dg/data_vol
> 
> How can I move space around from one file set to the other? Do I need to
> use LSM commands or AdvFS commands?
> I want to decrease data_dmn#sftware and increase data_dmn#oradata
> 
> The volume data_dg consists of 2 plexes (mirrored)
> 
> 
> Thanks, Arjen Visser

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2001-10-16  1:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-10-16  1:45 SUMMARY: LSM and AdvFS, moving space around Arjen Visser (DSL AK)

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