LVM - can"t find device

LVM - can"t find device

am 25.05.2007 09:09:39 von Dermot Paikkos

Hi Admin,

I had a test LVM volume that I used to get familiar with the
concepts. I am now ready to create the volumes proper and so re-
created the RAID containers from scratch. I didn't destroy the old
volumes and now I am getting lots of errors when I do
{pv,vg,lv}display.

Is there some way I can remove all the old configuration? I have
tried {lv,pv,vg}remove and I keep getting these type of errors:

Couldn't find device with uuid 'wL5A4h-HlSu-Pabf-DulI-is2f-R8br-
ZjhjMV'.
Couldn't find all physical volumes for volume group Archive.
Couldn't find device with uuid 'wL5A4h-HlSu-Pabf-DulI-is2f-R8br-
ZjhjMV'.
Couldn't find all physical volumes for volume group Archive.
Volume group "Archive" not found


Contents of /etc/lvm:

../.cache
../archive
../archive/Archive_00000.vg
../backup
../backup/Archive
../lvm.conf

Can anyone offer some advice?
Thanx,
Dp.



-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: LVM - can"t find device

am 25.05.2007 15:44:57 von Freddie

I think the trick was vgreduce --removemissing


On May 25, 2007, at 10:09 , Dermot Paikkos wrote:

> Hi Admin,
>
> I had a test LVM volume that I used to get familiar with the
> concepts. I am now ready to create the volumes proper and so re-
> created the RAID containers from scratch. I didn't destroy the old
> volumes and now I am getting lots of errors when I do
> {pv,vg,lv}display.
>
> Is there some way I can remove all the old configuration? I have
> tried {lv,pv,vg}remove and I keep getting these type of errors:
>
> Couldn't find device with uuid 'wL5A4h-HlSu-Pabf-DulI-is2f-R8br-
> ZjhjMV'.
> Couldn't find all physical volumes for volume group Archive.
> Couldn't find device with uuid 'wL5A4h-HlSu-Pabf-DulI-is2f-R8br-
> ZjhjMV'.
> Couldn't find all physical volumes for volume group Archive.
> Volume group "Archive" not found
>
>
> Contents of /etc/lvm:
>
> ./.cache
> ./archive
> ./archive/Archive_00000.vg
> ./backup
> ./backup/Archive
> ./lvm.conf
>
> Can anyone offer some advice?
> Thanx,
> Dp.
>
>
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-
> admin" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html

-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: LVM - can"t find device

am 25.05.2007 15:53:02 von Dermot Paikkos

In the end I moved the folders out of /etc/lvm and rpm -F lvms....rpm
which I think re-installed a fresh version.

It's a bit of a hack and I could have a kernel panic when I reboot.
Finger's crossed!
Dp.

On 25 May 2007 at 16:44, Freddie wrote:

> I think the trick was vgreduce --removemissing
>
>
> On May 25, 2007, at 10:09 , Dermot Paikkos wrote:
>
> > Hi Admin,
> >
> > I had a test LVM volume that I used to get familiar with the
> > concepts. I am now ready to create the volumes proper and so re-
> > created the RAID containers from scratch. I didn't destroy the old
> > volumes and now I am getting lots of errors when I do
> > {pv,vg,lv}display.
> >
> > Is there some way I can remove all the old configuration? I have
> > tried {lv,pv,vg}remove and I keep getting these type of errors:
> >
> > Couldn't find device with uuid 'wL5A4h-HlSu-Pabf-DulI-is2f-R8br-
> > ZjhjMV'.
> > Couldn't find all physical volumes for volume group Archive.
> > Couldn't find device with uuid 'wL5A4h-HlSu-Pabf-DulI-is2f-R8br-
> > ZjhjMV'.
> > Couldn't find all physical volumes for volume group Archive.
> > Volume group "Archive" not found
> >
> >
> > Contents of /etc/lvm:
> >
> > ./.cache
> > ./archive
> > ./archive/Archive_00000.vg
> > ./backup
> > ./backup/Archive
> > ./lvm.conf
> >
> > Can anyone offer some advice?
> > Thanx,
> > Dp.
> >
> >
> >
> > -
> > To unsubscribe from this list: send the line "unsubscribe linux-
> > admin" in the body of a message to majordomo@vger.kernel.org More
> > majordomo info at http://vger.kernel.org/majordomo-info.html
>


-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html