Gentoo Archives: gentoo-user

From: Neil Bothwick <neil@××××××××××.uk>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Rearranging hard drives and data.
Date: Sat, 19 Dec 2020 21:48:29
Message-Id: 20201219214815.70c4acb2@digimed.co.uk
In Reply to: Re: [gentoo-user] Rearranging hard drives and data. by Dale
1 On Sat, 19 Dec 2020 11:54:58 -0600, Dale wrote:
2
3 > >> Naming them based on hostname is also a good idea.  I don't have mine
4 > >> named that way but if I ever redo them, I will.  It could save me
5 > >> some problems down the road. 
6 > > Renaming them now is trivial, man vgrename. Doing it after the system
7 > > has died can be less so.
8
9 > I didn't know that.  It seems every time I learn something about LVM, it
10 > just gets better.  You wouldn't have some examples handy by any chance
11 > would you? 
12
13 Not really, it's been a while since I needed to do it, but if you are
14 mounting by LABEL in fstab, it's just a matter of running vgrename to
15 give it a new name. If you are mounting by /dev/mapper nodes, you'll need
16 to edit fstab too.
17
18 You'll also need to change your kernel options if root is on the VG you
19 renamed.
20
21
22 --
23 Neil Bothwick
24
25 One-seventh of life is spent on Monday.

Replies

Subject Author
Re: [gentoo-user] Rearranging hard drives and data. Dale <rdalek1967@×××××.com>