I have a SUN Fire V440 server running Solaris 8. One of the 4 disks do not appear when issued the format command. The "ready to remove" LED is not on either.
Metastat command warns that this disk "Needs maintenace". Can I just shutdown and power off the machine and then insert an identical new disk?
Yes that is safe, unless it is the boot disk.
And then there is manual work:
eventually a label is to be installed, the new disk needs to be partitioned, eventually a boot block needs to be installed, a metadb needs to be installed, and each partition needs to be synced.
Please give output of metastat and metadb !
First of all make sure that you have backed up the data for the disk you are replacing. Then replace the disk. Partition it. Create the metadb. Mirror it. Resync it. Fill the disk with earlier data. Also make the entries in /etc/vfstab.
If the broken disk is hot-swappable, you can pull it online.
But shut down critical services (e.g. a database).
Insert the new disk. Wait a minute for detection and spin-up.
Run format , in order to verify that the disk can be accessed.
Eventually write a label to it (any suggested label works).
Copy the partition table from the other disk,
either in format or with the command