All of lore.kernel.org
 help / color / mirror / Atom feed
* [linux-lvm] lvm lost after reboot !? how to recover UUID?
@ 2005-07-18 15:32 kitchhiking.org
  2005-07-18 15:36 ` Alan Jurgensen
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: kitchhiking.org @ 2005-07-18 15:32 UTC (permalink / raw)
  To: linux-lvm

Hi,

I'm using LVM only for about a month now and it ran flawless until  
today.

After rebooting the system all my PVs/VGs/LVs were gone, "mount" saying
e.g.:

 > mount: /dev/WD2000JB-182GB/srv is not a valid block device

/etc/lvmtab now is an empty file, /etc/lvmtab.d, /etc/lvm/backup and
/etc/lvm/archive are empty as well.

This is strange because etc/lvm/lvm.conf says that backups and archives
should be created but i can't find anything.

What remains are some files in /etc/lvmconf named  
"WD2000JB-182GB.conf" and
"IBM80G2.conf" and some older versions of those.

I read on the web *) about recovering the data using pvcreate/ 
vgcfgrestore,
but since "/etc/lvm/backup" and "/etc/lvm/archive" are empty I don't  
know
how to retrieve the UUIDs of my PVs.

*) http://codeworks.gnomedia.com/archives/2005/general/lvm_recovery/

Of course I don't have any further backup of these, since I first  
read about their
importance doing that when digging for hints howto recover my data.

(stupid me (tm))

The System is running Debian Sarge stable (2.4.27-2) on a
P3/Intel BX with 3 harddrives attached to it. LVM is Version 1.08

from /etc/fstab:

#lvm
/dev/WD2000JB-182GB/mld  /home/mld       auto   
suid,dev,exec              0 0
/dev/WD2000JB-182GB/srv  /srv/foo        auto   
suid,noexec,nodev          0 0
/dev/IBM80G2/costa_home  /home/costa     auto   
suid,noexec,nodev          0 0

where:

/dev/WD2000JB-182GB/ is situated on /dev/hda (a 200GB Harddisk)
/dev/IBM80G2/costa_home sits on /dev/hde (an 80GB Harddisk attached  
to an onboard
                                           HPT366 ATA66 Controller)

pvdisplay /dev/WD2000JB-182GB says:

 > cserver:/etc/lvm# pvdisplay /dev/hde
 > pvdisplay -- ERROR "pv_read(): pv_create_name_from_kdev_t" no  
VALID physical volume "/dev/hde"

vgdisplay just returns:

 > cserver:/etc/lvm# vgdisplay
 > vgdisplay -- no volume groups found

If any of you has a clou how i could recover my data (or just the  
UUIDs) or
maybe rebuild the LVM I'd be really grateful.

Hope to hear from you,
Constantin

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

end of thread, other threads:[~2005-07-19 11:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-18 15:32 [linux-lvm] lvm lost after reboot !? how to recover UUID? kitchhiking.org
2005-07-18 15:36 ` Alan Jurgensen
2005-07-18 16:05   ` kitchhiking.org
2005-07-19  0:00 ` [linux-lvm] PVs not found (kernel 2.4<->devfs?) [was: lvm lost after reboot!?] Constantin Mercier
2005-07-19  8:28 ` [linux-lvm] lvm lost after reboot !? how to recover UUID? GARIN N Ext ROSI/SIPROD
2005-07-19 11:46   ` [linux-lvm] solved: lvm lost after reboot !? Constantin Mercier

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.