Package: btrfs-progs
Version: 5.10.1-2
Severity: normal



When trying to replace device in BTRFS
different numbers of required free space are reported.


When using device name:

# btrfs replace start /dev/sda3 /dev/sdb3 /
ERROR: target device smaller than source device (required 5982920449536 bytes)


When using device number:

# btrfs replace start 2 /dev/sdb3 /
ERROR: target device smaller than source device (required 5968961802240 bytes)



Other people also had this problem:

https://unix.stackexchange.com/a/513352





-- System Information:
Debian Release: 11.5
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-19-amd64 (SMP w/8 CPU threads)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages btrfs-progs depends on:
ii libblkid1 2.36.1-8+deb11u1
ii libc6 2.31-13+deb11u5
ii libcom-err2 1.46.2-2
ii libext2fs2 1.46.2-2
ii libgcc-s1 10.2.1-6
ii liblzo2-2 2.10-2
ii libmount1 2.36.1-8+deb11u1
ii libuuid1 2.36.1-8+deb11u1
ii libzstd1 1.4.8+dfsg-2.1
ii zlib1g 1:1.2.11.dfsg-2+deb11u2

btrfs-progs recommends no packages.

Versions of packages btrfs-progs suggests:
pn duperemove <none>

-- no debconf information

Reply via email to