After checking the prerequisites ("Prerequisites for Removing DiskSuite Objects"), and the preliminary information ("Preliminary Information for Removing RAID5 Metadevices"), use the metaclear(1M) command to delete the metadevice. Refer to the metaclear(1M) man page for more information.
# umount /nfs # metaclear d80 d80: RAID is cleared (Edit the /etc/vfstab file) |
This example clears the RAID5 metadevice d80 that also contains a mounted file system, /nfs. Access to d80 is stopped by unmounting its file system. The system displays a confirmation message that the RAID5 metadevice is cleared. If there is an entry in the /etc/vfstab file for this metadevice, it should be deleted. You do not want to confuse the system by attempting to mount a file system on a non-existent metadevice.