* [linux-lvm] Renaming volumes and /proc/mounts
@ 2014-12-19 18:43 Phillip Susi
2015-01-12 6:14 ` Linda A. Walsh
0 siblings, 1 reply; 3+ messages in thread
From: Phillip Susi @ 2014-12-19 18:43 UTC (permalink / raw)
To: LVM general discussion and development
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Is it possible to get /proc/mounts to update to the new name after
doing an lvrename of a mounted volume? It plays hell on update-grub
when you rename a mounted volume and /proc/mounts still has the old name.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
iQEcBAEBAgAGBQJUlHHoAAoJENRVrw2cjl5RvssIALM5i78HARjbckHLNqzCbzFh
7IwocXHQB8lmo3xhQrR64aAJFSnF8T4iI+ikNICTGI5QWYFc1FZkFW+fm2MRNK56
Kt0H+bEn/dyO0/2mYZlGNcBPPPRH10Ldgh4eFHzxVk8KsVWOACqMBTY2xENBt27D
xVaMICGfI1Nl9nqiLzuiThLxgQ8E19t66qcohGtAw4PG8Ox0WZHiaQjqv/zqXWv1
Qv6jWFMy3/LtCp2K1NeuZ/7RR+HBhQPj4OngrWxb7Wg/TdAyY1d6NasNRRJKoRtD
13awUzomFxaZEm9xz+J90d9+ke4LC+cRyz3OKAHZHsow2LQBeyDh6zNXNezE93A=
=q9Tl
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Renaming volumes and /proc/mounts
2014-12-19 18:43 [linux-lvm] Renaming volumes and /proc/mounts Phillip Susi
@ 2015-01-12 6:14 ` Linda A. Walsh
2015-01-13 1:55 ` Phillip Susi
0 siblings, 1 reply; 3+ messages in thread
From: Linda A. Walsh @ 2015-01-12 6:14 UTC (permalink / raw)
To: LVM general discussion and development
Phillip Susi wrote:
> Is it possible to get /proc/mounts to update to the new name after
> doing an lvrename of a mounted volume? It plays hell on update-grub
> when you rename a mounted volume and /proc/mounts still has the old name.
>
lvrename can rename an actively mounted device? Is it supposed
to do that?
That sounds a bit strange. I mean if I rename a network device, I'd
have to take down the interface before renaming it. I'd think with a
disk partition unmounting it would be, at least, prudent? Is it really
not necessary?
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] Renaming volumes and /proc/mounts
2015-01-12 6:14 ` Linda A. Walsh
@ 2015-01-13 1:55 ` Phillip Susi
0 siblings, 0 replies; 3+ messages in thread
From: Phillip Susi @ 2015-01-13 1:55 UTC (permalink / raw)
To: LVM general discussion and development
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
On 01/12/2015 01:14 AM, Linda A. Walsh wrote:
> Phillip Susi wrote:
>> Is it possible to get /proc/mounts to update to the new name
>> after doing an lvrename of a mounted volume? It plays hell on
>> update-grub when you rename a mounted volume and /proc/mounts
>> still has the old name.
>>
> lvrename can rename an actively mounted device? Is it supposed to
> do that?
>
> That sounds a bit strange. I mean if I rename a network device,
> I'd have to take down the interface before renaming it. I'd think
> with a disk partition unmounting it would be, at least, prudent?
> Is it really not necessary?
Of course; the only problem is that /proc/mounts still lists the old
name so an update-grub still uses the old name in /boot/grub/grub.cfg,
so after a reboot, I have to manually edit the command to point to the
new name to boot, then re-run update-grub so subsequent boots work right.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQEcBAEBCgAGBQJUtHr/AAoJENRVrw2cjl5RzUAH/0T7snlgVK287JCh8lwoWXLr
SWif87Si5DxliTxMpkxaCbxtLfv8WgajJa49wbDCuHRdA9YR1LpcZXMzJZxrstBZ
AyJg+iMkUM2+VgfC6QpuCEDbN7C43jONSHiiEuWT+bcPfY9kqmsUted6/SspV2tq
dltiKPrFgsktQYZVIynEZZwKvbX/jV13zbusdQJDE8nqRtOO0grYApi1qwEvxdvd
MdBZXUeJZahCMFu0UE3MCdIznLFUFLgAbS5J2Mld8KB3hJV9I55Eoo6K6IIeq77+
wiq/8aCcODYjqClw6LEl1uRRPgPBJFLyeZ8/cbc6EUZke3pfK9adVCU2Vqbqg6E=
=fsnN
-----END PGP SIGNATURE-----
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-01-13 1:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-19 18:43 [linux-lvm] Renaming volumes and /proc/mounts Phillip Susi
2015-01-12 6:14 ` Linda A. Walsh
2015-01-13 1:55 ` Phillip Susi
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.