zpool status -v
below my mirrors in Solaris 10
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c3t0d0s0 ONLINE 0 0 0
c3t1d0s0 ONLINE 0 0 0
emcpower9a ONLINE 0 0 0
I run below command to detach second mirror
zpool detach rpool c3t1d0s0
c3t1d0s0 is not in the mirrors as the below
config:
NAME STATE READ WRITE CKSUM
rpool ONLINE 0 0 0
mirror-0 ONLINE 0 0 0
c3t0d0s0 ONLINE 0 0 0
emcpower9a ONLINE 0 0 0
I changed the boot device to the second mirror by this command
root@ppa-dbtest # luxadm set_boot_dev /dev/dsk/c3t1d0s0
Do you want to change boot-device to the new setting? (y/n) y
booting is configured to /dev/dsk/c3t1d0s0
now I execute this command reboot-- -r to reboot the server to boot from c3t1d0s0 as configured above ..
but I'm getting this error after reboot the server by reboot-- -r
Rebooting with command: boot -r
Boot device: /pci@9,600000/SUNW,qlc@2/fp@0,0/disk@w21000014c38aa5aa,0:a File and args: -r
detached mirror
Can't mount root
Evaluating:
The file just loaded does not appear to be executable.
{3} ok
Please advice I want to boot from the second disk c3t1d0s0 which is not in mirror state ..
Pls advice