cancel
Showing results for 
Search instead for 
Did you mean: 

How do you add a disk?

Mike_Westmorela
Level 2
I'm trying to add a disk. Solaris format command returns
c4t0d0.
I've tried vxdiskadd c4t0d0 Error message - no matching disks were returned. Next, I tried,
vxdctl enable then vxdiskadd c4t0d0 - I get the same message. Next I tried vxdctl add disk c4t0d0 - Error message. Warning: Device c4t0d0: Not currently in configuration.

I've also tried using the vxdiskadm utiltiy and no luck. What are the steps or the proper syntax?
3 REPLIES 3

Orly_Tampoco
Level 3
Check if vxvm can see the disk using vxdisk list. If not then
maybe the disk has not been labeled yet, check if it has label using format. Then try vxdctl enable and vxdiskadd again.

Mike_Westmorela
Level 2
vxvm cannot see the disk.

c4t0d0
/pci@8,600000/SUNW,qlc@1/fp@0,0/ssd
Format returns the above. Isn't this a label? It looks amost identical to the disks that vxvm can see. Here's an example of a disk vxvm can see. The only difference is the controller.
c3t26d0
/pci@8,700000/SUNW,qlc@1/fp@0,0/ssd

Note the disks are on different controllers.

Orly_Tampoco
Level 3
Try to partition the disk using format, then label the disk. vxvm should be able to detect the disk after that.