[linux-lvm] setting up LVM, lost everything with a typo

Klaus Strebel klaus.strebel at gmx.net
Thu Oct 20 09:24:03 UTC 2005


Craig Hagerman schrieb:
> ... vgchange can't help out....
> 
> % vgchange -a y media_vg
>   Couldn't find device with uuid 'ZHl4Ak-mGS4-wFlF-4neF-G1Ed-GxWB-C4Smj6'.
>   Couldn't find all physical volumes for volume group media_vg.
>   Couldn't find device with uuid 'ZHl4Ak-mGS4-wFlF-4neF-G1Ed-GxWB-C4Smj6'.
>   Couldn't find all physical volumes for volume group media_vg.
>   Unable to find volume group "media_vg"
> 
> ....vgdisplay can't see either disc (exact same story with lvdisplay)...
> 
> vgdisplay
>   Couldn't find device with uuid 'ZHl4Ak-mGS4-wFlF-4neF-G1Ed-GxWB-C4Smj6'.
>   Couldn't find all physical volumes for volume group media_vg.
>   Couldn't find device with uuid 'ZHl4Ak-mGS4-wFlF-4neF-G1Ed-GxWB-C4Smj6'.
>   Couldn't find all physical volumes for volume group media_vg.
>   Volume group "media_vg" doesn't exist
> 
> ... and pvdisplay gives me...
> 
> % pvdisplay
>   Couldn't find device with uuid 'ZHl4Ak-mGS4-wFlF-4neF-G1Ed-GxWB-C4Smj6'.
>   --- Physical volume ---
>   PV Name               /dev/sdb1
>   VG Name               media_vg
>   PV Size               233.75 GB / not usable 0
>   Allocatable           yes
>   PE Size (KByte)       4096
>   Total PE              59841
>   Free PE               193
>   Allocated PE          59648
>   PV UUID               rlnV4y-B4eJ-Pyc0-RLJm-2Zbv-t04C-dxzU1A
 > ...

What says vgscan in debug mode (you need vgscan before doing a vgchange).

Ciao
Klaus
--
Klaus Strebel, Dipl.-Inform. (FH), mailto:klaus.strebel at gmx.net

/"\
\ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
/ \





More information about the linux-lvm mailing list