All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] LV's have "disapeared"
@ 2006-06-30  8:39 Cristian Livadaru
  2006-06-30 10:53 ` Dieter Stüken
  0 siblings, 1 reply; 3+ messages in thread
From: Cristian Livadaru @ 2006-06-30  8:39 UTC (permalink / raw)
  To: linux-lvm

I have created some new lv's for some tests.
What I did was based on this howto:

http://www.tldp.org/HOWTO/LVM-HOWTO/recipethreescsi.html

pvcreate /dev/hdk 
pvcreate /dev/hdi

vgcreate vhostvg /dev/hdk /dev/hdi

lvcreate -L1G -nvm01lv vhostvg 
ok and here I thinkg I made a big mistake!
since I had no partitions on my disks and I assumed that I needed one so
that it matches the LVM that was created by debian automaticaly I
created on both disks a partition and changed the type to 8e  Linux LVM.
I actualy worked with the lv's and everything is ok ( except my speed
problem but this is a other topic )
now after a rebbot, I only see the lv created by debian, not the one
that I kind of screwed up with my partitioning.

Is there a simple way to recover it? It's not that important that I
would wast to much time with it, it was just for testing anyway and I
could recreate them.

regards, Cristian Livadaru
--
http://livadaru.net

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

* Re: [linux-lvm] LV's have "disapeared"
  2006-06-30  8:39 [linux-lvm] LV's have "disapeared" Cristian Livadaru
@ 2006-06-30 10:53 ` Dieter Stüken
  2006-06-30 12:33   ` Cristian Livadaru
  0 siblings, 1 reply; 3+ messages in thread
From: Dieter Stüken @ 2006-06-30 10:53 UTC (permalink / raw)
  To: LVM general discussion and development

Cristian Livadaru wrote:
> I have created some new lv's for some tests.
> What I did was based on this howto:
> 
> http://www.tldp.org/HOWTO/LVM-HOWTO/recipethreescsi.html
> 
> pvcreate /dev/hdk 
> pvcreate /dev/hdi
> 
> vgcreate vhostvg /dev/hdk /dev/hdi
> 
> lvcreate -L1G -nvm01lv vhostvg 
> ok and here I thinkg I made a big mistake!
> since I had no partitions on my disks and I assumed that I needed one so
> that it matches the LVM that was created by debian automaticaly I
> created on both disks a partition and changed the type to 8e  Linux LVM.
> I actualy worked with the lv's and everything is ok ( except my speed
> problem but this is a other topic )
> now after a rebbot, I only see the lv created by debian, not the one
> that I kind of screwed up with my partitioning.
> 
> Is there a simple way to recover it? It's not that important that I
> would wast to much time with it, it was just for testing anyway and I
> could recreate them.

You created the partitions, but as long as you did not write any data
to the created partition, nothing bad happened so far. Just delete
the partition again. The partition table resides in the first sector
of the disk, which is fortunately unused by LVM.

Dieter.

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

* Re: [linux-lvm] LV's have "disapeared"
  2006-06-30 10:53 ` Dieter Stüken
@ 2006-06-30 12:33   ` Cristian Livadaru
  0 siblings, 0 replies; 3+ messages in thread
From: Cristian Livadaru @ 2006-06-30 12:33 UTC (permalink / raw)
  To: linux-lvm

On Fri, Jun 30, 2006 at 12:53:36PM +0200, Dieter St?ken wrote:
> Cristian Livadaru wrote:
> > I have created some new lv's for some tests.
> > What I did was based on this howto:
> > 
> > http://www.tldp.org/HOWTO/LVM-HOWTO/recipethreescsi.html
> > 
> > pvcreate /dev/hdk 
> > pvcreate /dev/hdi
> > 
> > vgcreate vhostvg /dev/hdk /dev/hdi
> > 
> > lvcreate -L1G -nvm01lv vhostvg 
> > ok and here I thinkg I made a big mistake!
> > since I had no partitions on my disks and I assumed that I needed one so
> > that it matches the LVM that was created by debian automaticaly I
> > created on both disks a partition and changed the type to 8e  Linux LVM.
> > I actualy worked with the lv's and everything is ok ( except my speed
> > problem but this is a other topic )
> > now after a rebbot, I only see the lv created by debian, not the one
> > that I kind of screwed up with my partitioning.
> > 
> > Is there a simple way to recover it? It's not that important that I
> > would wast to much time with it, it was just for testing anyway and I
> > could recreate them.
> 
> You created the partitions, but as long as you did not write any data
> to the created partition, nothing bad happened so far. Just delete
> the partition again. The partition table resides in the first sector
> of the disk, which is fortunately unused by LVM.


I already did a lot on the partition.
thanks anyway but the data on that lvm wasn't that important. I just
reinstalled everything.

Cris

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

end of thread, other threads:[~2006-06-30 12:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-30  8:39 [linux-lvm] LV's have "disapeared" Cristian Livadaru
2006-06-30 10:53 ` Dieter Stüken
2006-06-30 12:33   ` Cristian Livadaru

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.