[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: rename Volumegroup



> 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]