[EMAIL PROTECTED] wrote:
After one aborted ufsrestore followed by some cleanup I tried
to restore again but this time ufsrestore faultered with:

bad filesystem block size 2560

The reason was this return value for the stat of "." of the
filesystem:

8339:   stat(".", 0xFFBFF818)                           = 0
8339:       d=0x03F50005 i=3     m=0040755 l=3  u=0     g=3     sz=3
8339:           at = Jun  7 23:11:54 CEST 2007  [ 1181250714 ]
8339:           mt = Jun  7 23:02:08 CEST 2007  [ 1181250128 ]
8339:           ct = Jun  7 23:02:08 CEST 2007  [ 1181250128 ]
8339:       bsz=2560  blks=3     fs=zfs

I could not reproduce this problem with some cursory testing (ufsdump|ufsrestore of a root filesystem). But feel free to file a bug against ufsrestore -- it shouldn't care what the st_blocksize of a directory is. Perhaps it should be looking at struct statvfs's f_bsize?

--matt
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to