Hi there, My zpool tank has been chugging along nicely but after a failed attempt at offlining a misbehaving drive I''ve got a wierd sitation. pool: tank state: DEGRADED status: One or more devices has been taken offline by the administrator. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Online the device using ''zpool online'' or replace the device with ''zpool replace''. scrub: none requested config: NAME STATE READ WRITE CKSUM tank DEGRADED 0 0 0 raidz1-0 DEGRADED 0 0 0 c7t0d0 ONLINE 0 0 0 c7t4d0 ONLINE 0 0 0 c7t1d0 ONLINE 0 0 0 c7t3d0 ONLINE 0 0 0 c7t2d0 ONLINE 0 0 0 c7t3d0 OFFLINE 0 0 0 errors: No known data errors Why does that particular drive appear twice? I am on SNV_134. They are 6x500Gb Western Digital RE drives. I have a spare 500Gb on another controller (c0t0d0) which I want to use to keep replace the (probably dying) drive but I''m not sure I can do this and it will correctly remove the one I want: # zpool replace tank c7t3d0 c0t0d0 Any ideas? Gracias, Andre _________________________________________________________________ New, Used, Demo, Dealer or Private? Find it at CarPoint.com.au http://clk.atdmt.com/NMN/go/206222968/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100521/17b0b9c2/attachment.html>
Andreas, Does the pool tank actually have 6 disks c7t0-c7t5 and c7t3d0 is now masking c7t5d0 or it is a 5-disk configuration with c7t5 repeated twice? If it is the first case (c7t0-c7t5), then I would check how these devices are connected before attempting to replace the c7t3d0 disk. What does the format utility display for these devices? I haven''t seen this error but others on this list have resolved this problem by exporting and importing the pool. Always have good backups of your data. Thanks, Cindy On 05/21/10 03:26, Andreas Iannou wrote:> Hi there, > > My zpool tank has been chugging along nicely but after a failed attempt > at offlining a misbehaving drive I''ve got a wierd sitation. > > pool: tank > state: DEGRADED > status: One or more devices has been taken offline by the administrator. > Sufficient replicas exist for the pool to continue functioning in a > degraded state. > action: Online the device using ''zpool online'' or replace the device with > ''zpool replace''. > scrub: none requested > config: > NAME STATE READ WRITE CKSUM > tank DEGRADED 0 0 0 > raidz1-0 DEGRADED 0 0 0 > c7t0d0 ONLINE 0 0 0 > c7t4d0 ONLINE 0 0 0 > c7t1d0 ONLINE 0 0 0 > *c7t3d0 ONLINE 0 0 0* > c7t2d0 ONLINE 0 0 0 > *c7t3d0 OFFLINE 0 0 0* > errors: No known data errors > > Why does that particular drive appear twice? I am on SNV_134. They are > 6x500Gb Western Digital RE drives. I have a spare 500Gb on another > controller (c0t0d0) which I want to use to keep replace the (probably > dying) drive but I''m not sure I can do this and it will correctly remove > the one I want: > > # zpool replace tank c7t3d0 c0t0d0 > > Any ideas? > > Gracias, > Andre > > ------------------------------------------------------------------------ > Find it at CarPoint.com.au New, Used, Demo, Dealer or Private? > <http://clk.atdmt.com/NMN/go/206222968/direct/01/> > > > ------------------------------------------------------------------------ > > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Hello Cindy,> Does the pool tank actually have 6 disks c7t0-c7t5 and c7t3d0 is now > masking c7t5d0 or it is a 5-disk configuration with c7t5 repeated twice?There are 6 disks connected onto the onboard Intel SATA controller (this is a home NAS). There are another four that represent 2x for the rpool and 2x for another zpool for backup snapshots from our Macs. The thing is that I removed the motherboard and everything from the case to see which drive was causing issues, I may have swapped the order of the drives around and confused ZFS.> What does the format utility display for these devices?Format presents it correctly. 4. c7t0d0 /pci at 0,0/pci1458,b002 at 11/disk at 0,0 5. c7t1d0 /pci at 0,0/pci1458,b002 at 11/disk at 1,0 6. c7t2d0 /pci at 0,0/pci1458,b002 at 11/disk at 2,0 7. c7t3d0 /pci at 0,0/pci1458,b002 at 11/disk at 3,0 8. c7t4d0 /pci at 0,0/pci1458,b002 at 11/disk at 4,0 9. c7t5d0 /pci at 0,0/pci1458,b002 at 11/disk at 5,0> others on this list have resolved this > problem by exporting and importing the pool.Can you still export a pool when a disk is offline? Cheers, Andre> Date: Fri, 21 May 2010 11:51:13 -0600 > From: cindy.swearingen at oracle.com > To: andreas_wants_the_work at hotmail.com > CC: zfs-discuss at opensolaris.org > Subject: Re: [zfs-discuss] Tank zpool has tanked out :( > > Andreas, > > Does the pool tank actually have 6 disks c7t0-c7t5 and c7t3d0 is now > masking c7t5d0 or it is a 5-disk configuration with c7t5 repeated twice? > If it is the first case (c7t0-c7t5), then I would check how these > devices are connected before attempting to replace the c7t3d0 disk. > > What does the format utility display for these devices? > > I haven''t seen this error but others on this list have resolved this > problem by exporting and importing the pool. > > Always have good backups of your data. > > Thanks, > > Cindy >_________________________________________________________________ If It Exists, You''ll Find it on SEEK. Australia''s #1 job site http://clk.atdmt.com/NMN/go/157639755/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100522/7c9b4359/attachment.html>
On Fri, May 21, 2010 at 5:39 PM, Andreas Iannou <andreas_wants_the_work at hotmail.com> wrote:> Can you still export a pool when a disk is offline?You can try booting from a live CD and doing ''zpool import -f'', then export it. That may sort things out. You may also need to remove /etc/zfs/zpool.cache from your BE, but I''m not sure. -B -- Brandon High : bhigh at freaks.com
This worked perfecto! deleted the zpool.cache, rebooted lost all my zpools and just reimported them and tank came back to me! Thanks, Andre> Date: Fri, 21 May 2010 19:06:41 -0700 > Subject: Re: [zfs-discuss] Tank zpool has tanked out :( > From: bhigh at freaks.com > To: andreas_wants_the_work at hotmail.com > CC: cindy.swearingen at oracle.com; zfs-discuss at opensolaris.org > > On Fri, May 21, 2010 at 5:39 PM, Andreas Iannou > <andreas_wants_the_work at hotmail.com> wrote: > > Can you still export a pool when a disk is offline? > > You can try booting from a live CD and doing ''zpool import -f'', then > export it. That may sort things out. > > You may also need to remove /etc/zfs/zpool.cache from your BE, but I''m not sure. > > -B > > -- > Brandon High : bhigh at freaks.com_________________________________________________________________ New, Used, Demo, Dealer or Private? Find it at CarPoint.com.au http://clk.atdmt.com/NMN/go/206222968/direct/01/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.opensolaris.org/pipermail/zfs-discuss/attachments/20100524/1fe03a7b/attachment.html>