Hi Karl,

Karl Pielorz wrote:
> I'm a new ZFS convert (so far, I've only been impressed by ZFS) - I'm 
> running it under FreeBSD 7 atm.
> I've got to 'shuffle' all the underlying devices around on my raidz pool - 
> so their device names will all either change (e.g. "da0" will become "ad4") 
> - or the devices will get 'jumbled up' (e.g. "ad16" will become "ad22"). 
> I've read bits and pieces about this - from what I've read, I need to do a 
> 'zpool export' on the pool, shutdown the system - replace the controllers - 
> run it all up, then do a 'zpool import'?

Well .... you might need to do that on FreeBSD, I don't know for
sure. On Solaris you wouldn't need to do that because we use devids
(device ids) which help us to identify and track device movements.

You can read a bit more about it in my presentation

http://www.jmcp.homeunix.com/~jmcp/WhatIsAGuid.pdf

(and if you were in Brisbane, Australia tomorrow you could
  hear me deliver it in person @ HUMBUG http://www.humbug.org.au)

ahem. Shameless self-promotion ends :)


> The man page mentions, a 'zpool import' will search '/dev/dsk' or another 
> directory I give it - here's hoping the FreeBSD port knows how to find the 
> disks under /dev? :-)

It should. I trust PJD's implementation - as far as I'm aware
he's got everything else right!

> Finally - if I do this and it all goes horribly wrong, presumably putting 
> the old controllers back in place, with the drives in the 'right' positions 
> - a 'zpool import' will work?

I would hope so.


cheers,
James C. McPherson
--
Senior Kernel Software Engineer, Solaris
Sun Microsystems
http://blogs.sun.com/jmcp       http://www.jmcp.homeunix.com/blog
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to