I will take over this thread, since I get the same error in a similar scenario.
However, the funny thing is that everything seems to be working fine. Should I be worried, can live my life in peace, or is there a more specific forum I should ask this question to?
Thanks! Now follows the actual issue with logs:
- Using Rockstor 4.6.0.0 (Linux: 5.14.21-150400.24.38-default) with two 8TB disks in RAID1. The disks still have 50% free space. The pool has no compression, and even though quotas are enabled, rockstor overrides it by disabling it anyway.
- Bought and installed another 8TB disk
- Web-UI > STORAGE > Pools > the data pool > Resize/ReRaid Pool > Add disk > Also change RAID profile from RAID1 to RAID1C3
- Balance operation completes to 100%, but with an error:
Web-UI:
Traceback (most recent call last): File “/opt/rockstor/.venv/lib/python2.7/site-packages/huey/api.py”, line 360, in _execute task_value = task.execute() File “/opt/rockstor/.venv/lib/python2.7/site-packages/huey/api.py”, line 724, in execute return func(*args, **kwargs) File “/opt/rockstor/src/rockstor/fs/btrfs.py”, line 2101, in start_balance raise e CommandException: Error running a command. cmd = btrfs balance start -mconvert=raid1c3 -dconvert=raid1c3 -f /mnt2/data. rc = 1. stdout = [‘’]. stderr = [“ERROR: error during balancing ‘/mnt2/data’: No space left on device”, ‘There may be more info in syslog - try dmesg | tail’, ‘’]
dmesg:
[ 1107.215171] BTRFS info (device sdc): disk added /dev/sdb
[ 1111.396154] BTRFS info (device sdc): balance: start -f -dconvert=raid1c3 -mconvert=raid1c3 -sconvert=raid1c3
[ 1111.396316] BTRFS info (device sdc): setting incompat feature flag for RAID1C34 (0x800)
[ 1111.397158] BTRFS info (device sdc): relocating block group 4685873283072 flags metadata|raid1c3
[…]
[32265.087954] BTRFS info (device sdc): found 3071 extents, stage: move data extents
[32265.587761] BTRFS info (device sdc): relocating block group 22020096 flags system|raid1
> [32265.754801] BTRFS info (device sdc): 1 enospc errors during balance
> [32265.754817] BTRFS info (device sdc): balance: ended with status: -28
btrfs filesystem show:
Label: ‘ROOT’ uuid: 45772de2-2706-496e-aa07-d272ca6f7abd
Total devices 1 FS bytes used 14.85GiB
devid 1 size 230.82GiB used 17.27GiB path /dev/nvme0n1p4
Label: ‘data’ uuid: 1f587ed3-eb52-4a74-adbc-ef4d7d9152c3
Total devices 3 FS bytes used 2.92TiB
devid 1 size 7.28TiB used 2.95TiB path /dev/sdc
devid 2 size 7.28TiB used 2.95TiB path /dev/sda
devid 3 size 7.28TiB used 2.95TiB path /dev/sdb
btrfs fi df /mnt2/data:
Data, RAID1C3: total=2.94TiB, used=2.91TiB
System, RAID1C3: total=32.00MiB, used=544.00KiB
Metadata, RAID1C3: total=10.00GiB, used=4.45GiB
GlobalReserve, single: total=512.00MiB, used=0.00B
btrfs fi usage /mnt2/data
Overall:
Device size: 21.83TiB
Device allocated: 8.85TiB
Device unallocated: 12.98TiB
Device missing: 0.00B
Used: 8.75TiB
Free (estimated): 4.35TiB (min: 4.35TiB)
Free (statfs, df): 4.35TiB
Data ratio: 3.00
Metadata ratio: 3.00
Global reserve: 512.00MiB (used: 0.00B)
Multiple profiles: no
Data,RAID1C3: Size:2.94TiB, Used:2.91TiB (99.07%)
/dev/sdc 2.94TiB
/dev/sda 2.94TiB
/dev/sdb 2.94TiB
Metadata,RAID1C3: Size:10.00GiB, Used:4.45GiB (44.49%)
/dev/sdc 10.00GiB
/dev/sda 10.00GiB
/dev/sdb 10.00GiB
System,RAID1C3: Size:32.00MiB, Used:544.00KiB (1.66%)
/dev/sdc 32.00MiB
/dev/sda 32.00MiB
/dev/sdb 32.00MiB
Unallocated:
/dev/sdc 4.33TiB
/dev/sda 4.33TiB
/dev/sdb 4.33TiB