2 edited title
source | link

How to rename a logical volume group in Fedora 24 when lvrename doesn't work?there are multiple volume groups with the same name

I ran into the following issue and resolved it myself, so this is an "share your knowledge Q&A style" question/answer.

I installed Fedora 24 on my main drive, but later decided to install it on my solid state drive instead. After doing so, I tried to mount my main drive (after running cryptsetup), but this happened:

# lvrename /dev/fedora/home /dev/fedora/althome 
  Multiple VGs found with the same name: skipping fedora 
  Use the VG UUID with --select vg_uuid=<uuid>

# lvdisplay

: above lists my partitions uuids


# lvrename --select vg_uuid=my-vg-uuid /dev/fedora/home /dev/fedora/althome

lvrename: unrecognized option '--select'

Since the given instructions don't work, how do I resolve this?

How to rename a volume group in Fedora 24 when lvrename doesn't work?

I ran into the following issue and resolved it myself, so this is an "share your knowledge Q&A style" question/answer.

I installed Fedora 24 on my main drive, but later decided to install it on my solid state drive instead. After doing so, I tried to mount my main drive (after running cryptsetup), but this happened:

# lvrename /dev/fedora/home /dev/fedora/althome 
  Multiple VGs found with the same name: skipping fedora 
  Use the VG UUID with --select vg_uuid=<uuid>

# lvdisplay

: above lists my partitions uuids


# lvrename --select vg_uuid=my-vg-uuid /dev/fedora/home /dev/fedora/althome

lvrename: unrecognized option '--select'

Since the given instructions don't work, how do I resolve this?

How to rename a logical volume when there are multiple volume groups with the same name

I installed Fedora 24 on my main drive, but later decided to install it on my solid state drive instead. After doing so, I tried to mount my main drive (after running cryptsetup), but this happened:

# lvrename /dev/fedora/home /dev/fedora/althome 
  Multiple VGs found with the same name: skipping fedora 
  Use the VG UUID with --select vg_uuid=<uuid>

# lvdisplay

: above lists my partitions uuids


# lvrename --select vg_uuid=my-vg-uuid /dev/fedora/home /dev/fedora/althome

lvrename: unrecognized option '--select'

Since the given instructions don't work, how do I resolve this?

1
source | link

How to rename a volume group in Fedora 24 when lvrename doesn't work?

I ran into the following issue and resolved it myself, so this is an "share your knowledge Q&A style" question/answer.

I installed Fedora 24 on my main drive, but later decided to install it on my solid state drive instead. After doing so, I tried to mount my main drive (after running cryptsetup), but this happened:

# lvrename /dev/fedora/home /dev/fedora/althome 
  Multiple VGs found with the same name: skipping fedora 
  Use the VG UUID with --select vg_uuid=<uuid>

# lvdisplay

: above lists my partitions uuids


# lvrename --select vg_uuid=my-vg-uuid /dev/fedora/home /dev/fedora/althome

lvrename: unrecognized option '--select'

Since the given instructions don't work, how do I resolve this?