LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Can someone help me mirror a root disk on Solaris 11 (https://www.linuxquestions.org/questions/solaris-opensolaris-20/can-someone-help-me-mirror-a-root-disk-on-solaris-11-a-4175632927/)

picklehead 06-29-2018 06:17 AM

Can someone help me mirror a root disk on Solaris 11
 
I'm trying to identify the disks but they have weird long labels that I'm not used to. I'm used to the convention c0t0d0s<whatever>.

This is my output from format



root@ggadmin2:/dev/rdsk# format
Searching for disks...done

c0t5000CCA080863078d0: configured with capacity of 1117.76GB


AVAILABLE DISK SELECTIONS:
0. c0t5000CCA02F3D50DCd0 <HGST-H101860SFSUN600G-A990-558.91GB>
/scsi_vhci/disk@g5000cca02f3d50dc
/dev/chassis/SYS/HDD0/disk
1. c0t5000CCA02F3D7D80d0 <HGST-H101860SFSUN600G-A990-558.91GB> solaris
/scsi_vhci/disk@g5000cca02f3d7d80
/dev/chassis/SYS/HDD1/disk
2. c0t5000CCA02F3D5100d0 <HGST-H101860SFSUN600G-A990-558.91GB> solaris
/scsi_vhci/disk@g5000cca02f3d5100
/dev/chassis/SYS/HDD2/disk
3. c0t5000CCA02F3DB174d0 <HGST-H101860SFSUN600G-A990-558.91GB> solaris
/scsi_vhci/disk@g5000cca02f3db174
/dev/chassis/SYS/HDD3/disk
4. c0t5000CCA0808615E0d0 <HGST-H101812SFSUN1.2T-A990 cyl 48638 alt 2 hd 255 sec 189>
/scsi_vhci/disk@g5000cca0808615e0
/dev/chassis/SYS/HDD4/disk
5. c0t5000CCA080863078d0 <HGST-H101812SFSUN1.2T-A990 cyl 48638 alt 2 hd 255 sec 189>
/scsi_vhci/disk@g5000cca080863078
/dev/chassis/SYS/HDD5/disk
6. c1t0d0 <MICRON-eUSB DISK-1112 cyl 246 alt 0 hd 255 sec 63>
/pci@300/pci@1/pci@0/pci@2/usb@0/storage@1/disk@0,0
/dev/chassis/SYS/MB/EUSB_DISK/disk
Specify disk (enter its number):


This is my zpool status:



root@ggadmin2:/dev/rdsk# zpool status rpool
pool: rpool
state: ONLINE
scan: none requested
config:

NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
c0t5000CCA02F3D50DCd0 ONLINE 0 0 0

errors: No known data errors




So which is my root disk and which disk can I mirror it to?

Can I use prtvtoc against one of those big long names e.g.

prtvtoc /dev/rdsk/c0t5000CCA02F3D50DCd0s2 |fmthard -s - /dev/rdsk/c0t5000CCA02F3D7D80d0s2


and then do a zpool attach?

Also notice that the 0 disk has no label/description but the next 3 have "solaris" displayed after them.

What's the significance of that?

Thanks for any help.


All times are GMT -5. The time now is 11:58 PM.