Our SunFire 480 - one of the boot disks failed. It is mirrored with VxVm. I followed the exact steps that is detailed in the veritas and sun guides (I can not post the URL since I don't have 5 posts yet.)
After removing the failed disk, I ran devfsadm -C -c disk and it still shows the device links under /dev/dsk and /dev/rdsk. So, I can not put in the new drive and the server is running with only one boot disk (without any mirrors).
So, what is the best way to get rid of the device links for the failed disk under /dev/dsk and /dev/rdsk?
480 crashed and we brought it up using the rootmirror. Now, we are trying to replace the first drive. We ran the following steps before pulling out the disk:
vxdiskadm - Step #4 - Remove a disk for replacement
luxadm remvove_disk c1t0d0s2 - this step gave an error saying that invalid path
So, I had to do a luxadm with a force flag like this: - > luxadm -v remove_device -F /dev/rdsk/c1t0d0s2
(This step also gave an error after pulling out the disk saying Error: Unexpected Fibre Channel topology found. - /dev/rdsk/c1t0d0s2.)
devfsadm -C -c disk - this should have cleaned all the device tree links for c1t0d0 under /dev/dsk and /dev/rdsk - but it did not remove it.
What is the best option to get rid of the device links under /dev/dsk and /dev/rdsk for this removed drive?
No knock-on effects apart from not being able to access that device any more.
Obviously, don't delete a device node that the system is running on (booted from).
(Typically this would be done whilst booted from DVD in single user node. Hard disk root filesystem mounted under /a on DVD)
AFAIK devfsadm will only create device nodes for disks it can see (during its search) and will not delete device nodes (for devices that have been removed).