This is procedure is performed with removable media services disabled.
Become superuser.
For information on disabling removable media services, see How to Disable or Enable Removable Media Services.
Verify that removable media services are not running.
# svcs volfs STATE STIME FMRI disabled Sep_29 svc:/system/filesystem/volfs:default |
Stop any active applications that are using the device.
Unmount the device.
Remove the device.