Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use "btrfs inspect-internal dump-super" instead of btrfs-show-super #36

Open
hannut opened this issue Mar 12, 2018 · 0 comments
Open

use "btrfs inspect-internal dump-super" instead of btrfs-show-super #36

hannut opened this issue Mar 12, 2018 · 0 comments

Comments

@hannut
Copy link

hannut commented Mar 12, 2018

btrfs-show-super is obsolete

https://btrfs.wiki.kernel.org/index.php/Manpage/btrfs#STANDALONE_TOOLS

blocks to-lvm --join VG1 /dev/sdb1
Traceback (most recent call last):
File "/root/.local/bin/blocks", line 9, in
load_entry_point('blocks', 'console_scripts', 'blocks')()
File "/root/src/blocks/blocks/main.py", line 2012, in script_main
sys.exit(main())
File "/root/src/blocks/blocks/main.py", line 1678, in main
return args.action(args)
File "/root/src/blocks/blocks/main.py", line 1860, in cmd_to_lvm
block_stack.read_superblocks()
File "/root/src/blocks/blocks/main.py", line 1101, in read_superblocks
self.topmost.read_superblock()
File "/root/src/blocks/blocks/main.py", line 861, in read_superblock
stdout=subprocess.PIPE)
File "/usr/lib64/python3.4/subprocess.py", line 856, in init
restore_signals, start_new_session)
File "/usr/lib64/python3.4/subprocess.py", line 1460, in _execute_child
raise child_exception_type(errno_num, err_msg)
FileNotFoundError: [Errno 2] No such file or directory: 'btrfs-show-super'`

lsb_release -a
LSB Version: :core-4.1-amd64:core-4.1-noarch
Distributor ID: CentOS
Description: CentOS Linux release 7.4.1708 (Core)
Release: 7.4.1708
Codename: Core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant