ONTAP Maintenance Mode Disk Options

Just detailing the available - disk {COMMAND} - options available in Maintenance Mode on an ONTAP AFF/FAS system. The loaded ONTAP version was 9.7P16 here.

*} disk
usage: disk {options}
Options are:

disk assign {{disk_name} | all | [-T {storage type} | -shelf {shelf name}] [-n {count}] | auto} [-p {pool}] {[-o {ownername}] [-s {sysid}] | [-copy-ownership-from {disk-name}]} [-c block|advanced_zoned] [-f] - assign a disk to a filer or all unowned disks by specifying "all"  or {count} number of unowned disks

disk ddr_label {repair | print | delete | dumpraw | rm_qualtable | modify [-c] -o {offset} -v {value} | start_scan | pause_scan | resume_scan | error_scan | rediscover | reinit } [-f] [-d all | {disk_list}]

disk dumpevents { sanown | config_checker | raid } - Dumps the sanown/config-checker/raid event queue since boot

disk encrypt { destroy | lock | rekey | rekey_fips | revert_original | sanitize | show | show_fips } - perform tasks specific to self-encrypting disks

disk partition { { -n { 2 | 3 } [-u {pool_uuid}] } | { -n {num_parts} -u {pool_uuid} } } [-i {part_idx} -b {raw_blks}].. {disk_name} - partition a disk

disk power_cycle [ -f ] { [-d {disk_list}] | [ -c {channel_name} [ -s {shelf_number} ] ] } - power-cycle one or more disks

disk reassign {-s {old_sysid}} [-d {new_sysid}] [-p {partner_sysid}]- reassign disks from old filer

disk remove_ownership [{disk_name} | all | -s {sysid}] [-f] - revert/remove disk ownership

disk sanitize { start | abort | status | release } - sanitize one or more disks

disk sanown_stats {start| stop| show }- collect sanown event stats

disk show [-o {ownername} | -s {sysid} | -n | -v | -a | -m | -S {disk_serialno} | -c {cluster_disk_name} ]  - lists disks and owners

disk unfail [-s] {disk_name}     - unfail a disk  (-s  not valid in maintenance mode)

disk unpartition {{disk_name} | all} - unpartition a partitioned disk or unpartition all the partitioned disks

Comments