Hi ,
I have a fedora 12 installation , and the HD failed.
I was able to rescue one partition with fsck (sda0), but the other one (sda2) is giving me troubles - not mounted :
e2fsck -C0 -p -f -v /dev/sda2
e2fsck: Device or resource busy while trying to open /dev/sda2
Filesystem mounted or opened exclusively by another program?
[root@localhost liveuser]# fsck -C0 -p -f -v /dev/sda2
fsck from util-linux-ng 2.17.2
fsck: fsck.LVM2_member: not found
fsck: Error 2 while executing fsck.LVM2_member for /dev/sda2
if I do :
more /dev/sda2
it looks like the lvm partition data is there ... what would be the best way to save the data ?
�1�1�������������������������
����\
�B�
�t�L��
JvEEeIP
LVM2 x[5A%r0N*>
id = "DWBvjn-uPfB-U8Sn-ADPb-m4AA-hQYM-BsCkh1"
seqno = 1
status = ["RESIZEABLE", "READ", "WRITE"]
flags = []
extent_size = 8192
max_lv = 0
max_pv = 0
physical_volumes {
pv0 {
id = "9k184Z-uTiK-C4V7-sx2E-jkw6-ZNjJ-vEEeIP"
device = "/dev/sda2"
status = ["ALLOCATABLE"]
flags = []
dev_size = 77746562
pe_start = 384
pe_count = 9490
}
}
}
# Generated by LVM2 version 2.02.53(1) (2009-09-25): Thu Dec 17 18:44:26 2009
contents = "Text Format Volume Group"
version = 1
description = ""
creation_host = "localhost.localdomain" # Linux localhost.localdomain 2.6.31.5-1
27.fc12.i686 #1 SMP Sat Nov 7 21:41:45 EST 2009 i686
creation_time = 1261068266 # Thu Dec 17 18:44:26 2009
id = "DWBvjn-uPfB-U8Sn-ADPb-m4AA-hQYM-BsCkh1"
seqno = 2
status = ["RESIZEABLE", "READ", "WRITE"]
flags = []
extent_size = 8192
max_lv = 0
max_pv = 0
physical_volumes {
pv0 {
id = "9k184Z-uTiK-C4V7-sx2E-jkw6-ZNjJ-vEEeIP"
device = "/dev/sda2"
status = ["ALLOCATABLE"]
flags = []
dev_size = 77746562
pe_start = 384
pe_count = 9490
}
}
logical_volumes {
lv_root {
id = "1svxZ0-HF8b-ZWGt-RTx9-Lp8H-iaPj-LsVRXq"
status = ["READ", "WRITE", "VISIBLE"]
flags = []
segment_count = 1
segment1 {
start_extent = 0
extent_count = 9018
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 0
]
}
}
}
}
# Generated by LVM2 version 2.02.53(1) (2009-09-25): Thu Dec 17 18:44:26 2009
contents = "Text Format Volume Group"
version = 1
description = ""
creation_host = "localhost.localdomain" # Linux localhost.localdomain 2.6.31.5-1
27.fc12.i686 #1 SMP Sat Nov 7 21:41:45 EST 2009 i686
creation_time = 1261068266 # Thu Dec 17 18:44:26 2009
id = "DWBvjn-uPfB-U8Sn-ADPb-m4AA-hQYM-BsCkh1"
seqno = 3
status = ["RESIZEABLE", "READ", "WRITE"]
flags = []
extent_size = 8192
max_lv = 0
max_pv = 0
physical_volumes {
pv0 {
id = "9k184Z-uTiK-C4V7-sx2E-jkw6-ZNjJ-vEEeIP"
device = "/dev/sda2"
status = ["ALLOCATABLE"]
flags = []
dev_size = 77746562
pe_start = 384
pe_count = 9490
}
}
logical_volumes {
lv_root {
id = "1svxZ0-HF8b-ZWGt-RTx9-Lp8H-iaPj-LsVRXq"
status = ["READ", "WRITE", "VISIBLE"]
flags = []
segment_count = 1
segment1 {
start_extent = 0
extent_count = 9018
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 0
]
}
}
lv_swap {
id = "uTx4mA-27fO-y7Bk-610C-cng0-xPdz-F2W831"
status = ["READ", "WRITE", "VISIBLE"]
flags = []
segment_count = 1
segment1 {
start_extent = 0
extent_count = 472
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 9018
]
}
}
}
}
# Generated by LVM2 version 2.02.53(1) (2009-09-25): Thu Dec 17 18:44:47 2009
contents = "Text Format Volume Group"
version = 1
description = ""
creation_host = "localhost.localdomain" # Linux localhost.localdomain 2.6.31.5-1
27.fc12.i686 #1 SMP Sat Nov 7 21:41:45 EST 2009 i686
creation_time = 1261068287 # Thu Dec 17 18:44:47 2009
I would appriciate any kind of help !