How to increase zones root path from global zone online.
[fr4-global] #df -kh /zones/fr4sabap
Filesystem size used avail capacity Mounted on
prodaposys/zones 9.5G 8.1G 1.4G 86% /zones/fr4sabap
[fr4-global] #zpool status prodaposys
pool: prodaposys
state: ONLINE
scan: resilvered 7.93G in 0h2m with 0 errors on Wed Feb 27 23:13:56 2013
config:
NAME STATE READ WRITE CKSUM
prodaposys ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c0t60060E8010410C6004F28B8600000001d0 ONLINE 0 0 0
c0t60060E8010410C0004F28B8000000001d0 ONLINE 0 0 0
errors: No known data errors
[fr4-global] #zpool add prodaposys mirror c0t60060E8010410C0004F28B80000000F3d0 c0t60060E8010410C6004F28B86000000F3d0
[fr4-global] #
[fr4-global] #
[fr4-global] #zpool status prodaposys
pool: prodaposys
state: ONLINE
scan: resilvered 7.93G in 0h2m with 0 errors on Wed Feb 27 23:13:56 2013
config:
NAME STATE READ WRITE CKSUM
prodaposys ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c0t60060E8010410C6004F28B8600000001d0 ONLINE 0 0 0
c0t60060E8010410C0004F28B8000000001d0 ONLINE 0 0 0
mirror-1 ONLINE 0 0 0
c0t60060E8010410C0004F28B80000000F3d0 ONLINE 0 0 0
c0t60060E8010410C6004F28B86000000F3d0 ONLINE 0 0 0
errors: No known data errors
prodaposys/zones 9.5G 8.1G 1.4G 86% /zones/fr4sabap
[fr4-global] #zfs get all prodaposys/zones
NAME PROPERTY VALUE SOURCE
prodaposys/zones type filesystem -
prodaposys/zones creation Sat May 5 16:07 2012 -
prodaposys/zones used 8.13G -
prodaposys/zones available 1.37G -
prodaposys/zones referenced 8.13G -
[fr4-global] #zfs set quota=15gb prodaposys/zones
[fr4-global] #zfs reservation=15gb prodaposys/zones
[fr4-global] #zfs set reservation=15gb prodaposys/zones
[fr4-global] #
[fr4-global] #
[fr4-global] #df -kh /zones/fr4sabap
Filesystem size used avail capacity Mounted on
prodaposys/zones 15G 8.1G 6.9G 55% /zones/fr4sabap
[fr4sapr2-global] #
Non-Global zone
[fr4-fr4sabap] #df -kh /
Filesystem size used avail capacity Mounted on
/ 15G 8.1G 6.9G 55% /
[fr4sabap-fr4sabap] #
No comments:
Post a Comment