* [linux-lvm] problems importing non-exported VG
@ 2001-12-10 11:19 Todd Underwood
2001-12-10 19:08 ` Wolfgang Weisselberg
0 siblings, 1 reply; 4+ messages in thread
From: Todd Underwood @ 2001-12-10 11:19 UTC (permalink / raw)
To: linux-lvm
folx,
after an upgrade during which i moved from a root LVM system to a non-root
LVM system and my /etc/lvm* files/directories were lost, i find i'm unable
to re-import data from a previously existing volume group and i'm not even
sure what the right steps are.
the previous vg name was rootvg.
appended is some info about the pvs. i had thought that i could re-create
rootvg from /dev/hdc1 /dev/hdc2 and /dev/hdc3 that previously held it, but
that seems not to work. the vg was created with 0.9.1-beta7. any
suggestions would be greatfully appreciated.
[root@villa root]# fdisk -l /dev/hda /dev/hdc
Disk /dev/hda: 255 heads, 63 sectors, 3722 cylinders
Units = cylinders of 16065 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hda1 * 1 1020 8193118+ 83 Linux
/dev/hda2 1021 1053 265072+ 82 Linux swap
/dev/hda3 1054 3722 21438742+ 8e Linux LVM
Disk /dev/hdc: 16 heads, 63 sectors, 59323 cylinders
Units = cylinders of 1008 * 512 bytes
Device Boot Start End Blocks Id System
/dev/hdc1 * 1 102 51376+ 8e Linux LVM
/dev/hdc2 103 1143 524664 8e Linux LVM
/dev/hdc3 1144 59323 29322720 8e Linux LVM
[root@villa root]# pvdisplay /dev/hdc1 /dev/hdc2 /dev/hdc3
--- Physical volume ---
PV Name /dev/hdc1
VG Name rootvg
PV Size 50.17 MB / NOT usable 2.17 MB [LVM: 121.00 KB]
PV# 2
PV Status available
Allocatable yes
Cur LV 0
PE Size (KByte) 4096
Total PE 12
Free PE 12
Allocated PE 0
PV UUID xCyjO4-pnM0-MqSa-0jWv-6fhr-LLla-fH6glB
--- Physical volume ---
PV Name /dev/hdc2
VG Name rootvg
PV Size 512.37 MB / NOT usable 376.00 KB [LVM: 121.00 KB]
PV# 3
PV Status available
Allocatable yes
Cur LV 0
PE Size (KByte) 4096
Total PE 128
Free PE 128
Allocated PE 0
PV UUID gteK14-bigq-FlPg-zItU-Qp6c-Bcta-yj1iuM
--- Physical volume ---
PV Name /dev/hdc3
VG Name rootvg
PV Size 27.96 GB / NOT usable 3.47 MB [LVM: 148.00 KB]
PV# 1
PV Status available
Allocatable yes
Cur LV 3
PE Size (KByte) 4096
Total PE 7158
Free PE 6114
Allocated PE 1044
PV UUID 1Fqav7-Dxjr-6ZPZ-09Zo-GnUE-jyux-mjjoEE
todd underwood, vp & cto
oso grande technologies, inc.
todd@osogrande.com
"Those who give up essential liberties for temporary safety deserve
neither liberty nor safety." - Benjamin Franklin
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] problems importing non-exported VG
2001-12-10 11:19 [linux-lvm] problems importing non-exported VG Todd Underwood
@ 2001-12-10 19:08 ` Wolfgang Weisselberg
2001-12-10 19:17 ` Todd Underwood
0 siblings, 1 reply; 4+ messages in thread
From: Wolfgang Weisselberg @ 2001-12-10 19:08 UTC (permalink / raw)
To: linux-lvm
Hi, Todd!
Todd Underwood (todd@osogrande.com) wrote 94 lines:
> after an upgrade during which i moved from a root LVM system to a non-root
> LVM system and my /etc/lvm* files/directories were lost, i find i'm unable
> to re-import data from a previously existing volume group and i'm not even
> sure what the right steps are.
Did you try running vgscan? Grep doesn't show it in your
mail, so I ask that 'stupid' question. No guarantee that
it'll work, though
-Wolfgang
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] problems importing non-exported VG
2001-12-10 19:08 ` Wolfgang Weisselberg
@ 2001-12-10 19:17 ` Todd Underwood
2001-12-10 20:56 ` Wolfgang Weisselberg
0 siblings, 1 reply; 4+ messages in thread
From: Todd Underwood @ 2001-12-10 19:17 UTC (permalink / raw)
To: linux-lvm
wolfgang, all,
yep, vgscan finds no volume groups on the system. sigh. i guess i really
need a backup of /etc/lvm*, which is on the lv. sigh again.
todd underwood, vp & cto
oso grande technologies, inc.
todd@osogrande.com
"Those who give up essential liberties for temporary safety deserve
neither liberty nor safety." - Benjamin Franklin
On Tue, 11 Dec 2001, Wolfgang Weisselberg wrote:
> Date: Tue, 11 Dec 2001 02:07:57 +0100
> From: Wolfgang Weisselberg <weissel@netcologne.de>
> Reply-To: linux-lvm@sistina.com
> To: linux-lvm@sistina.com
> Subject: Re: [linux-lvm] problems importing non-exported VG
>
> Hi, Todd!
>
> Todd Underwood (todd@osogrande.com) wrote 94 lines:
>
> > after an upgrade during which i moved from a root LVM system to a non-root
> > LVM system and my /etc/lvm* files/directories were lost, i find i'm unable
> > to re-import data from a previously existing volume group and i'm not even
> > sure what the right steps are.
>
> Did you try running vgscan? Grep doesn't show it in your
> mail, so I ask that 'stupid' question. No guarantee that
> it'll work, though
>
> -Wolfgang
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@sistina.com
> http://lists.sistina.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://www.sistina.com/lvm/Pages/howto.html
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [linux-lvm] problems importing non-exported VG
2001-12-10 19:17 ` Todd Underwood
@ 2001-12-10 20:56 ` Wolfgang Weisselberg
0 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Weisselberg @ 2001-12-10 20:56 UTC (permalink / raw)
To: linux-lvm
Hi, Todd!
Todd Underwood (todd@osogrande.com) wrote 50 lines:
> yep, vgscan finds no volume groups on the system. sigh. i guess i really
> need a backup of /etc/lvm*, which is on the lv. sigh again.
You did not export the vg, right? So there would be no use
to use "vgimport rootvg /dev/hdc1 /dev/hdc2 /dev/hdc3"...
Hmmm.
-Wolfgang
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2001-12-10 20:56 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-12-10 11:19 [linux-lvm] problems importing non-exported VG Todd Underwood
2001-12-10 19:08 ` Wolfgang Weisselberg
2001-12-10 19:17 ` Todd Underwood
2001-12-10 20:56 ` Wolfgang Weisselberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox