Re: btrfs-image failure (btrfs-tools 4.4)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





Marc MERLIN wrote on 2016/02/10 22:31 -0800:
On Tue, Jan 26, 2016 at 09:03:07AM +0800, Qu Wenruo wrote:
If the fs is small enough, would you please do a btrfs-image dump?
That would help a lot to locate the direct cause.

I started making a dump, image was growing past 3GB, and then it failed
and the image got deleted:

gargamel:~# btrfs-image -s -c 9 /dev/mapper/dshelf1old /mnt/dshelf1/ds1old.dump
Error adding space cache blocks -5

It seems that btrfs-image failed to read space cache, in read_data_extent() function.

And since there is no "Couldn't map the block XXXX" error message, either some device is missing or pread64 failed to read the desired data.

Error flushing pending -5
create failed (Success)

gargamel:~# dpkg --status btrfs-tools
Package: btrfs-tools
Status: install ok installed
Priority: optional
Section: admin
Installed-Size: 3605
Maintainer: Dimitri John Ledkov <xnox@xxxxxxxxxx>
Architecture: amd64
Version: 4.4-1

Is there a 4G file size limit, or did I hit another problem?

For the 4G file size limit, did you mean the limit from old filesystem like FAT32?

I didn't think there is such limit for modern Linux filesystem, or normal read/write operation won't has such limit either.

Thanks,
Qu


Thanks,
Marc



--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux