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(a)mathworks.com [mailto:owner-toasters@mathworks.com]
On Behalf Of Strange, Steve
Sent: Wednesday, September 15, 2004 5:53 PM
To: John Kiniston; toasters(a)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(a)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)