From: Neil Bothwick <neil@digimed.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Rearranging hard drives and data.
Date: Sat, 19 Dec 2020 21:48:15 +0000 [thread overview]
Message-ID: <20201219214815.70c4acb2@digimed.co.uk> (raw)
In-Reply-To: <1f5edc04-e4e0-2803-580a-cefccfa0eaf1@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 906 bytes --]
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 #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
next prev parent reply other threads:[~2020-12-19 21:48 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-19 13:02 [gentoo-user] Rearranging hard drives and data Dale
2020-12-19 13:47 ` bobwxc
2020-12-19 16:51 ` David Haller
2020-12-19 17:28 ` Dale
2020-12-19 18:37 ` antlists
2020-12-19 18:49 ` David Haller
2020-12-19 20:10 ` antlists
2020-12-19 21:31 ` David Haller
2020-12-19 23:21 ` Wols Lists
2020-12-19 17:06 ` Neil Bothwick
2020-12-19 17:32 ` Dale
2020-12-19 17:48 ` Neil Bothwick
2020-12-19 17:54 ` Dale
2020-12-19 21:48 ` Neil Bothwick [this message]
2020-12-20 1:02 ` Dale
2020-12-19 18:55 ` antlists
2020-12-19 19:19 ` Dale
2020-12-20 1:06 ` Frank Steinmetzger
2020-12-20 3:01 ` Dale
2020-12-20 14:21 ` Frank Steinmetzger
2020-12-20 22:37 ` Dale
2020-12-20 10:03 ` antlists
2020-12-20 13:20 ` Frank Steinmetzger
2020-12-20 13:39 ` Mark Knecht
2020-12-21 0:33 ` antlists
2020-12-21 0:20 ` Dale
2020-12-21 2:52 ` William Kenworthy
2020-12-21 9:19 ` Dale
2020-12-21 11:26 ` Frank Steinmetzger
2020-12-25 9:41 ` Dale
2020-12-21 10:48 ` Frank Steinmetzger
2020-12-21 12:53 ` Dale
2020-12-22 0:12 ` antlists
2020-12-24 16:38 ` Dale
2020-12-24 20:33 ` Frank Steinmetzger
2020-12-25 9:15 ` Dale
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201219214815.70c4acb2@digimed.co.uk \
--to=neil@digimed.co.uk \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox