Re: rename Volumegroup

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

 



> 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

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux