[zfs-discuss] Gen-ATA read sector errors
Hi, my system is running oi148 on a super micro X8SIL-F board. I have two pools (2 disc mirror, 4 disc RAIDZ) with RAID level SATA drives. (Hitachi HUA72205 and SAMSUNG HE103UJ). The system runs as expected however every few days (sometimes weeks) the system comes to a halt due to these errors: Dec 3 13:51:20 nasjpk gda: [ID 107833 kern.warning] WARNING: /pci@0,0/pci-ide@1f,2/ide@1/cmdk@0,0 (Disk1): Dec 3 13:51:20 nasjpk Error for commandX \'read sector\' Error Level: Fatal Dec 3 13:51:20 nasjpk gda: [ID 107833 kern.notice] Requested Block 5503936, Error Block: 5503936 Dec 3 13:51:20 nasjpk gda: [ID 107833 kern.notice] Sense Key: uncorrectable data error Dec 3 13:51:20 nasjpk gda: [ID 107833 kern.notice] Vendor \'Gen-ATA \' error code: XX7 It is not related to this one disk. It happens on all disks. Sometimes several are listed before the system crashes, sometimes just one. I cannot pinpoint it to a single defect disk though (and already have replaced the disks). I suspect that this is an error with the SATA controller or the driver. Can someone give me a hint on whether or not that assumption sounds feasible? I am planning on getting a new cheap 6-8 way SATA2 or SATA3 controller and switch over the drives to that controller. If it is driver/controller related the problem should disappear. Is it possible to simply reconnect the drives and all is going to be well or will I have to reinstall due to different SATA layouts on the disks or alike? Kind regards, JP ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Gen-ATA read sector errors
On Thu, Jul 28, 2011 at 01:55:27PM +0200, Koopmann, Jan-Peter wrote: Hi, my system is running oi148 on a super micro X8SIL-F board. I have two pools (2 disc mirror, 4 disc RAIDZ) with RAID level SATA drives. (Hitachi HUA72205 and SAMSUNG HE103UJ). The system runs as expected however every few days (sometimes weeks) the system comes to a halt due to these errors: Dec 3 13:51:20 nasjpk gda: [ID 107833 kern.warning] WARNING: /pci@0,0/pci-ide@1f,2/ide@1/cmdk@0,0 (Disk1): Dec 3 13:51:20 nasjpk Error for commandX \'read sector\' Error Level: Fatal Dec 3 13:51:20 nasjpk gda: [ID 107833 kern.notice] Requested Block 5503936, Error Block: 5503936 Dec 3 13:51:20 nasjpk gda: [ID 107833 kern.notice] Sense Key: uncorrectable data error Dec 3 13:51:20 nasjpk gda: [ID 107833 kern.notice] Vendor \'Gen-ATA \' error code: XX7 It is not related to this one disk. It happens on all disks. Sometimes several are listed before the system crashes, sometimes just one. I cannot I tend to agree, that the IDE driver seems to have a problem: I.e. on our machines (HP Z400 with a 0B4Ch-D MB with a 82801JI (ICH10 Family) controller) using a rpool 2-way mirror of WDC WD5000AAKS HDDs) we also see sometimes, that one drive got disabled dueto too many errors. zpool clear revives the pool (i.e. the HDD gets resilvered very quickly without any problem) 'til it occures again (i.e. after some days, weeks, or months). Unfortunately we couldn't find a procedure to reproduce the problem (e.g. like for the Marvell ctrl in the early days). Regards, jel. -- Otto-von-Guericke University http://www.cs.uni-magdeburg.de/ Department of Computer Science Geb. 29 R 027, Universitaetsplatz 2 39106 Magdeburg, Germany Tel: +49 391 67 12768 ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Adding mirrors to an existing zfs-pool]
On Tue, July 26, 2011 09:55, Cindy Swearingen wrote: Subject: Re: [zfs-discuss] Adding mirrors to an existing zfs-pool Date: Tue, 26 Jul 2011 08:54:38 -0600 From: Cindy Swearingen cindy.swearin...@oracle.com To: Bernd W. Hennig consult...@hennig-consulting.com References: 342994905.11311662049567.JavaMail.Twebapp@sf-app1 Hi Bernd, If you are talking about attaching 4 new disks to a non redundant pool with 4 disks, and then you want to detach the previous disks then yes, this is possible and a good way to migrate to new disks. The new disks must be the equivalent size or larger than the original disks. See the hypothetical example below. If you mean something else, then please provide your zpool status output. Thanks, Cindy # zpool status tank pool: tank state: ONLINE scan: resilvered 1018K in 0h0m with 0 errors on Fri Jul 22 15:54:52 2011 config: NAMESTATE READ WRITE CKSUM tankONLINE 0 0 0 c4t1d0 ONLINE 0 0 0 c4t2d0 ONLINE 0 0 0 c4t3d0 ONLINE 0 0 0 c4t4d0 ONLINE 0 0 0 # zpool attach tank c4t1d0 c6t1d0 # zpool attach tank c4t2d0 c6t2d0 # zpool attach tank c4t3d0 c6t3d0 # zpool attach tank c4t4d0 c6t4d0 The above syntax will create 4 mirrored pairs of disks. I was somewhat surprised when I first learned of this. In my head, I now remember it as a single disk in ZFS seems to be treated as a one-disk mirror. Previously, in my head, single disks were very different objects from mirrors! I'm still impressed by the ability to attach and detach arbitrary numbers of disks to mirrors. It makes upgrading mirrored disks very very safe, since I can perform the entire procedure without ever reducing redundancy below my starting point (using the classic attach new, resilver, detach old sequence, repeated for however many disks were in the original mirror). -- David Dyer-Bennet, d...@dd-b.net; http://dd-b.net/ Snapshots: http://dd-b.net/dd-b/SnapshotAlbum/data/ Photos: http://dd-b.net/photography/gallery/ Dragaera: http://dragaera.info ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Adding mirrors to an existing zfs-pool]
On Thu, 28 Jul 2011, David Dyer-Bennet wrote: I'm still impressed by the ability to attach and detach arbitrary numbers of disks to mirrors. It makes upgrading mirrored disks very very safe, Zfs mirrors are super-cool. They are really flexible and recover quickly. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] SSD vs hybrid drive - any advice?
On Wed, Jul 27, 2011 at 9:22 PM, Daniel Carosone d...@geek.com.au wrote: Absent TRIM support, there's another way to do this, too. It's pretty easy to dd /dev/zero to a file now and then. Just make sure zfs doesn't prevent these being written to the SSD (compress and dedup are off). I have a separate fill dataset for this purpose, to avoid keeping these zeros in auto-snapshots too. Nice. Seems to me that it'd be nicer to have an interface to raw flash (no wear leveling, direct access to erasure, read, write, read-modify-write [as an optimization]). Then the filesystem could do a much better job of using flash efficiently. But a raw interface wouldn't be a disk-compatible interface. Nico -- ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] Recover data from detached ZFS mirror
Does anyone know where the Jeff Bonwick tool to recover a ZFS label is? The old link was: http://www.mail-archive.com/zfs-discuss@opensolaris.org/msg15620.html But it does not exist anymore. I have a zfs detached disk that was part of a root mirror and I need to boot from it. Thank you for any information. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Recover data from detached ZFS mirror
Hi Judy, Without much to go on, let's try the easier task first. Is it possible that you can re-attach the detached disk back to original root mirror disk? Thanks, Cindy On 07/28/11 13:16, Judy Wheeler (QTSI) X7567 wrote: Does anyone know where the Jeff Bonwick tool to recover a ZFS label is? The old link was: http://www.mail-archive.com/zfs-discuss@opensolaris.org/msg15620.html But it does not exist anymore. I have a zfs detached disk that was part of a root mirror and I need to boot from it. Thank you for any information. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Recover data from detached ZFS mirror
Hi Cindy, Well, the other half of the zfs mirror is on a truck via snail mail to another location. We thought we were saving a copy of the root disk when we did a zfs detach. We didn't know it would remove the zfs label information. Is there a way to get the disk back to a bootable state? Thanks, --Judy-- Hi Judy, Without much to go on, let's try the easier task first. Is it possible that you can re-attach the detached disk back to original root mirror disk? Thanks, Cindy On 07/28/11 13:16, Judy Wheeler (QTSI) X7567 wrote: Does anyone know where the Jeff Bonwick tool to recover a ZFS label is? The old link was: http://www.mail-archive.com/zfs-discuss@opensolaris.org/msg15620.html But it does not exist anymore. I have a zfs detached disk that was part of a root mirror and I need to boot from it. Thank you for any information. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss Judy Wheeler System Administrator (321) 494-7567 Patrick AFB Quantum Technology Services, Inc.(321) 799-9655 QTSI 1980 N. Atlantic Blvd. (321) 749-1620 Cell Phone Cocoa Beach, FL. 32931 ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] SSD vs hybrid drive - any advice?
On Thu, 28 Jul 2011, Nico Williams wrote: Seems to me that it'd be nicer to have an interface to raw flash (no wear leveling, direct access to erasure, read, write, read-modify-write [as an optimization]). Then the filesystem could do a much better job of using flash efficiently. But a raw interface wouldn't be a disk-compatible interface. Do you mean like as is already done by Linux UBI and ubifs? http://www.linux-mtd.infradead.org/doc/ubi.html http://www.linux-mtd.infradead.org/doc/ubifs.html This sort of thing is already done in embedded devices. Bob -- Bob Friesenhahn bfrie...@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer,http://www.GraphicsMagick.org/ ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Re: [zfs-discuss] Recover data from detached ZFS mirror
Hi Judy, The disk label of the detached disk is intact but the pool info is no longer accessible so no easy way exists to solve this problem. Its not simply a matter of getting the boot info back on there, its the pool info. Your disk will have to meet up with its other half before it can be bootable again is my assessment. Many experts are on this list so maybe they will have a suggestion. Thanks, Cindy On 07/28/11 13:37, Judy Wheeler (QTSI) X7567 wrote: Hi Cindy, Well, the other half of the zfs mirror is on a truck via snail mail to another location. We thought we were saving a copy of the root disk when we did a zfs detach. We didn't know it would remove the zfs label information. Is there a way to get the disk back to a bootable state? Thanks, --Judy-- Hi Judy, Without much to go on, let's try the easier task first. Is it possible that you can re-attach the detached disk back to original root mirror disk? Thanks, Cindy On 07/28/11 13:16, Judy Wheeler (QTSI) X7567 wrote: Does anyone know where the Jeff Bonwick tool to recover a ZFS label is? The old link was: http://www.mail-archive.com/zfs-discuss@opensolaris.org/msg15620.html But it does not exist anymore. I have a zfs detached disk that was part of a root mirror and I need to boot from it. Thank you for any information. ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss Judy Wheeler System Administrator (321) 494-7567 Patrick AFB Quantum Technology Services, Inc.(321) 799-9655 QTSI 1980 N. Atlantic Blvd. (321) 749-1620 Cell Phone Cocoa Beach, FL. 32931 ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] locate any file
Hello All, is there a way where I can locking where a file on my pool is? I mean is there a way where i can see where/on which HD zfs is saving a file. root@ripley:~# zpool list NAMESIZE ALLOC FREECAP DEDUP HEALTH ALTROOT archepool 5,44T 4,40T 1,04T80% 1.00x ONLINE - root@ripley:~# zpool status archepool pool: archepool state: ONLINE scan: scrub repaired 0 in 8h5m with 0 errors on Sun Jul 24 19:05:28 2011 config: NAME STATE READ WRITE CKSUM archepool ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 c1t50024E9003CE0317d0 ONLINE 0 0 0 c1t50024E9003CF7685d0 ONLINE 0 0 0 mirror-1 ONLINE 0 0 0 c1t50024E9003CE031Bd0 ONLINE 0 0 0 c1t50024E9003CE0368d0 ONLINE 0 0 0 mirror-2 ONLINE 0 0 0 c1t5000CCA369CA262Bd0 ONLINE 0 0 0 c1t5000CCA369CBF60Cd0 ONLINE 0 0 0 errors: No known data errors -- Best Regards Alexander Juli, 28 2011 ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
[zfs-discuss] booting from ashift=12 pool..
.. evidently doesn't work. GRUB reboots the machine moments after loading stage2, and doesn't recognise the fstype when examining the disk loaded from an alernate source. This is with SX-151. Here's hoping a future version (with grub2?) resolves this, as well as lets us boot from raidz. Just a note for the archives in case it helps someone else get back the afternoon I just burnt. -- Dan. pgpYTwogX3ZYl.pgp Description: PGP signature ___ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss