On 25 January, 2009 - iman habibi sent me these 2,0K bytes:

> Dear Admins
> I installed solaris 10-u6 based zfs on under two mirrored disks(rpool) in my
> first sunfire v880 sparc machine.
> my questions are:
> 1-can i remove one of my mirrored disks from this first machine and use it
> as installed operating system in another machine and making this machine
> operational?
> (I want install solaris on it but this new machine doesnt have cdrom&cant
> boot from network).
> 2-after that,can i insert new H.D.D in missed places for recovery mirrored
> state(rpool) in each machine?
> Both machines have the same hardware,two H.D.D,and all H.D.D are the same
> charactristics and capacity.

Newer ZFS rpool thingies have the hostid stored in them, so it will
refuse to boot off that (because it might be in use from someone else
off shared storage or so).. You need to boot something else on the new
machine, then 'zpool import -f rpool', export it and reboot..

One way I guess, is to install another system with ufs root as well,
boot off that on the new one, stick the "removed mirror" from the first
system into the new system and 'zpool import -f rpool', export, reboot
onto the zfs disk..

After that, you can attach mirrors with 'zpool attach'.. might need to
run installboot on the second disk as well..

/Tomas
-- 
Tomas Ögren, st...@acc.umu.se, http://www.acc.umu.se/~stric/
|- Student at Computing Science, University of Umeå
`- Sysadmin at {cs,acc}.umu.se
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to