Hello Karen,


Thursday, January 18, 2007, 6:43:24 PM, you wrote:


>

How do you reconfigure ZFS on the server after an OS upgrade?   I have a ZFS pool on a 6130 storge array.

After upgrade the data on the storage array is still intact, but ZFS configuration is gone due to new OS.


Do I use the same commands/procedure to recreate the zpool, ie.

# zpool create canary raidz c2t1d0 c2t2d0 c2t3d0 


Does the create command destroy data on the disks? 


--OR-- 


Should I restore /etc/zfs/zpool.cache on the new OS (assuming we have a good backup)?? 




I'm surprised there's no zpool.cache after upgrade - it should be and your pools should have imported

automatically. I guess you've actually re-installed system. 


Anyway DO NOT re-create pool as you'll lost your data. zpool won't allow you to do it by default (without force option).

Just do 'zpool import pool_name'


Or first 'zpool import' to get a list of available pools to import.

As Dana pointed out if you haven't exported pools you would need to forcefully import it.



-- 

Best regards,

 Robert                            mailto:[EMAIL PROTECTED]

                                       http://milek.blogspot.com

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to