Suppose if you have 500GB in a pool which has 5 mounts .
1. /u01a 100 (fixed quota)
2. /u01b 100 (fixed quota)
3. /u01c 75 (not fixed quota)
4. /u01d 75 (not fixed quota)
The requirement is to increase the /u01b from 100gb to 200gb
Step 1: First see whether this /u01a is fixed quota
zfs get quota pool/u01a
which will show the whether this mount is having fixed quota or not
Step 2 :
2.a
To increase more space ,first decrease 50gb from /u01a and 50gb from /u01c..so that you will have 100gb more ..
to decrease space ..give the follwing
zfs set quota=50gb pool/u01a (this will decrease 50gb from /u01a )
zfs set quota=50gb pool/u01c (this will decrease 50gb from /u01c )
2.b
now enter the below command
zfs set quota=100gb pool/u01b ( this will increase 100gb to /u01b)
Some more commands
zfs list
df -h /u01* /backup/
zfs get quota /backup/
zfs get quota pool/u01a
zfs get volsize pool/u01a
df -h
zfs set quota=50gb pool/u01a
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment