I am working on improving some ZFS-related bits in FreeBSD boot chain. At the moment it seems that the things work mostly fine except for a case where the boot code needs to read gang blocks. We have some reports from users about failures, but unfortunately their pools are not available for testing anymore and I can not reproduce the issue at will. I am sure that (Open)Solaris GRUB version has been properly tested, including the above environment. Could you please help me with ideas how to create a pool/filesystem/file that would have gang-blocks with high probability? Perhaps, there are some pre-made test pool images available? Or some specialized tool? Thanks a lot! -- Andriy Gapon
You can set metaslab_gang_bang to (say) 8k to force lots of gang block allocations. Jeff On May 25, 2010, at 11:42 PM, Andriy Gapon wrote:> > I am working on improving some ZFS-related bits in FreeBSD boot chain. > At the moment it seems that the things work mostly fine except for a case where > the boot code needs to read gang blocks. We have some reports from users about > failures, but unfortunately their pools are not available for testing anymore > and I can not reproduce the issue at will. > I am sure that (Open)Solaris GRUB version has been properly tested, including > the above environment. > Could you please help me with ideas how to create a pool/filesystem/file that > would have gang-blocks with high probability? > Perhaps, there are some pre-made test pool images available? > Or some specialized tool? > > Thanks a lot! > -- > Andriy Gapon > _______________________________________________ > zfs-discuss mailing list > zfs-discuss at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
on 27/05/2010 07:11 Jeff Bonwick said the following:> You can set metaslab_gang_bang to (say) 8k to force lots of gang block allocations.Bill, Jeff, thanks a lot! This helped to reproduce the issue and find the bug. Just in case: http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/144214> On May 25, 2010, at 11:42 PM, Andriy Gapon wrote: > >> I am working on improving some ZFS-related bits in FreeBSD boot chain. >> At the moment it seems that the things work mostly fine except for a case where >> the boot code needs to read gang blocks. We have some reports from users about >> failures, but unfortunately their pools are not available for testing anymore >> and I can not reproduce the issue at will. >> I am sure that (Open)Solaris GRUB version has been properly tested, including >> the above environment. >> Could you please help me with ideas how to create a pool/filesystem/file that >> would have gang-blocks with high probability? >> Perhaps, there are some pre-made test pool images available? >> Or some specialized tool? >> >> Thanks a lot! >> -- >> Andriy Gapon >> _______________________________________________ >> zfs-discuss mailing list >> zfs-discuss at opensolaris.org >> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss >-- Andriy Gapon