quotas and disk replace on netapp


==============================================================================================================
NAS1> rdfile /etc/quotas
# path type hard-limit hard-files threshold-90% soft-80% soft-files
/vol/vol1/data1 tree 1835g - 1651g 1460g -

==============================================================================================================
NAS1> vol size voltest +20m
==============================================================================================================

NAS2> disk show
DISK OWNER POOL SERIAL NUMBER HOME
------------ ------------- ----- ------------- -------------
0b.01.2 NAS1(1790987092) Pool0 Z1P1V79M NAS1(1790987092)
0b.01.6 NAS1(1790987092) Pool0 Z1P1KPF0 NAS1(1790987092)
0b.01.4 NAS1(1790987092) Pool0 Z1P1TW0Y NAS1(1790987092)
0b.01.8 NAS1(1790987092) Pool0 Z1P1VASY NAS1(1790987092)
0b.01.0 NAS1(1790987092) Pool0 Z1P1V9EG NAS1(1790987092)
0b.01.10 NAS1(1790987092) Pool0 Z1P1VB7J NAS1(1790987092)
0a.01.11 NAS2(1790999594) Pool0 Z1P1V7FG NAS2(1790999594)
0a.01.9 NAS2(1790999594) Pool0 Z1P1VB3B NAS2(1790999594)
0a.01.3 NAS2(1790999594) Pool0 Z1P1Q4PV NAS2(1790999594)
0a.01.1 NAS2(1790999594) Pool0 Z1P1V91H NAS2(1790999594)
0a.01.5 NAS2(1790999594) Pool0 Z1P1VAT5 NAS2(1790999594)
NOTE: Currently 1 disks are unowned. Use ‘disk show -n‘ for additional information.
NAS2> disk show -n
DISK OWNER POOL SERIAL NUMBER HOME
------------ ------------- ----- ------------- -------------
0a.01.7 Not Owned NONE YGJLLZVD
NAS2> disk assign 0a.01.7 -o NAS2
Wed Nov 5 07:31:18 UTC [NAS2:diskown.changingOwner:info]: changing ownership for disk 0a.01.7 (S/N YGJLLZVD) from unowned (ID 4294967295) to NAS2 (ID 1790999594)

NAS2> disk zero spares
NAS2> sysconfig -r
Aggregate aggr0 (online, raid_dp) (block checksums)
Plex /aggr0/plex0 (online, normal, active, pool0)
RAID group /aggr0/plex0/rg0 (normal, block checksums)

RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
dparity 0a.01.1 0a 1 1 SA:B 0 BSAS 7200 1695466/3472315904 1695759/3472914816
parity 0a.01.3 0a 1 3 SA:B 0 BSAS 7200 1695466/3472315904 1695759/3472914816
data 0a.01.5 0a 1 5 SA:B 0 BSAS 7200 1695466/3472315904 1695759/3472914816
data 0a.01.11 0a 1 11 SA:B 0 BSAS 7200 1695466/3472315904 1695759/3472914816
data 0a.01.9 0a 1 9 SA:B 0 BSAS 7200 1695466/3472315904 1695759/3472914816


Pool1 spare disks (empty)

Pool0 spare disks

RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
Spare disks for block checksum
spare 0a.01.7 0a 1 7 SA:B 0 BSAS 7200 1695466/3472315904 1695759/3472914816

Partner disks

RAID Disk Device HA SHELF BAY CHAN Pool Type RPM Used (MB/blks) Phys (MB/blks)
--------- ------ ------------- ---- ---- ---- ----- -------------- --------------
partner 0b.01.8 0b 1 8 SA:A 0 BSAS 7200 0/0 1695759/3472914816
partner 0b.01.6 0b 1 6 SA:A 0 BSAS 7200 0/0 1695759/3472914816
partner 0b.01.0 0b 1 0 SA:A 0 BSAS 7200 0/0 1695759/3472914816
partner 0b.01.4 0b 1 4 SA:A 0 BSAS 7200 0/0 1695759/3472914816
partner 0b.01.2 0b 1 2 SA:A 0 BSAS 7200 0/0 1695759/3472914816
partner 0b.01.10 0b 1 10 SA:A 0 BSAS 7200 0/0 1695759/3472914816

郑重声明:本站内容如果来自互联网及其他传播媒体,其版权均属原媒体及文章作者所有。转载目的在于传递更多信息及用于网络分享,并不代表本站赞同其观点和对其真实性负责,也不构成任何其他建议。