|
|
|
|
|
I’ve added too many disks and need to get some space
back. How do I remove a disk?
|
|
|
- You can remove spare disks using the following method:
- Run the simulator.
Delete volumes etc so that you have some spare disks.
- Use
vol status
-s to get onscreen a list of disks you can
pull, e.g. “v0.3” “v0.4” etc.
Use -s to see only spare disks – although you can use
this technique on disks in volumes it will just cause RAID rebuilds so you
don’t gain
anything.
- From the simulator run
disk simpull <disk> for
each of the disks. In the example below I only pull one disk but you can
pull
as many as you like.
If you pull more than you wanted you can use disk simpush <disk>
to add them back to the simulator.
- Halt the simulator cleanly. If this is
a cluster halt both nodes.
- Run the
./setup.sh script and
answer yes to
deleting the pulled disks.
- Restart the simulator.
E.g.:
simulator> vol status –s
Spare disks
RAID Disk Device HA SHELF BAY CHAN Used (MB/blks)
--------- ------ -------------------- --------------
Spare disks are for block or zoned checksum volumes
spare v0.3 v0 0 3 FC:A 54/112128
spare v0.4 v0 0 4 FC:A 54/112128
spare v0.5 v0 0 5 FC:A 54/112128
simulator> disk simpull v0.3
simulator> Wed Apr 16 22:35:26 GMT [raid.config.spare.disk.missing:info]: Disk v0.3 Shelf 0 Bay 3 [NETAPP VD-35MB-FZ-520 0042] S/N [73554304]
Wed Apr 16 22:35:27 GMT [ses_admin:info]: initiating rescan on channel v0
Wed Apr 16 22:35:27 GMT [ses_admin:info]: initiating rescan on channel v4
(press enter to get a prompt)
simulator> halt
Wed Apr 16 22:40:34 GMT [kern.shutdown:notice]: System shut down because : “halt”.
[root@localhost /sim]# ./setup.sh –z -p
Script version X (Jul/2003)
Loading defaults
Unattended install or reconfig.
Disk adapter set to 1
Adding 2 disks
Checking for a ,disks in /sim. ,disks found.
Checking for install tarball 641.tgz. Not found.
Configuration:
<snip>
Please ensure the simulator is not running.
Deleting pulled disks.
Starting simulator to check for Linux segfault issue...
Ignore the next few lines between ------ marks
------------------------
./setup.sh: line 770: 11133 Aborted ./maytag.L >/dev/null 2>&1
------------------------
segfault issue not detected.
Complete. From the simulator directory run runsim.sh to start the simulator.
[root@localhost /sim]#