It depends on which version of ONTAP you are running. Before 6.5 you could destroy the volume from FilerView without first taking it offline. BE CAREFUL. There of course is the warning message.
After the vol0(1) volume is destroyed, I would execute disk zero spares.
-----Original Message----- From: jeff.mery@ni.com [mailto:jeff.mery@ni.com] Sent: Wednesday, September 15, 2004 1:34 PM To: Steve.Strange@netapp.com; johnkiniston@gmail.com; toasters@mathworks.com Subject: RE: Replacement disk problem
Sender: owner-toasters@mathworks.com Precedence: bulk
I agree 100%, but there is also a safety measure built in. "vol destroy" will only work against offline volumes. If you try to "vol destroy" the online volume, the command will puke and die with a message about the volume needing to be offline first.
From what's below, Vol0(1), the foreign volume with disk 8a.13, will be offline. It can't be brought online because it's both incomplete and foreign. Vol0, the real and active root volume, will be online. This can easily be confirmed with a "vol status" command.
Happy deleting =)
Jeff Mery, MCP National Instruments
------------------------------------------------------------------- "Allow me to extol the virtues of the Net Fairy, and of all the fantastic dorks that make the nice packets go from here to there. Amen." TB - Penny Arcade -------------------------------------------------------------------
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Strange, Steve Sent: Wednesday, September 15, 2004 5:53 PM To: John Kiniston; toasters@mathworks.com Subject: RE: Replacement disk problem
Destroy the partial volume "vol0(1)" with "vol destroy vol0(1)". That will turn the disk into a spare. Obviously, be very careful when using the "vol destroy" command to make sure you get the right one. And make sure you really don't care about the data still on disk 8a.13!
Steve
-----Original Message----- From: John Kiniston [mailto:johnkiniston@gmail.com] Sent: Wednesday, September 15, 2004 9:32 AM To: toasters@mathworks.com Subject: Replacement disk problem
Howdy everyone,
We put a used disk in our filer when we had a disk failure a number of months ago instead of a new fresh disk and I dont believe the new disk got added correctly.
This is the output from the web interface where I noticed the problem:
Foreign volume vol0(1) RAID group 0 RAID Disk HA.ID HA SHELF BAY CHAN Used (MB/blks) Phys (MB/blks) --------- ----- ------------ ---- -------------- -------------- data 8a.13 8a 1 5 8600/17612800 8683/17783240 Raid group is missing 5 disks. Volume vol0 (root) RAID group 0 RAID Disk HA.ID HA SHELF BAY CHAN Used (MB/blks) Phys (MB/blks) --------- ----- ------------ ---- -------------- -------------- parity 8a.1 8a 0 2 8600/17612800 8683/17783240 data 8a.2 8a 0 3 8600/17612800 8683/17783240 data 8a.3 8a 0 4 8600/17612800 8683/17783240 data 8a.4 8a 0 5 8600/17612800 8683/17783240 data 8a.5 8a 0 6 8600/17612800 8683/17783240 data 8a.8 8a 1 0 8600/17612800 8683/17783240 data 8a.9 8a 1 1 8600/17612800 8683/17783240 data 8a.10 8a 1 2 8600/17612800 8683/17783240 data 8a.12 8a 1 4 8600/17612800 8683/17783240 data 8a.0 8a 0 1 8600/17612800 8683/17783240 data 8a.14 8a 1 6 8600/17612800 8683/17783112 data 8a.11 8a 1 3 8600/17612800 8683/17783240
How can I get the replacement disk set to be a spare for vol0(root) ***************************************************************************************************** If you have received this email in error please notify the the system manager or the sender immediately and do not disclosed the to anyone or make copies.
** eSafe scanned this email for viruses, vandals or malicious content ** ** To find out eSafe(TM) and other Aladdin Security Products, contact AMC Corporation at (212) 620-0700 *****************************************************************************************************
Thank you everyone for the help.
I destroyed the vol0(1) volume and the disk now shows as a spare.
I have not zero'd the disk yet but I will after I get some backups of that filer done, In hindsight I should have done them before I destroyed the volume :)
On Wed, 15 Sep 2004 13:43:59 -0400, Alan Biren abiren@amccorp.com wrote:
It depends on which version of ONTAP you are running. Before 6.5 you could destroy the volume from FilerView without first taking it offline. BE CAREFUL. There of course is the warning message.
After the vol0(1) volume is destroyed, I would execute disk zero spares.
-----Original Message----- From: jeff.mery@ni.com [mailto:jeff.mery@ni.com] Sent: Wednesday, September 15, 2004 1:34 PM To: Steve.Strange@netapp.com; johnkiniston@gmail.com; toasters@mathworks.com Subject: RE: Replacement disk problem
Sender: owner-toasters@mathworks.com Precedence: bulk
I agree 100%, but there is also a safety measure built in. "vol destroy" will only work against offline volumes. If you try to "vol destroy" the online volume, the command will puke and die with a message about the volume needing to be offline first.
From what's below, Vol0(1), the foreign volume with disk 8a.13, will be offline. It can't be brought online because it's both incomplete and foreign. Vol0, the real and active root volume, will be online. This can easily be confirmed with a "vol status" command.
Happy deleting =)
Jeff Mery, MCP National Instruments
"Allow me to extol the virtues of the Net Fairy, and of all the fantastic dorks that make the nice packets go from here to there. Amen." TB - Penny Arcade
-----Original Message----- From: owner-toasters@mathworks.com [mailto:owner-toasters@mathworks.com] On Behalf Of Strange, Steve Sent: Wednesday, September 15, 2004 5:53 PM To: John Kiniston; toasters@mathworks.com Subject: RE: Replacement disk problem
Destroy the partial volume "vol0(1)" with "vol destroy vol0(1)". That will turn the disk into a spare. Obviously, be very careful when using the "vol destroy" command to make sure you get the right one. And make sure you really don't care about the data still on disk 8a.13!
Steve
-----Original Message----- From: John Kiniston [mailto:johnkiniston@gmail.com] Sent: Wednesday, September 15, 2004 9:32 AM To: toasters@mathworks.com Subject: Replacement disk problem
Howdy everyone,
We put a used disk in our filer when we had a disk failure a number of months ago instead of a new fresh disk and I dont believe the new disk got added correctly.
This is the output from the web interface where I noticed the problem:
Foreign volume vol0(1) RAID group 0 RAID Disk HA.ID HA SHELF BAY CHAN Used (MB/blks) Phys (MB/blks)
data 8a.13 8a 1 5 8600/17612800 8683/17783240 Raid group is missing 5 disks. Volume vol0 (root) RAID group 0 RAID Disk HA.ID HA SHELF BAY CHAN Used (MB/blks) Phys (MB/blks)
parity 8a.1 8a 0 2 8600/17612800 8683/17783240 data 8a.2 8a 0 3 8600/17612800 8683/17783240 data 8a.3 8a 0 4 8600/17612800 8683/17783240 data 8a.4 8a 0 5 8600/17612800 8683/17783240 data 8a.5 8a 0 6 8600/17612800 8683/17783240 data 8a.8 8a 1 0 8600/17612800 8683/17783240 data 8a.9 8a 1 1 8600/17612800 8683/17783240 data 8a.10 8a 1 2 8600/17612800 8683/17783240 data 8a.12 8a 1 4 8600/17612800 8683/17783240 data 8a.0 8a 0 1 8600/17612800 8683/17783240 data 8a.14 8a 1 6 8600/17612800 8683/17783112 data 8a.11 8a 1 3 8600/17612800 8683/17783240
How can I get the replacement disk set to be a spare for vol0(root)
If you have received this email in error please notify the the system manager or the sender immediately and do not disclosed the to anyone or make copies.
** eSafe scanned this email for viruses, vandals or malicious content ** ** To find out eSafe(TM) and other Aladdin Security Products, contact AMC Corporation at (212) 620-0700