Luke Scammell
2009-Jan-20 13:05 UTC
[zfs-discuss] How do you "re-attach" a 3 disk RAIDZ array to a new OS installation?
Hi, I''m completely new to Solaris, but have managed to bumble through installing it to a single disk, creating an additional 3 disk RAIDZ array and then copying over data from a separate NTFS formatted disk onto the array using NTFS-3G. However, the single disk that was used for the OS installation has since died (it was very old) and I have had to reinstall 2008.11 from scratch onto a new disk. I would like to retain the data on those 3 disks (the RAIDZ array) and "reattach" (what''s the correct terminology here?) them to the new OS installation without losing any data. As I''m unsure of the terminology I should be using I''ve been unable to find anything by searching either online or in the forums. Any assistance would be greatly received, thanks :) -- This message posted from opensolaris.org
Craig Morgan
2009-Jan-20 13:47 UTC
[zfs-discuss] How do you "re-attach" a 3 disk RAIDZ array to a new OS installation?
Luke, You''re looking for a `zpool list`, followed by a `zpool import <poolname>` after Solaris has correctly recognised the attachment of the three original disks (ie. they appear in `format` and/or `cfgadm - al`). Complete docs here, now you know what you are looking for ... http://opensolaris.org/os/community/zfs/docs/zfsadmin.pdf HTH Craig On 20 Jan 2009, at 13:05, Luke Scammell wrote:> Hi, > > I''m completely new to Solaris, but have managed to bumble through > installing it to a single disk, creating an additional 3 disk RAIDZ > array and then copying over data from a separate NTFS formatted disk > onto the array using NTFS-3G. > > However, the single disk that was used for the OS installation has > since died (it was very old) and I have had to reinstall 2008.11 > from scratch onto a new disk. I would like to retain the data on > those 3 disks (the RAIDZ array) and "reattach" (what''s the correct > terminology here?) them to the new OS installation without losing > any data. > > As I''m unsure of the terminology I should be using I''ve been unable > to find anything by searching either online or in the forums. Any > assistance would be greatly received, thanks :) > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss-- Craig Craig Morgan t: +44 (0)791 338 3190 f: +44 (0)870 705 1726 e: craig.morgan at sun.com ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ NOTICE: This email message is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Darren J Moffat
2009-Jan-20 13:55 UTC
[zfs-discuss] How do you "re-attach" a 3 disk RAIDZ array to a new OS installation?
Luke Scammell wrote:> Hi, > > I''m completely new to Solaris, but have managed to bumble through installing it to a single disk, creating an additional 3 disk RAIDZ array and then copying over data from a separate NTFS formatted disk onto the array using NTFS-3G. > > However, the single disk that was used for the OS installation has since died (it was very old) and I have had to reinstall 2008.11 from scratch onto a new disk. I would like to retain the data on those 3 disks (the RAIDZ array) and "reattach" (what''s the correct terminology here?) them to the new OS installation without losing any data. > > As I''m unsure of the terminology I should be using I''ve been unable to find anything by searching either online or in the forums. Any assistance would be greatly received, thanks :)zpool import Without any other arguments will show what pools are available for import. Then run zpool import again with the name of the pool or the pool guid. -- Darren J Moffat