On Sat, 19 Dec 2020 11:54:58 -0600, Dale wrote:

> >> Naming them based on hostname is also a good idea.  I don't have mine
> >> named that way but if I ever redo them, I will.  It could save me
> >> some problems down the road.   
> > Renaming them now is trivial, man vgrename. Doing it after the system
> > has died can be less so.

> I didn't know that.  It seems every time I learn something about LVM, it
> just gets better.  You wouldn't have some examples handy by any chance
> would you? 

Not really, it's been a while since I needed to do it, but if you are
mounting by LABEL in fstab, it's just a matter of running vgrename to
give it a new name. If you are mounting by /dev/mapper nodes, you'll need
to edit fstab too.

You'll also need to change your kernel options if root is on the VG you
renamed.


-- 
Neil Bothwick

One-seventh of life is spent on Monday.

Attachment: pgpcrsJSa1UQ8.pgp
Description: OpenPGP digital signature

Reply via email to