rename Volumegroup

Giovanni P. Tirloni tirloni at gmail.com
Fri Sep 25 14:39:53 UTC 2009


On Sep 25, 2009, at 11:19 AM, Sir June wrote:

> 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
>

  You can't until all LVs in that VG are inactive. See vgchange(8) man  
page.

  You probably want to use a rescue disk for that.

> 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?
>

  Right.

Good luck,

Giovanni P. Tirloni
tirloni at gmail.com







More information about the redhat-list mailing list