disk

March 3rd, 2009

This is useful primarily for changing ownership when you move disks around between systems (disk assign / disk reassign / disk remove_ownership)

 *> disk
usage: disk <options>
Options are:
        unfail [ -s ] <disk_name>   – unfail a disk
        power_cycle [ -f ] { [-d <disk_list>] | [ -c <channel_name> [ -s <shelf_number> ] ] } – power-cycle one or more disks
        assign {<disk_name> | all | -n <count> | auto} [-p <pool>] [-o <ownername>] [-s <sysid>] [-c block|zoned] [-f] – assign a disk to a filer or all unowned disks by specifying “all”  or <count> number of unowned disks
        show [-o <ownername> | -s <sysid> | -n | -v | -a]  – lists disks and owners
        reassign {-o <old_name> | -s <old_sysid>} [-n <new_name>] [-d <new_sysid>] – reassign disks from old filer
        remove_ownership [<disk_name> | all | -s <sysid>] [-f] – revert/remove disk ownership
        upgrade_ownership           – upgrade disks to new ownership scheme
        checksum {<disk_name> | all} [-c block | zoned]

*> disk show -v
Local System ID: 84197978

  DISK       OWNER                  POOL   SERIAL NUMBER
———— ————-          —–  ————-
0b.18                  (84197978)   Pool0  3HX2NLV9000075048S18
0b.16                  (84197978)   Pool0  3HX2NYFW00007502E16L
0b.17                  (84197978)   Pool0  3HX2NYNY00007504JERY
0b.19                  (84197978)   Pool0  3HX2NW4H000075048SEU
0b.20                  (84197978)   Pool0  3HX2P9KZ000075049G0X

*> disk_list
     DISK    CHAN  VENDOR   PRODUCT ID       REV  SERIAL#              HW (BLOCKS   BPS) DQ
———— —– ——– —————- —- ——————– — ————– –
0b.20        FC:A  NETAPP   X271_S15K3036F15 NA08 3HX2P9KZ000075049G0X ff   70197546 520  N
0b.19        FC:A  NETAPP   X271_S15K3036F15 NA08 3HX2NW4H000075048SEU ff  70197546 520  N
0b.18        FC:A  NETAPP   X271_S15K3036F15 NA08 3HX2NLV9000075048S18 ff   70197546 520  N
0b.17        FC:A  NETAPP   X271_S15K3036F15 NA08 3HX2NYNY00007504JERY ff   70197546 520  N
0b.16        FC:A  NETAPP   X271_S15K3036F15 NA08 3HX2NYFW00007502E16L ff   70197546 520  N

VN:F [1.9.11_1134]
Rate this post:
Rating: 0.0/10 (0 votes cast)

Maintenance Mode Commands , , ,

  1. No comments yet.
  1. No trackbacks yet.



This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.

Bad Behavior has blocked 1088 access attempts in the last 7 days.

© 2009-2012 Chris Kranz All Rights Reserved
This site is not affiliated or sponsored in anyway by NetApp or any other company mentioned within.