bsdtar lockup on Current-03/10/2009

Anonymous swell.k at gmail.com
Tue Mar 10 13:16:32 PDT 2009


Paul Wootton <paul at fletchermoorland.co.uk> writes:

> Im also using ZFS and have the same problems as Peg when trying to create a
> tar file.
> This is using Current as of last yesterday (09-mar-09).

I'm not sure but in my case ktrace shows extattr_list_link() before the lockup.
So, for a workaround I disabled extattr support in libarchive. Can you verify that
this helps you, too?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: libarchive.diff
Type: text/x-diff
Size: 536 bytes
Desc: disable extattr support
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20090310/6950ab4a/libarchive.bin
-------------- next part --------------

>
> Out of interest, I tried the following which seemed to work though
>
> demophon# mdconfig -a -t malloc -s 100M -u 0
> demophon# newfs /dev/md0
> /dev/md0: 100.0MB (204800 sectors) block size 16384, fragment size 2048
>         using 4 cylinder groups of 25.02MB, 1601 blks, 3264 inodes.
> super-block backups (for fsck -b #) at:
>  160, 51392, 102624, 153856
> demophon# mount /dev/md0 /mnt
> demophon# dd if=/dev/random of=/mnt/rand
>
> /mnt: write failed, filesystem is full
> dd: /mnt/rand: No space left on device
> 197601+0 records in
> 197600+0 records out
> 101171200 bytes transferred in 2.240331 secs (45159043 bytes/sec)
> demophon# tar -cvf /dev/null /mnt/rand
> tar: Removing leading '/' from member names
> a mnt/rand
> demophon#

You could skip mdconfig/newfs thing with tmpfs(5).

>
> Dont know if that helps at all...
>
> Paul


More information about the freebsd-current mailing list