rename Volumegroup

m.roth at 5-cent.us m.roth at 5-cent.us
Fri Sep 25 17:21:03 UTC 2009


> Hi,
>
> Is it safe to rename a volume group in runlevel3 ? or runlevel 1?  this is
> what i have:
>
> /dev/VolGroup_ID_25312/LogVol2          /tmp
>
> and i want to change it to:
>
> /dev/VG01/LogVol2    /tmp
>
> all my filesystems are in the same volume group.  just want to shorten the
> VG name.
>
> I also need to edit /etc/fstab after renaming, right?
>
Never. EVER. do that in runlevel 3, unless you're 100% sure no one else is
on the system. You will have to umount the partition, and any other
logical volumes that are on that LVM volume.

And then you have to remember to change /etc/fstab, of course.

           mark




More information about the redhat-list mailing list