btrfs send runs out of memory and file handles

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

 



Hi,

I'm attempting to back up a btrfs subvolume with

  $ btrfs send /path/to/subvol | nc

and the receiving end does

  $ nc -l | btrfs receive /path/to/volume

This subvolume holds ~250 GB of data, about half full, and uses RAID1.

Doing so runs out of file descriptors on the sending machine (having over 100k files open) and eventually runs out of memory and gets killed by the OOM killer.

What are the memory requirements of btrfs send?
This is the initial send so the entire volume must be transferred. Are later send operations equally memory-intensive?

Is it possible to do an incremental send, or send partial snapshots and combine them later on?

Thanks,

Frank

--
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