The following procedure describes how to unconfigure a disk being used by one or more UFS file systems.
Stop any application processes on the file systems to be unconfigured.
Back up your system.
Determine what file system(s) are on the disk:
# mount | grep cwtxdysz
For example, if the device to be removed is c2t1d0, enter the following:
# mount | grep c2t1d0 /export/home (/dev/dsk/c2t1d0s7 ): 98892 blocks 142713 files /export/home2 (/dev/dsk/c2t1d0s5 ): 153424 blocks 112107 files
Unmount any file systems on the disk.
If the file system(s) are on a disk that is failing or has failed, the umount operation may not complete. A large number of error messages may be displayed in the system console and in the /var directory during the umount operation. If the umount operation does not complete, you may have to restart the system.
For each file system returned, type:
# umount filesystem
where: filesystem is the first field for each line returned in Step 3.
# umount /export/home # umount /export/home2