* [linux-lvm] VG is not found !
@ 2001-11-15 12:27 Igor Dumaire
2001-11-15 19:10 ` Benjamin Scott
0 siblings, 1 reply; 3+ messages in thread
From: Igor Dumaire @ 2001-11-15 12:27 UTC (permalink / raw)
To: list LVM
Hi,
I had created 2 VG and worked sometime with its.
I have stopped the server and at the reboot the first VG have disappeared ! The
second it's OK !!
(perhaps, two drives (on 3) have been switched )
How can I restore the VG (vgrestore ?!) and the DATA ?
RH 7.1
LVM version 1.0.1-rc4(03/10/2001)
ReiserFS version 3.6.25
Linux 2.4.9
Thanks a lot for your help gays .
--
Igor Dumaire
www.LTUtech.com - Making Sense of Visual Content
------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] VG is not found !
2001-11-15 12:27 [linux-lvm] VG is not found ! Igor Dumaire
@ 2001-11-15 19:10 ` Benjamin Scott
2001-11-16 4:53 ` Igor Dumaire
0 siblings, 1 reply; 3+ messages in thread
From: Benjamin Scott @ 2001-11-15 19:10 UTC (permalink / raw)
To: list LVM
On Thu, 15 Nov 2001, Igor Dumaire wrote:
> I had created 2 VG and worked sometime with its. I have stopped the
> server and at the reboot the first VG have disappeared ! The second it's
> OK !!
Start with these commands:
lvmdiskscan
vgscan
vgdisplay
vgchange -ay
Do not just blindly try the commands if you are not familiar with them;
read the manual pages first. Try the '--verbose' switch with each for more
info.
--
Ben Scott <bscott@ntisys.com>
| The opinions expressed in this message are those of the author and do not |
| necessarily represent the views or policy of any other person, entity or |
| organization. All information is provided without warranty of any kind. |
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [linux-lvm] VG is not found !
2001-11-15 19:10 ` Benjamin Scott
@ 2001-11-16 4:53 ` Igor Dumaire
0 siblings, 0 replies; 3+ messages in thread
From: Igor Dumaire @ 2001-11-16 4:53 UTC (permalink / raw)
To: linux-lvm
Hi,
I can see all drives :
# lvmdiskscan
lvmdiskscan -- reading all disks / partitions (this may take a while...)
lvmdiskscan -- /dev/hda1 [ 70.57 MB] Primary LINUX native partition [0x83]
lvmdiskscan -- /dev/hda2 [ 19.07 GB] DOS extended partition [0x05]
lvmdiskscan -- /dev/hda5 [ 2.01 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hda6 [ 1.00 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hda7 [ 1.00 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hda8 [ 517.69 MB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hda9 [ 14.55 GB] Extended LINUX native partition [0x83]
lvmdiskscan -- /dev/hdc1 [ 57.27 GB] Primary LVM partition [0x8E]
lvmdiskscan -- /dev/hdd1 [ 57.27 GB] Primary LVM partition [0x8E]
lvmdiskscan -- /dev/hde1 [ 57.27 GB] Primary LVM partition [0x8E]
lvmdiskscan -- /dev/hdf1 [ 57.27 GB] Primary LVM partition [0x8E]
lvmdiskscan -- /dev/hdg1 [ 57.27 GB] Primary LVM partition [0x8E]
lvmdiskscan -- /dev/hdh1 [ 57.27 GB] Primary LVM partition [0x8E]
lvmdiskscan -- 7 disks
lvmdiskscan -- 0 whole disks
lvmdiskscan -- 0 loop devices
lvmdiskscan -- 0 multiple devices
lvmdiskscan -- 0 network block devices
lvmdiskscan -- 13 partitions
lvmdiskscan -- 6 LVM physical volume partitions
I can see volume group "lvm2" but not "lvm1"
# vgscan
vgscan -- reading all physical volumes (this may take a while...)
vgscan -- found active volume group "lvm2"
vgscan -- "/etc/lvmtab" and "/etc/lvmtab.d" successfully created
vgscan -- WARNING: This program does not do a VGDA backup of your volume group
I can display lvm2 info
# vgdisplay lvm2
--- Volume group ---
VG Name lvm2
VG Access read/write
VG Status available/resizable
VG # 0
MAX LV 255
Cur LV 1
Open LV 1
MAX LV Size 255.99 GB
Max PV 255
Cur PV 3
Act PV 3
VG Size 171.79 GB
PE Size 4.00 MB
Total PE 43977
Alloc PE / Size 43776 / 171.00 GB
Free PE / Size 201 / 804.00 MB
VG UUID Jp3gDv-ib7D-p5te-FFLZ-lNjI-5brK-fzjEM6
but, not lvm1 info !
# vgdisplay lvm1
vgdisplay -- volume group "lvm1" not found
So, What do I do?
Thanks,
Benjamin Scott a écrit :
>
> On Thu, 15 Nov 2001, Igor Dumaire wrote:
> > I had created 2 VG and worked sometime with its. I have stopped the
> > server and at the reboot the first VG have disappeared ! The second it's
> > OK !!
>
> Start with these commands:
>
> lvmdiskscan
> vgscan
> vgdisplay
> vgchange -ay
>
> Do not just blindly try the commands if you are not familiar with them;
> read the manual pages first. Try the '--verbose' switch with each for more
> info.
>
--
Igor Dumaire
www.LTUtech.com - Making Sense of Visual Content
------------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-11-16 4:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-11-15 12:27 [linux-lvm] VG is not found ! Igor Dumaire
2001-11-15 19:10 ` Benjamin Scott
2001-11-16 4:53 ` Igor Dumaire
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).