[ILUG] Problem umounting a export volume group

Conor Wynne mariconor at gmail.com
Tue Jan 22 18:15:06 GMT 2008


On Jan 22, 2008 5:28 PM, Fred Legrand <fred_legrand at mail.com> wrote:

> Hi all,
>
> I hope somebody could help me. I am working on a Cluster software called
> LifeKeeper made by Steeleye. To use Lifekeeper I had to mount /usr/sap on
> /dev/vg02r5/lvol0
>
> now i need to umount /dev/vg02r5/lvol0 but I get an error message:
> /usr/sap not mounted and /dev/vg02r5/lvol0 does not exists.
>
> the command vgs shows me that vg02r5 is there:
>
> VG #PV #LV #SN Attr VSize VFree
>  vg00r1 1 4 0 wz--n 136.62G 94.62G
>  vg01r5 1 1 0 wz--n 20.00G 0
>  vg02r5 1 1 0 wzx-n 100.00G 0
>  vg03r5 1 1 0 wz--n 20.00G 0
>  vg04r5 1 1 0 wz--n 270.20G 0
>
> and vgscan shows me that vg02r5 is exported.
>
>
>  Found volume group "vg04r5" using metadata type lvm2
>  Found volume group "vg03r5" using metadata type lvm2
>  Found exported volume group "vg02r5" using metadata type lvm2
>  Found volume group "vg00r1" using metadata type lvm2
>  Found volume group "vg01r5" using metadata type lvm2
>
> If somebody could help to solve: how to "unexport" the volume group and
> how remove the lvol0 from it.


What does vgscan say? pvdisplay? pvscan? and finally lvdisplay?
I assume you need to do "lvremove /dev/vg02r5/lvol0"

Sure try that first, otherwise come back to us.

Many thanks in advance.
>
> Fred
>

Regards
Conor.



More information about the ILUG mailing list