Skip to content

Error if non-active vg/lv are present #7

Description

@hwk

The error seems unrelated to the "Couldn't find device with uuid". That only ensures that /vg_newlv_new isn't active.

root@elefant:/home/kraush/work# lvscan
ACTIVE '/dev/stor1/stor1' [10.90 TiB] inherit
ACTIVE '/dev/vg_vnew/lv_new' [3.64 TiB] inherit
ACTIVE '/dev/vg_current/lv_cur_1' [1.20 TiB] inherit
Couldn't find device with uuid LkHjyU-T4EP-Ta5B-sf0D-kc0r-2iZA-F0A8Lm.
Couldn't find device with uuid TLYwDv-aNDB-TM6g-oLTf-pjdj-TN4E-Yr8KHQ.
Couldn't find device with uuid CP2BAI-oZCw-woFK-MfLN-jAFD-66mj-aCLz3S.
inactive '/dev/vg_new/lv_new' [7.89 TiB] inherit
root@elefant:/home/kraush/work# lsdrv
Traceback (most recent call last):
File "/usr/local/bin/lsdrv", line 469, in
devstat = os.stat('/dev/'+vg_name+'/'+lv_name)
OSError: [Errno 2] No such file or directory: '/dev/vg_new/lv_new'

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