Re: [OmniOS-discuss] need to change c17d0 to c15d0
Did you try "zpool replace" ? Dan Sent from my iPhone (typos, autocorrect, and all) > On Nov 19, 2014, at 9:50 AM, Rune Tipsmark wrote: > > Ok, no other option? I am physically not near and its “just” a test pool so I > can kill it and start over. > If I try the import option, should it recognize the metadata of the devices > and reuse it? > Br, > Rune > > From: Scott LeFevre [mailto:slefe...@indy.rr.com] > Sent: Wednesday, November 19, 2014 6:47 AM > To: Rune Tipsmark > Cc: omnios-discuss@lists.omniti.com > Subject: Re: [OmniOS-discuss] need to change c17d0 to c15d0 > > Put the drive/hba back and then export your pool (zpool export pool-name). > Then move the drive/hba and import the pool (zpool import pool-name). > If putting the drive/hba back isn't an option, you could try a forced import > with 'zpool import -f pool-name'. > > Cheers, > -- > Scott LeFevre > 317-696-1010 > > On Wed, 2014-11-19 at 14:36 +, Rune Tipsmark wrote: > I moved one of my PCI-E IOdrives and the disks changed from c14d0 and c15d0 > to c16d0 and c17d0 > > How do I change it back so I can get my pool back online? > > > > 32. c16d0 > > > /pci@79,0/pci8086,3c02@1/pci10b5,8616@0/pci10b5,8616@5/pci103c,178e@0 > > 33. c17d0 > > > /pci@79,0/pci8086,3c02@1/pci10b5,8616@0/pci10b5,8616@6/pci103c,178e@0 > > > > Br, > > Rune > > > > > > ___ > OmniOS-discuss mailing list > OmniOS-discuss@lists.omniti.com > http://lists.omniti.com/mailman/listinfo/omnios-discuss > ___ > OmniOS-discuss mailing list > OmniOS-discuss@lists.omniti.com > http://lists.omniti.com/mailman/listinfo/omnios-discuss ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] need to change c17d0 to c15d0
Zpool destroy pool02 and then zpool import -f pool02 worked. Br, Rune -Original Message- From: Bob Friesenhahn [mailto:bfrie...@simple.dallas.tx.us] Sent: Wednesday, November 19, 2014 7:24 AM To: Rune Tipsmark Cc: omnios-discuss@lists.omniti.com Subject: RE: [OmniOS-discuss] need to change c17d0 to c15d0 On Wed, 19 Nov 2014, Rune Tipsmark wrote: > Ok makes sense, but can I just destroy my current pool in the failed > state and then import it with the -f option and it should show up with > all 4 drives... That is actually a bit more work for you since two of the drives would be orphaned and look like they come from the former pool. They will not be "destroyed" while they are still in state UNAVAIL. It will take a bit more work to re-use these orphaned drives since zfs has precautions to avoid accidentally overwriting drives which are already in a pool. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] need to change c17d0 to c15d0
On Wed, 19 Nov 2014, Rune Tipsmark wrote: Ok makes sense, but can I just destroy my current pool in the failed state and then import it with the -f option and it should show up with all 4 drives... That is actually a bit more work for you since two of the drives would be orphaned and look like they come from the former pool. They will not be "destroyed" while they are still in state UNAVAIL. It will take a bit more work to re-use these orphaned drives since zfs has precautions to avoid accidentally overwriting drives which are already in a pool. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] need to change c17d0 to c15d0
Ok makes sense, but can I just destroy my current pool in the failed state and then import it with the -f option and it should show up with all 4 drives... pool: pool02 state: UNAVAIL status: One or more devices could not be opened. There are insufficient replicas for the pool to continue functioning. action: Attach the missing device and online it using 'zpool online'. see: http://illumos.org/msg/ZFS-8000-3C scan: none requested config: NAMESTATE READ WRITE CKSUM CAPProduct /napp-it IOstat mess pool02 UNAVAIL 0 0 0 insufficient replicas c12d0 ONLINE 0 0 0 c13d0 ONLINE 0 0 0 c14d0 UNAVAIL 0 0 0 cannot open c15d0 UNAVAIL 0 0 0 cannot open -Original Message- From: Bob Friesenhahn [mailto:bfrie...@simple.dallas.tx.us] Sent: Wednesday, November 19, 2014 7:00 AM To: Rune Tipsmark Cc: omnios-discuss@lists.omniti.com Subject: Re: [OmniOS-discuss] need to change c17d0 to c15d0 On Wed, 19 Nov 2014, Rune Tipsmark wrote: > > Ok, no other option? I am physically not near and its “just” a test pool so I > can kill it and start over. > > If I try the import option, should it recognize the metadata of the devices > and reuse it? Zfs puts identifying information on all the pool disks so that they may be properly imported by pool name without regard for device identifiers. 'zpool import' scans all of the available devices, searching for devices which are in that pool. If you don't want to physically move the drives again, then just re-import the pool. It is always a good idea to export a pool before moving its drives around and then import the pool afterward. Usually it just takes a few seconds to import the pool. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] need to change c17d0 to c15d0
On Wed, 19 Nov 2014, Rune Tipsmark wrote: Ok, no other option? I am physically not near and its “just” a test pool so I can kill it and start over. If I try the import option, should it recognize the metadata of the devices and reuse it? Zfs puts identifying information on all the pool disks so that they may be properly imported by pool name without regard for device identifiers. 'zpool import' scans all of the available devices, searching for devices which are in that pool. If you don't want to physically move the drives again, then just re-import the pool. It is always a good idea to export a pool before moving its drives around and then import the pool afterward. Usually it just takes a few seconds to import the pool. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] need to change c17d0 to c15d0
On Nov 19, 2014, at 6:36 AM, Rune Tipsmark wrote: > I moved one of my PCI-E IOdrives and the disks changed from c14d0 and c15d0 > to c16d0 and c17d0 > How do I change it back so I can get my pool back online? In most cases, you don't need to change it, just import. -- richard > > 32. c16d0 > > /pci@79,0/pci8086,3c02@1/pci10b5,8616@0/pci10b5,8616@5/pci103c,178e@0 > 33. c17d0 > > /pci@79,0/pci8086,3c02@1/pci10b5,8616@0/pci10b5,8616@6/pci103c,178e@0 > > Br, > Rune > > ___ > OmniOS-discuss mailing list > OmniOS-discuss@lists.omniti.com > http://lists.omniti.com/mailman/listinfo/omnios-discuss ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] need to change c17d0 to c15d0
Ok, no other option? I am physically not near and its “just” a test pool so I can kill it and start over. If I try the import option, should it recognize the metadata of the devices and reuse it? Br, Rune From: Scott LeFevre [mailto:slefe...@indy.rr.com] Sent: Wednesday, November 19, 2014 6:47 AM To: Rune Tipsmark Cc: omnios-discuss@lists.omniti.com Subject: Re: [OmniOS-discuss] need to change c17d0 to c15d0 Put the drive/hba back and then export your pool (zpool export pool-name). Then move the drive/hba and import the pool (zpool import pool-name). If putting the drive/hba back isn't an option, you could try a forced import with 'zpool import -f pool-name'. Cheers, -- Scott LeFevre 317-696-1010 On Wed, 2014-11-19 at 14:36 +, Rune Tipsmark wrote: I moved one of my PCI-E IOdrives and the disks changed from c14d0 and c15d0 to c16d0 and c17d0 How do I change it back so I can get my pool back online? 32. c16d0 /pci@79,0/pci8086,3c02@1/pci10b5,8616@0/pci10b5,8616@5/pci103c,178e@0 33. c17d0 /pci@79,0/pci8086,3c02@1/pci10b5,8616@0/pci10b5,8616@6/pci103c,178e@0 Br, Rune ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com<mailto:OmniOS-discuss@lists.omniti.com> http://lists.omniti.com/mailman/listinfo/omnios-discuss ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
Re: [OmniOS-discuss] need to change c17d0 to c15d0
Put the drive/hba back and then export your pool (zpool export pool-name). Then move the drive/hba and import the pool (zpool import pool-name). If putting the drive/hba back isn't an option, you could try a forced import with 'zpool import -f pool-name'. Cheers, -- Scott LeFevre 317-696-1010 On Wed, 2014-11-19 at 14:36 +, Rune Tipsmark wrote: > I moved one of my PCI-E IOdrives and the disks changed from c14d0 and > c15d0 to c16d0 and c17d0 > > How do I change it back so I can get my pool back online? > > > > 32. c16d0 > > > /pci@79,0/pci8086,3c02@1/pci10b5,8616@0/pci10b5,8616@5/pci103c,178e@0 > > 33. c17d0 > > > /pci@79,0/pci8086,3c02@1/pci10b5,8616@0/pci10b5,8616@6/pci103c,178e@0 > > > > Br, > > Rune > > > > > > ___ > OmniOS-discuss mailing list > OmniOS-discuss@lists.omniti.com > http://lists.omniti.com/mailman/listinfo/omnios-discuss ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss
[OmniOS-discuss] need to change c17d0 to c15d0
I moved one of my PCI-E IOdrives and the disks changed from c14d0 and c15d0 to c16d0 and c17d0 How do I change it back so I can get my pool back online? 32. c16d0 /pci@79,0/pci8086,3c02@1/pci10b5,8616@0/pci10b5,8616@5/pci103c,178e@0 33. c17d0 /pci@79,0/pci8086,3c02@1/pci10b5,8616@0/pci10b5,8616@6/pci103c,178e@0 Br, Rune ___ OmniOS-discuss mailing list OmniOS-discuss@lists.omniti.com http://lists.omniti.com/mailman/listinfo/omnios-discuss