[Gllug] Removing LVM (RHEL4)

Bruce Richardson itsbruce at uklinux.net
Wed Oct 19 14:37:16 UTC 2005


On Wed, Oct 19, 2005 at 03:23:38PM +0100, Greater wrote:
> 
> 1.  Use vgcfgbackup to backup the vg config to a file (just in case).
> 2.  Unmount the filesystem
> 3.  Use vgexport to export the volume group
> 4.  Use vgimport to re-import the volume group
> 5.  Remount the filesystem.

I missed out two important steps:

2b. Use vgchange to make the vg unavailable.
4b. Use vgchagne to make the vg available.

-- 
Bruce

What would Edward Woodward do?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: Digital signature
URL: <http://mailman.lug.org.uk/pipermail/gllug/attachments/20051019/6670d06e/attachment.pgp>
-------------- next part --------------
-- 
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug


More information about the GLLUG mailing list