Thanks to visit codestin.com
Credit goes to github.com

Skip to content

btrbk usage fails on Asustor NAS #469

@norbusan

Description

@norbusan

btrbk version 0.32.1
Arch Linux

Running btrbk usage fails:

sudo btrbk usage

ERROR: process died unexpectedly (btrbk v0.32.1)
Please contact the author: ......

Stack Trace:
----------------------------------------
Use of uninitialized value $detail{"data_ratio"} in pattern match (m//) at /usr/bin/btrbk line 1095.
 at /usr/bin/btrbk line 389.
        main::__ANON__("Use of uninitialized value \$detail{\"data_ratio\"} in pattern m"...) called at /usr/bin/btrbk line 1095
        main::btrfs_filesystem_usage(HASH(0x559bdeb83ab8)) called at /usr/bin/btrbk line 6440
        main::__ANON__(HASH(0x559bdeb4fac8), "target") called at /usr/bin/btrbk line 6452

This happens when parsing the output of the remote system (Asustor NAS). The output of the btrfs filesystem usage /volume1 call is:

total 7996865249280
allocated 5367660544000
unallocated 2629204705280
missing 0
used 5359242727424
free 2630672003072

Data 5306046926848
Metadata 26597343232
System 557056
Unallocated:
   /dev/md1        2.39TiB

The btrfs that is on the remote system is from btrfs-progs v5.6.

If necessary, I can try to update the binary on the remote side.

Thanks

Norbert

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions