[OpenSSH/sparse files] Support for ranges at asyncssh.com extension in OpenSSH? Fwd: Support for transferring sparse files via scp/sftp correctly?

Lionel Cons lionelcons1972 at gmail.com
Mon Nov 24 20:23:02 AEDT 2025


Are there any plans to support the ranges at asyncssh.com extension in
OpenSSH to support copying large sparse files with lots of holes?

Lionel

---------- Forwarded message ---------
From: Lionel Cons <lionelcons1972 at gmail.com>
Date: Tue, 4 Mar 2025 at 11:01
Subject: Support for transferring sparse files via scp/sftp correctly?
To: <openssh-unix-dev at mindrot.org>


Does OpenSSH scp/sftp mode transfer sparse files correctly, i.e. are
holes skipped and not transferred as chunks of 0 bytes? [1]

We're asking about sparse files in the >= 1PB range, which consists of
multi-TB holes with around 600-2000GB of valid data.

[1] Note the difference: Sparse files can have data sections which
consist of valid 0 bytes. Holes in sparse files represent regions
where no data space is allocated, but they read as 0 bytes

Lionel
-- 
Lionel


More information about the openssh-unix-dev mailing list