All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] main drive fail
@ 2001-05-17 12:48 Thomas Inglis
  2001-05-17 12:54 ` Patrick Boutilier
  2001-05-17 12:56 ` Dominique LARCHEY-WENDLING
  0 siblings, 2 replies; 7+ messages in thread
From: Thomas Inglis @ 2001-05-17 12:48 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

I am running lvm-0.9.1.beta1 on redhat 7.0 with a 2.4.4 kernel.

I have four drives, one main 'boot' drive and three drives which were used
with LVM. All was fine and dandy until the main boot drive failed. Ouch.

I have reinstalled Redhat, and lvm-0.9.1.beta1 (thought id go with what it
had before) and built the kernel again, then rebooted.

Now the problem.
lvscan, vgdiaplay & vgscan tells me there are no voulume groups defined.

vgcreate lvmGroup /dev/hdb1 /dev/hdc1 /dev/hdd1
informs me the drive(s) are already part of the lvmGroup

pvcreate lvmGroup /dev/hdb1 /dev/hdc1 /dev/hdd1
with the -ff switch want to initialise the drive, so I thought it prudent to
tell it no.

How can I renistate my volumes? It appears they are still valid on the
drive, but I cant seem to create or reinstate the group.

Thomas




__________________________________________________
n-ary .. .. .. functionality through creativity
http://www.n-ary.com/ +44 (1387) 242800

tagServlet ... a java alternative to ColdFusion!
http://www.tagServlet.com/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [linux-lvm] main drive fail
@ 2001-05-17 13:10 Thomas Inglis
  2001-05-17 13:35 ` Dominique LARCHEY-WENDLING
  0 siblings, 1 reply; 7+ messages in thread
From: Thomas Inglis @ 2001-05-17 13:10 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

Thomas, Did you restore the lvm related entries in /etc ?
Well, using
   vgcfgrestore -nlvmGroup /dev/hdb1         (thx Dominque)
says that /etc/lvmconf/lvmGroup.conf doesnt exists, backup not available.
So no, how do I do this?
Thomas
__________________________________________________
n-ary .. .. .. functionality through creativity
http://www.n-ary.com/ +44 (1387) 242800

tagServlet ... a java alternative to ColdFusion!
http://www.tagServlet.com/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* [linux-lvm] main drive fail
@ 2001-05-17 14:05 Thomas Inglis
  0 siblings, 0 replies; 7+ messages in thread
From: Thomas Inglis @ 2001-05-17 14:05 UTC (permalink / raw)
  To: 'linux-lvm@sistina.com'

Dominique,

Maybe I didn't explain it well enough. Main drive is gone, poof, no longer
exists. Its the other three drives I want to restore now that ive done the
kernel/LVM stuff on the new drive. No existing LVM files remain on the main
drive. The only thing the main drive did was boot and start LVM. Obviously
that's now not the case. Upshot is I do not have /etc/lvmconf anymore.

Im not particularly bothered about restoring all as it was, but I DO need to
get the data contained on the drive, however painful or time consuming so I
hope there's a way.
What's this about each physical volume containing this data? Can I restore
/etc/lvmconf/ from that in any way?

Anyway :-)

pvscan gives

  pvscan -- reading all physical volumes (this may take a while)
  pvscan -- inactive PV "/dev/hdb1" is associated to an unkown VG (run
vgscan)
  pvscan -- inactive PV "/dev/hdc1" is associated to an unkown VG (run
vgscan)
  pvscan -- inactive PV "/dev/hdd1" is associated to an unkown VG (run
vgscan)
  pvscan -- total: 3 [21.75 GB] / in use: 3 [21.75 GB] / in np VG: 0 [0]

pvdisplay /dev/hdb1 gives

  -- Physical Volume -- 
  PV Name		/dev/hdc1
  VG Name		lvmGroup
  PV Size		7.87 GB / NOT usable 3.48 MB [LVM: 128 KB]
  PV#			3
  PV Status		Not available
  Allocatable		yes (but full)
  Cur LV		1
  PE Size (KByte)	4096
  Total PE		2015
  Free PE		0
  Allocated PE		2015
  PV UUID		yspotL-fxXr-dfOH-BNN8-uYkB-6VGq-hku

Also, this may seem a silly Question, how do I reply to the thread I
created, lol, it seems silly to post it as an apparent new one?

Im no daft, just a programmer, ROFL.

Thomas
__________________________________________________
n-ary .. .. .. functionality through creativity
http://www.n-ary.com/ +44 (1387) 242800

tagServlet ... a java alternative to ColdFusion!
http://www.tagServlet.com/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2001-05-17 15:44 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-05-17 12:48 [linux-lvm] main drive fail Thomas Inglis
2001-05-17 12:54 ` Patrick Boutilier
2001-05-17 12:56 ` Dominique LARCHEY-WENDLING
  -- strict thread matches above, loose matches on Subject: below --
2001-05-17 13:10 Thomas Inglis
2001-05-17 13:35 ` Dominique LARCHEY-WENDLING
2001-05-17 15:44   ` Heinz J. Mauelshagen
2001-05-17 14:05 Thomas Inglis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.