Skip to contentSkip to conversation

Broken Harddisk in LVM

linux-lvm Kai Iskratsch 3 participants 5 messages Jan 21, 2003 – Jan 25, 2003

lore
Share & tools
lore
#0 lore raw

One hard disk of my lvm System is completely broken, so that even the controller cannot find it.
Is there a possibility to get the lvm running again without the data of this disk.

Kai Iskratsch

#1 lore raw

Install device-mapper + LVM2 tools _additionally_ in a seperate location and run "vgscan ; vgchange -a y -P".

That might still leave you with unusable LVs in case their beginning is gone with the failed disk.

If you decide to do that get back to us in case you've got installation related questions.

Regards,
Heinz -- The LVM Guy --

Quoted 9 lines · Kai Iskratsch

One hard disk of my lvm System is completely broken, so that even the controller cannot find it.
Is there a possibility to get the lvm running again without the data of this disk.

Kai Iskratsch

Quoted 5 lines

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

#2 lore raw

I tried to install device mapper and lvm.
Applying the kernel patches and building the new kernel worked. But when I tried to build the device mapper lib I got the following error:

....
make[1]: Entering directory `/root/device-mapper.0.96.07/lib' gcc -shared -Wl,-soname,libdevmapper.so.0.96 \
-Wl,--version-script,.export.sym ioctl/libdevmapper.o libdm-common.o -o ioctl/libdevmapper.so /usr/i486-suse-linux/bin/ld:.export.sym:1: parse error in VERSION script
collect2: ld returned 1 exit status
make[1]: *** [ioctl/libdevmapper.so] Error 1
make[1]: Leaving directory `/root/device-mapper.0.96.07/lib'
make: *** [lib] Error 2

I used the latest version of device mapper.

Best regards

Kai Iskratsch

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Heinz J . Mauelshagen
Gesendet: Mittwoch, 22. Jänner 2003 12:15
An: [email protected]
Betreff: Re: [linux-lvm] Broken Harddisk in LVM

Install device-mapper + LVM2 tools _additionally_ in a seperate location and run "vgscan ; vgchange -a y -P".

That might still leave you with unusable LVs in case their beginning is gone with the failed disk.

If you decide to do that get back to us in case you've got installation related questions.

Regards,
Heinz -- The LVM Guy --

Quoted 3 lines · Kai Iskratsch

One hard disk of my lvm System is completely broken, so that even the controller cannot find it.
Is there a possibility to get the lvm running again without the data

of

Quoted 11 lines

this disk.

Kai Iskratsch

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

#3 lore raw
Quoted 1 line · Kai Iskratsch

/usr/i486-suse-linux/bin/ld:.export.sym:1: parse error in VERSION script

Some versions of ld need the first line of lib/.export.sym to be:
Base {

Alasdair

#4 lore raw
In reply to Heinz J . Mauelshagen

Now I have done this. The VG is working, the two LVs that are not on the broken hard disk are also ok. The only problem is the third LV that spanned to the broken hard disk. It has an ext3 FS and if I run e2fsck on it the e2fsck tries to recover the journal which I think is not working (it repeats the message: "/dev/Data/Daten: recovering journal") I also tried to deactivate the journal, but tun2fs will not delete it because it needs to be recovered.

Best regards

Kai

-----Ursprüngliche Nachricht-----
Von: [email protected] [mailto:[email protected]] Im Auftrag von Heinz J . Mauelshagen
Gesendet: Mittwoch, 22. Jänner 2003 12:15
An: [email protected]
Betreff: Re: [linux-lvm] Broken Harddisk in LVM

Install device-mapper + LVM2 tools _additionally_ in a seperate location and run "vgscan ; vgchange -a y -P".

That might still leave you with unusable LVs in case their beginning is gone with the failed disk.

If you decide to do that get back to us in case you've got installation related questions.

Regards,
Heinz -- The LVM Guy --

Quoted 3 lines · Kai Iskratsch

One hard disk of my lvm System is completely broken, so that even the controller cannot find it.
Is there a possibility to get the lvm running again without the data

of

Quoted 11 lines

this disk.

Kai Iskratsch

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/

*** Software bugs are stupid.
Nevertheless it needs not so stupid people to solve them ***

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-

Heinz Mauelshagen Sistina Software Inc.
Senior Consultant/Developer Am Sonnenhang 11
56242 Marienrachdorf Germany
[email protected] +49 2626 141200

                                                       FAX 924446

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
=-=-=-

_______________________________________________
linux-lvm mailing list
[email protected]
http://lists.sistina.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/