Hello, currently I am running a 7.2 stable with zfs v13. Things work nicely except that zpool scrub hangs without disk activity. I do not get any error messages in dmesg or /var/log/messages and therefore I do not know where to look further. Is this a known issue or should I investigate? If the latter is the case I would need some help doing so. % uname -a ~ FreeBSD ccschu935 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Jul 7 04:56:00 CEST 2009 root@ccschu935:/usr/obj/usr/src/sys/GENERIC amd64 % zpool status ~ pool: tank state: ONLINE scrub: scrub in progress for 0h3m, 0,00% done, 3370h48m to go config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 ad0s6 ONLINE 0 0 0 ad0s3f ONLINE 0 0 0 ad0s3e ONLINE 0 0 0 cache mmcsd0 UNAVAIL 0 0 0 cannot open errors: No known data errors kind Regards Christof
Do you have ZIL disabled? I think I saw the same scrub stall on -7 when I had vfs.zfs.zil_disable=1. After re-enabling ZIL scrub proceeded normally. --Artem On Sun, Sep 20, 2009 at 2:42 PM, Christof Schulze <christof.schulze@gmx.com> wrote:> Hello, > > currently I am running a 7.2 stable with zfs v13. > Things work nicely except that zpool scrub hangs without disk activity. > I do not get any error messages in dmesg or /var/log/messages and therefore I > do not know where to look further. > > Is this a known issue or should I investigate? If the latter is the case I > would need some help doing so. > > % uname -a ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ~ > FreeBSD ccschu935 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Jul ?7 04:56:00 CEST > 2009 ? ? root@ccschu935:/usr/obj/usr/src/sys/GENERIC ?amd64 > % zpool status ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ~ > ?pool: tank > ?state: ONLINE > ?scrub: scrub in progress for 0h3m, 0,00% done, 3370h48m to go > config: > > ? ? ? ?NAME ? ? ? ?STATE ? ? READ WRITE CKSUM > ? ? ? ?tank ? ? ? ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 > ? ? ? ? ?ad0s6 ? ? ONLINE ? ? ? 0 ? ? 0 ? ? 0 > ? ? ? ? ?ad0s3f ? ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 > ? ? ? ? ?ad0s3e ? ?ONLINE ? ? ? 0 ? ? 0 ? ? 0 > ? ? ? ?cache > ? ? ? ? ?mmcsd0 ? ?UNAVAIL ? ? ?0 ? ? 0 ? ? 0 ?cannot open > > errors: No known data errors > > > kind Regards > > Christof > _______________________________________________ > freebsd-stable@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org" >
On Sun, 20 Sep 2009 17:42 -0000, christof.schulze wrote:> Hello, > > currently I am running a 7.2 stable with zfs v13. > Things work nicely except that zpool scrub hangs without disk activity. > I do not get any error messages in dmesg or /var/log/messages and therefore I > do not know where to look further. > > Is this a known issue or should I investigate? If the latter is the case I > would need some help doing so. > > % uname -a ~ > FreeBSD ccschu935 7.2-STABLE FreeBSD 7.2-STABLE #0: Tue Jul 7 04:56:00 CEST > 2009 root@ccschu935:/usr/obj/usr/src/sys/GENERIC amd64 > % zpool status ~ > pool: tank > state: ONLINE > scrub: scrub in progress for 0h3m, 0,00% done, 3370h48m to go > config: > > NAME STATE READ WRITE CKSUM > tank ONLINE 0 0 0 > ad0s6 ONLINE 0 0 0 > ad0s3f ONLINE 0 0 0 > ad0s3e ONLINE 0 0 0 > cache > mmcsd0 UNAVAIL 0 0 0 cannot open > > errors: No known data errors > > > kind Regards > > Christof >I see you cache is disabled no available. Even though I don't think this should or might be the problem can you remove the device from the pool and re-scrub to see if that relieves the problem. -- Jason J. Hellenthal http://www.DataIX.net/ jasonh@DataIX.net 0x691411AC - (2^(N-1))
Am Montag 21 September 2009 00:10:39 schrieb Artem Belevich:> Do you have ZIL disabled? I think I saw the same scrub stall on -7 > when I had vfs.zfs.zil_disable=1. After re-enabling ZIL scrub > proceeded normally.zil is not disabled % sysctl vfs.zfs.zil_disable vfs.zfs.zil_disable: 0 but thank you for the hint Regards Christof