Skip to content

Cannot convert to LVM #30

@TheOneValen

Description

@TheOneValen

Trying to convert an ext4 volume on /dev/sdb to lvm and get the following error (after successful resize it seems):

The filesystem (ext4) leaves enough room, no need to shrink it
Copying 4194304 bytes from pos 0 to pos 4000778813440... ok
Preparing LVM metadata... Traceback (most recent call last):
  File "/usr/bin/blocks", line 9, in <module>
    load_entry_point('blocks==0.1.4', 'console_scripts', 'blocks')()
  File "/usr/lib64/python3.4/site-packages/blocks-0.1.4-py3.4.egg/blocks/__main__.py", line 2012, in script_main
  File "/usr/lib64/python3.4/site-packages/blocks-0.1.4-py3.4.egg/blocks/__main__.py", line 1678, in main
  File "/usr/lib64/python3.4/site-packages/blocks-0.1.4-py3.4.egg/blocks/__main__.py", line 1886, in cmd_to_lvm
  File "/usr/lib64/python3.4/contextlib.py", line 283, in enter_context
    result = _cm_type.__enter__(cm)
  File "/usr/lib64/python3.4/contextlib.py", line 59, in __enter__
    return next(self.gen)
  File "/usr/lib64/python3.4/site-packages/blocks-0.1.4-py3.4.egg/blocks/__main__.py", line 1276, in synth_device
  File "/usr/lib64/python3.4/site-packages/blocks-0.1.4-py3.4.egg/blocks/__main__.py", line 170, in __init__
AssertionError: /dev/mapper/synthetic-7fc406e4-2a55-11e6-8ef2-00012e37f3d5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions