Havard Kruger
2009-Dec-27 16:44 UTC
[zfs-discuss] Can I destroy a Zpool without importing it?
Hi, in the process of building a new fileserver and I''m currently playing around with various operating systems, I created a pool in Solaris, before I decided to try OpenSolaris aswell, so I installed OpenSolaris 20009.06, but I forgot to destroy the pool I created in Solaris, so now I can''t import it because it''s a newer version of ZFS in Solaris then it is in OpenSolaris. And I can not seem to find a way to destroy the pool without importing it first. I guess I could format the drives in another OS, but that is alot more work then it should be. Is there any way to do this in OpenSolaris? -- This message posted from opensolaris.org
Sriram Narayanan
2009-Dec-27 16:55 UTC
[zfs-discuss] Can I destroy a Zpool without importing it?
opensolaris has a newer version of ZFS than Solaris. What you have is a pool that was not marked as exported for use on a different OS install. Simply force import the pool using zpool import -f -- Sriram On 12/27/09, Havard Kruger <hvakrg at broadpark.no> wrote:> Hi, in the process of building a new fileserver and I''m currently playing > around with various operating systems, I created a pool in Solaris, before I > decided to try OpenSolaris aswell, so I installed OpenSolaris 20009.06, but > I forgot to destroy the pool I created in Solaris, so now I can''t import it > because it''s a newer version of ZFS in Solaris then it is in OpenSolaris. > > And I can not seem to find a way to destroy the pool without importing it > first. I guess I could format the drives in another OS, but that is alot > more work then it should be. Is there any way to do this in OpenSolaris? > -- > This message posted from opensolaris.org > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-- Sent from my mobile device
Sriram Narayanan
2009-Dec-27 16:58 UTC
[zfs-discuss] Can I destroy a Zpool without importing it?
Also, if you don''t care about the existing pool and want to create a new pool one the same devices, you can go ahead and do so. The format command will list the storage devices available to you. -- Sriram On 12/27/09, Sriram Narayanan <sriram at belenix.org> wrote:> opensolaris has a newer version of ZFS than Solaris. What you have is > a pool that was not marked as exported for use on a different OS > install. > > Simply force import the pool using zpool import -f > > -- Sriram > > On 12/27/09, Havard Kruger <hvakrg at broadpark.no> wrote: >> Hi, in the process of building a new fileserver and I''m currently playing >> around with various operating systems, I created a pool in Solaris, before >> I >> decided to try OpenSolaris aswell, so I installed OpenSolaris 20009.06, >> but >> I forgot to destroy the pool I created in Solaris, so now I can''t import >> it >> because it''s a newer version of ZFS in Solaris then it is in OpenSolaris. >> >> And I can not seem to find a way to destroy the pool without importing it >> first. I guess I could format the drives in another OS, but that is alot >> more work then it should be. Is there any way to do this in OpenSolaris? >> -- >> This message posted from opensolaris.org >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >> > > -- > Sent from my mobile device >-- Sent from my mobile device
Colin Raven
2009-Dec-27 17:02 UTC
[zfs-discuss] Can I destroy a Zpool without importing it?
Are there any negative consequences as a result of a force import? I mean STUNT; "Sudden Totally Unexpected and Nasty Things" -Me On Sun, Dec 27, 2009 at 17:55, Sriram Narayanan <sriram at belenix.org> wrote:> opensolaris has a newer version of ZFS than Solaris. What you have is > a pool that was not marked as exported for use on a different OS > install. > > Simply force import the pool using zpool import -f > > -- Sriram > > On 12/27/09, Havard Kruger <hvakrg at broadpark.no> wrote: > > Hi, in the process of building a new fileserver and I''m currently playing > > around with various operating systems, I created a pool in Solaris, > before I > > decided to try OpenSolaris aswell, so I installed OpenSolaris 20009.06, > but > > I forgot to destroy the pool I created in Solaris, so now I can''t import > it > > because it''s a newer version of ZFS in Solaris then it is in OpenSolaris. > > > > And I can not seem to find a way to destroy the pool without importing it > > first. I guess I could format the drives in another OS, but that is alot > > more work then it should be. Is there any way to do this in OpenSolaris? > > -- > > This message posted from opensolaris.org > > _______________________________________________ > > zfs-discuss mailing list > > zfs-discuss at opensolaris.org > > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss > > > > -- > Sent from my mobile device > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20091227/da223ffe/attachment.html>
A Darren Dunham
2009-Dec-30 00:15 UTC
[zfs-discuss] Can I destroy a Zpool without importing it?
On Sun, Dec 27, 2009 at 06:02:18PM +0100, Colin Raven wrote:> Are there any negative consequences as a result of a force import? I mean > STUNT; "Sudden Totally Unexpected and Nasty Things" > -MeIf the pool is not in use, no. It''s a safety check to avoid problems that can easily crop up when storage can be seen by multiple machines. If your pool is imported on machine A and you force import it on machine B at the same time, you will corrupt the pool. -- Darren