Luca Morettoni
2008-Aug-21 12:55 UTC
[zfs-discuss] error found while scubbing, how to fix it?
Hi, this is mi first post in this list! I have OpenSolaris (snv_95) installed into my laptop (single sata disk) and tomorrow I updated my pool with: # zpool -V 11 -a and after I start a scrub into the pool with: # zpool scrub rpool it found this (after 80% of scrubbing done): # zpool status -vx pool: rpool state: ONLINE status: One or more devices has experienced an error resulting in data corruption. Applications may be affected. action: Restore the file in question if possible. Otherwise restore the entire pool from backup. see: http://www.sun.com/msg/ZFS-8000-8A scrub: scrub in progress for 0h29m, 99.49% done, 0h0m to go config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 4 c5t0d0s0 ONLINE 0 0 4 errors: Permanent errors have been detected in the following files: <metadata>:<0x0> if I run again the status command I have: # zpool status -vx pool: rpool state: ONLINE status: One or more devices has experienced an unrecoverable error. An attempt was made to correct the error. Applications are unaffected. action: Determine if the device needs to be replaced, and clear the errors using ''zpool clear'' or replace the device with ''zpool replace''. see: http://www.sun.com/msg/ZFS-8000-9P scrub: scrub completed after 0h29m with 8 errors on Thu Aug 21 14:43:03 2008 config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 4 c5t0d0s0 ONLINE 0 0 4 errors: No known data errors I have checked all data and seem to be ok, I need to buy another HD (is only 2 weeks old!!) or I can check other thinks? Thanks! -- Luca Morettoni <luca(AT)morettoni(DOT)net> - http://morettoni.net GPG key 0xD69411BB: C329 AED4 5923 1982 6F12 3036 B51E 664F D694 11BB jugUmbria founder - https://jugUmbria.dev.java.net/ | Thawte notary ITL-OSUG leader - http://www.opensolaris.org/os/project/itl-osug/
Luca Morettoni
2008-Aug-21 14:45 UTC
[zfs-discuss] error found while scubbing, how to fix it?
On 08/21/08 14:55, Luca Morettoni wrote:> Hi, this is mi first post in this list! > I have OpenSolaris (snv_95) installed into my laptop (single sata disk) > and tomorrow I updated my pool with: > # zpool -V 11 -asorry, the command was: # zpool upgrade -V 11 -a I read that upgrade <11> is about scrub process, is related to my problem? This night I run a memtest to check the ram... -- Luca Morettoni <luca(AT)morettoni(DOT)net> - http://morettoni.net GPG key 0xD69411BB: C329 AED4 5923 1982 6F12 3036 B51E 664F D694 11BB jugUmbria founder - https://jugUmbria.dev.java.net/ | Thawte notary ITL-OSUG leader - http://www.opensolaris.org/os/project/itl-osug/
Jürgen Keil
2008-Aug-21 15:26 UTC
[zfs-discuss] error found while scubbing, how to fix it?
> I have OpenSolaris (snv_95) installed into my laptop (single sata disk) > and tomorrow I updated my pool with: > > # zpool -V 11 -a > > and after I start a scrub into the pool with: > > # zpool scrub rpool > > # zpool status -vx > > NAME STATE READ WRITE CKSUM > rpool ONLINE 0 0 4 > c5t0d0s0 ONLINE 0 0 4 > > errors: Permanent errors have been detected in the > following files: > > <metadata>:<0x0>Looks like bug 6727872, which is fixed in build 96. http://bugs.opensolaris.org/view_bug.do?bug_id=6727872 Do you have unmounted zfs filesystems that use legacy mountpoints? If yes: Don''t worry, the hdd and the zpool on it should be fine. Workaround is to mount and unmount all those zfs filesystems, and on the next zpool scrub there should be no more checksum errors. This message posted from opensolaris.org
Luca Morettoni
2008-Aug-21 15:31 UTC
[zfs-discuss] error found while scubbing, how to fix it?
On 08/21/08 17:26, J?rgen Keil wrote:> Looks like bug 6727872, which is fixed in build 96. > http://bugs.opensolaris.org/view_bug.do?bug_id=6727872that pool contains normal OpenSolaris mountpoints, what do you meen abount umounting and remounting it? I need to do this with a live cd? Thanks and sorry for the stupid question! -- Luca Morettoni <luca(AT)morettoni(DOT)net> - http://morettoni.net GPG key 0xD69411BB: C329 AED4 5923 1982 6F12 3036 B51E 664F D694 11BB jugUmbria founder - https://jugUmbria.dev.java.net/ | Thawte notary ITL-OSUG leader - http://www.opensolaris.org/os/project/itl-osug/
Jürgen Keil
2008-Aug-21 15:45 UTC
[zfs-discuss] error found while scubbing, how to fix it?
> On 08/21/08 17:26, J?rgen Keil wrote: > > Looks like bug 6727872, which is fixed in build 96. > > http://bugs.opensolaris.org/view_bug.do?bug_id=6727872 > > that pool contains normal OpenSolaris mountpoints,Did you upgrade the opensolaris installation in the past? AFAIK the opensolaris upgrade procedure results in cloned zfs filesystems rpool/RPOOL/opensolaris, rpool/RPOOL/opensolaris-1, ..., rpool/RPOOL/opensolaris-N And only the latest one is mounted, the other (older) zfs root filesystems are unmounted.> what do you meen abount umounting and remounting it?The bug happens with unmounted filesystems, so you need to mount them first, then umount. Something like mount -F zfs rpool/RPOOL/opensolaris /mnt && umount /mnt mount -F zfs rpool/RPOOL/opensolaris-1 /mnt && umount /mnt ...> I need to do this with a live cd?No. You can do that when the system is booted from the hdd. This message posted from opensolaris.org
Luca Morettoni
2008-Aug-21 15:55 UTC
[zfs-discuss] error found while scubbing, how to fix it?
On 08/21/08 17:45, J?rgen Keil wrote:> Did you upgrade the opensolaris installation in the past?sure :)> The bug happens with unmounted filesystems, so you > need to mount them first, then umount.ok, now all is clear, after I try to make this and scrubbing again... Thanks for the help! -- Luca Morettoni <luca(AT)morettoni(DOT)net> - http://morettoni.net GPG key 0xD69411BB: C329 AED4 5923 1982 6F12 3036 B51E 664F D694 11BB jugUmbria founder - https://jugUmbria.dev.java.net/ | Thawte notary ITL-OSUG leader - http://www.opensolaris.org/os/project/itl-osug/
Luca Morettoni
2008-Aug-22 07:12 UTC
[zfs-discuss] error found while scubbing, how to fix it?
On 08/21/08 17:45, J?rgen Keil wrote:> The bug happens with unmounted filesystems, so you > need to mount them first, then umount.thanks, now all result are fine!!! # zpool status -v pool: rpool state: ONLINE scrub: scrub completed after 0h29m with 0 errors on Fri Aug 22 09:11:30 2008 config: NAME STATE READ WRITE CKSUM rpool ONLINE 0 0 0 c5t0d0s0 ONLINE 0 0 0 errors: No known data errors bye! -- Luca Morettoni <luca(AT)morettoni(DOT)net> - http://morettoni.net GPG key 0xD69411BB: C329 AED4 5923 1982 6F12 3036 B51E 664F D694 11BB jugUmbria founder - https://jugUmbria.dev.java.net/ | Thawte notary ITL-OSUG leader - http://www.opensolaris.org/os/project/itl-osug/