Mailing List Archive

disk_erase_label
I powered off a NetApp rather abruptly. Oops.

Since then, one of my disks reckons it's broken.

nacolt1> sysconfig -r
Volume vol0 (root)

RAID group 0

RAID Disk HA.ID HA SHELF BAY CHAN Used (MB/blks) Phys
(MB/blks)
--------- ----- ------------ ---- --------------
--------------
parity 8.3 8 0 3 FC:A 34500/70656000
35003/71687368 (scrubbing RAID group, 20% done)
data 8.4 8 0 4 FC:A 34500/70656000
35003/71687368
data 8.1 8 0 1 FC:A 34500/70656000
35003/71687368
data 8.0 8 0 0 FC:A 34500/70656000
35003/71687368

Volume vol1

RAID group 0

RAID Disk HA.ID HA SHELF BAY CHAN Used (MB/blks) Phys
(MB/blks)
--------- ----- ------------ ---- --------------
--------------
parity FAILED N/A 34500/70656000
data 8.6 8 0 6 FC:A 34500/70656000
35003/71687368
data 8.5 8 0 5 FC:A 34500/70656000
35003/71687368


I believe there's a command disk_erase_label which I can use to (at my own
risk) try to recover this disk. But it needs a disk id parameter. I'm
guessing that the disk id is 8.2 (the missing one from the info above) - but
that doesn't work.

nacolt1*> disk_erase_label 8.2
bad disk_name: 8.2

Is there some other disk id I need to find out - or is this just an
indication that the disk really is broken?

This is an old ONTAP. version says:

NetApp Release /n/snapon/dnoveck/537: Tue May 29 08:30:47 PDT 2001

Thanks for any help,

Edward Hibbert
Internet Applications Group
Data Connection Ltd
Tel: +44 131 662 1212 Fax: +44 131 662 1345
Email: eh@dataconnection.com Web: http://www.dataconnection.com
Re: disk_erase_label [ In reply to ]
Under priv set diag you can us the disk unfail command to make a broken disk
a spare again but this is (as you said) used at your own risk.

Is that what you are looking for? I have not had to use this command myself
so I don't know what the real-world implications are.
C-

m5*> disk
usage: disk <options>
Options are:
fail <disk_name> - fail a file system disk
remove <disk_name> - remove a spare disk
swap - prepare (quiet) bus for swap
unswap - undo disk swap and resume service
scrub { start | stop } - start or stop disk scrubbing
unfail <disk_name> - make a failed disk a spare again
shm_stats [<disk_name>] - Storage Health Monitor stats for a disk





On Mon, Nov 04, 2002 at 04:55:35PM -0000, Edward Hibbert wrote:
> I powered off a NetApp rather abruptly. Oops.
>
> Since then, one of my disks reckons it's broken.
>
> nacolt1> sysconfig -r
> Volume vol0 (root)
>
> RAID group 0
>
> RAID Disk HA.ID HA SHELF BAY CHAN Used (MB/blks) Phys
> (MB/blks)
> --------- ----- ------------ ---- --------------
> --------------
> parity 8.3 8 0 3 FC:A 34500/70656000
> 35003/71687368 (scrubbing RAID group, 20% done)
> data 8.4 8 0 4 FC:A 34500/70656000
> 35003/71687368
> data 8.1 8 0 1 FC:A 34500/70656000
> 35003/71687368
> data 8.0 8 0 0 FC:A 34500/70656000
> 35003/71687368
>
> Volume vol1
>
> RAID group 0
>
> RAID Disk HA.ID HA SHELF BAY CHAN Used (MB/blks) Phys
> (MB/blks)
> --------- ----- ------------ ---- --------------
> --------------
> parity FAILED N/A 34500/70656000
> data 8.6 8 0 6 FC:A 34500/70656000
> 35003/71687368
> data 8.5 8 0 5 FC:A 34500/70656000
> 35003/71687368
>
>
> I believe there's a command disk_erase_label which I can use to (at my own
> risk) try to recover this disk. But it needs a disk id parameter. I'm
> guessing that the disk id is 8.2 (the missing one from the info above) - but
> that doesn't work.
>
> nacolt1*> disk_erase_label 8.2
> bad disk_name: 8.2
>
> Is there some other disk id I need to find out - or is this just an
> indication that the disk really is broken?
>
> This is an old ONTAP. version says:
>
> NetApp Release /n/snapon/dnoveck/537: Tue May 29 08:30:47 PDT 2001
>
> Thanks for any help,
>
> Edward Hibbert
> Internet Applications Group
> Data Connection Ltd
> Tel: +44 131 662 1212 Fax: +44 131 662 1345
> Email: eh@dataconnection.com Web: http://www.dataconnection.com
>

--
-----------------------------------------------------------------------
* Chris Blackmor _______ | *
* Advanced Micro Devices \____ | | My comments are *
* Phone: (512) 602-1608 /| | | | mine, and mine *
* Fax: (512) 602-5155 | |___| | | alone. *
* Email: chris.blackmor@amd.com |____/ \| | *
-----------------------------------------------------------------------
* "Forty-two!" he said with a malicious grin. *
* "No, doesn't work. Nevermind." *
* Restaurant at the End of the Universe *
* Hitchhikers Guide to the Universe *
-----------------------------------------------------------------------