FAServer 1400 systems support a "hot swap" capability which allows removal or addition of disks to the system with minimal interruption to file system activity. The raid swap command is issued prior to physically removing or adding a disk from a FAServer 1400 system to stall I/O activity, once the disk is removed or added, file system activity will automatically continue. If the raid swap command is accidentally typed or you choose not to swap a disk at this time, the raid unswap command can be issued to cancel the swap operation and continue NFS service.
fail disk_id will fail the specified file system disk from the RAID configuration, spinning the disk down when removal is complete. raid fail is useful to allow removal of a file system disk that may be logging excessive errors and requires replacement. Note that when a file system disk has been removed in this manner, the RAID configuration will enter degraded mode (meaning a disk is missing from the array). For systems which support hot swap, once the disk has been spun down (and the fault "ready for removal" light is on), the raid swap command can be issued to allow physical removal of the disk from the system.
scrub start|stop
will start or stop a RAID scrubbing operation.
raid scrub start starts the scrubbing process
and raid scrub stop stops the scrubbing process.
The raid.scrub.enable option is ignored.
toaster> sysconfig -r RAID Disk DISK_ID# HA.SCSI#Used (MB/blks)Phys (MB/blks) --------- -------- --------------------------- parity 0 0.02000/4096002040/4177920 data 1 1 0.12000/4096002049/4196352 data 2 2 0.21000/2048001033/2115584 data 3 3 0.31000/2048001033/2115584 spare 4 0.4 1000/2048001033/2115584 toaster> raid add 4 Addition of disk 4 to the filesystem has been initiated. You will be notified when addition is complete. toaster> Wed Jun 01 00:39:24 GMT [raid_disk_admin]: Addition of disk 4 to the filesystem has completed successfully.
toaster> raid remove 3 Removal and unload of spare disk 3 has been initiated. You will be notified when unload is complete. toaster> Wed Jun 01 22:10:12 GMT 1994 [raid_disk_admin]: Unload of disk 3 has completed successfully. toaster> raid swap System has been prepared for a disk swap. NFS service will continue when a disk is removed or added to the system. Use the "raid unswap" command to continue NFS service if this command was accidentally typed or you choose not to swap a disk at this time.
The following messages are seen when the disk is physically
removed from the system, confirming a disk hot swap event
has occurred and that during the drive unit search no new
disk units were found:
toaster>
Wed Jun 01 22:10:42 GMT [disk_config_admin]: *** NOTICE ***
A disk has been swapped (removed or added) to a modular
storage shelf. The system will wait 15 seconds and
then check the status of all disk drives.
Wed Jun 01 22:10:57 GMT [disk_config_admin]: *** NOTICE ***
Disk unit status check has completed.