Knowledgebase: Operating System > Solaris
Remove Hard Disk in Solaris 10
Posted by admin support, Last modified by Rizki Amar Kuswara on 16 November 2022 01:32 PM

Hello, if you are removing a hard drive while the operating system is still running,

you must remove the drive logically from the operating system before physically
removing it from the server.
 
If you are removing a hard drive from a server that is powered off, skip to
Step 6 in these procedures.
 
Use the following instructions in conjunction with the cfgadm(M) man page.
 
1. Check that the hard drive you want to remove is visible to the operating system.
 
format
 
Searching for disks...done
 
 
 AVAILABLE DISK SELECTIONS:
 
       0. c1t0d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
           /pci@1c,600000/scsi@2/sd@0,0
        1. c1t1d0 <SUN36G cyl 24620 alt 2 hd 27 sec 107>
           /pci@1c,600000/scsi@2/sd@1,0
 
Specify disk (enter its number):
 
2. Determine the correct Ap_Id label for the hard drive that you want to remove.
 
# cfgadm -al
 
Ap_Id           Type       Receptacle Occupant      Condition
 c0              scsi-bus   connected  configured    unknown
 c0::dsk/c0t0d0  CD-ROM     connected  configured    unknown
 c1              scsi-bus   connected  configured    unknown
 c1::dsk/c1t0d0  disk       connected  configured    unknown
 c1::dsk/c1t1d0  disk       connected  configured    unknown
 c2              scsi-bus   connected  unconfigured  unknown
 usb0/1          unknown    empty      unconfigured  ok
 usb0/2          unknown    empty      unconfigured  ok
 
 
Caution - Before proceeding, you must remove the hard drive from all its software
mount positions and delete any swap areas in use on the disk. If the drive is the
system boot device, do not proceed further with these instructions.  Do not attempt to unconfigure the boot disk.
 
3. Unconfigure the hard drive that you intend to remove.
 
Use the unconfigure command and specify the device you intend to remove. For example, if it is Disk 1, type:
 
# cfgadm -c unconfigure c1::dsk/c1t1d0
 
 
4. Check that the device is now unconfigured:
 
# cfgadm -al
 
Ap_Id           Type        Receptacle Occupant      Condition
 
c0              scsi-bus    connected  configured    unknown
c0::dsk/c0t0d0  CD-ROM      connected  configured    unknown
c1              scsi-bus    connected  configured    unknown
c1::dsk/c1t0d0  disk        connected  configured    unknown
c1::dsk/c1t1d0  unavailable connected  unconfigured  unknown
c2              scsi-bus    connected  unconfigured  unknown
usb0/1          unknown     empty      unconfigured  ok
usb0/2          unknown     empty      unconfigured  ok
 
 
5. Confirm that the hard drive you want to remove from the server is no longer visible to the operating system:
 
# format
 
Searching for disks...done
 
 
AVAILABLE DISK SELECTIONS:
 
       0. c1t0d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
           /pci@1c,600000/scsi@2/sd@0,0
 
Specify disk (enter its number): 
 
 
6. Ensure that the server is properly grounded.
 
7. Grip the bezel at the two finger holds and rotate it down to open
 
8. Check that the blue indicator LED is lit on the hard drive.
 
The blue LED comes on when the hard drive is ready to remove.
 
9. Slide the catch at the front of the hard drive to the right.
 
10. Pull the handle and remove the hard drive from the server by sliding it out from its bay.
(0 vote(s))
Helpful
Not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments: