Bookmark and Share BitCoin Donate: 13t8gAWVpHP2ddxMp88d1NFpZjnFJC6UwK

Mount uninitialised LVM volumes on linux with lvchange

login as: root
root@derp's password:

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@Microknoppix:~# lv
lvchange     lvcreate     lvextend     lvmchange    lvmdiskscan  lvmsadc      lvreduce     lvrename     lvs
lvconvert    lvdisplay    lvm          lvmconf      lvmdump      lvmsar       lvremove     lvresize     lvscan
root@Microknoppix:~# lvchange -ya
lvchange: option requires an argument -- 'a'
  Error during parsing of command line.
root@Microknoppix:~# lvscan
  inactive          '/dev/vg_opt/lv_opt' 40.00 GiB inherit
  inactive          '/dev/sat000/root' 8.76 GiB inherit
  inactive          '/dev/sat000/swap_1' 1.00 GiB inherit
root@Microknoppix:~# lvchange -ya /dev/sat000/root
  Invalid argument for --available: /dev/sat000/root
  Error during parsing of command line.
root@Microknoppix:~# lvchange -ay /dev/sat000/root
root@Microknoppix:~#