Re: Hilfe! Volume Group gelöscht :-(
Am Dienstag 01 Januar 2008 14:34:15 schrieb Martin Steigerwald:
> shambala> vgcfg<Tab><Tab>
> vgcfgbackup vgcfgrestore
>
> ;-)
Das war nicht nett ;-) aber passend.
> Vielleichts da auch für LVM was... vielleicht auch ein Tool, das wie
> PhotoRec - das im übrigen hier schonmal hervorragend mit einer
> Smartmedia-Karte funktioniert - nach LVM-Metadaten scannt und diese auch
> findet, wenn diese in Dateien in /etc/lvm2 abgelegt sind...
ich befürchte damit hast Du mir das Leben leichter gemacht :-)
Sieht das wie eine solche Config-Datei aus?
| ---------------------------------------------------------------------------------------------------
server-dom0 {
id = "Dnv8oi-j6Ls-nMIo-2jZq-RsEF-L9pQ-mb2r3A"
seqno = 20
status = ["RESIZEABLE", "READ", "WRITE"]
extent_size = 8192
max_lv = 0
max_pv = 0
physical_volumes {
pv0 {
id = "kBfknT-26IO-mhYy-oOBy-BBn5-X0fM-hiill7"
device = "/dev/hda5"
status = ["ALLOCATABLE"]
pe_start = 384
pe_count = 7302
}
}
logical_volumes {
root {
id = "4xNHIn-8iwq-GPmS-Q8qz-9rCh-IeGo-TrM03R"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 1598
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 0
]
}
}
swap_1 {
id = "Kz8Y0T-h2Yq-xElr-vcxH-XFtz-wWWc-fBa1uk"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 222
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 1598
]
}
}
endianlv_swap {
id = "5R1W16-Tibe-7Edr-1LYu-LJ2R-o252-eXg3WX"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 32
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 1956
]
}
}
endianlv_var {
id = "nn3G0k-GtVS-2CS7-Y03X-0nbN-tJBj-U0YFRs"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 128
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 1988
]
}
}
clarklv_swap {
id = "rEBtJj-fkHS-OB2I-F5V0-Iors-KDpV-X4OdOS"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 32
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 2116
]
}
}
clarklv_boot {
id = "uBAJIn-HqrT-fMl1-8KWm-Kidu-PTxq-v5k2Dx"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 8
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 2148
]
}
}
clarklv_root {
id = "L1VDMr-2aG2-iRPl-DP36-t0Zb-rqJm-Reqp5f"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 512
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 2156
]
}
}
vdr_lv_root {
id = "zXALJ0-Fh6G-Z7kg-99DA-c7If-JAVg-y5aAiA"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 512
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 2668
]
}
}
vdr_lv_swap {
id = "rADOkC-6n6d-LQ8k-jGpN-bzbs-TXPe-XhyPW1"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 64
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 3180
]
}
}
openxchange_lv_root {
id = "3M036p-S3dN-BqR7-WJV1-OQ3a-9NVN-PlTqCS"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 512
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 3244
]
}
}
openxchange_lv_swap {
id = "KNkBg7-Jkjd-CTF5-FXZN-U3te-2XdI-WnInx0"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 32
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 3756
]
}
}
slogger_lv_root {
id = "ZTBIIJ-rkSU-mgzv-SsZv-lRqc-2KBY-9E1BB0"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 1024
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 3788
]
}
}
slogger_lv_swap {
id = "HkLLCf-U30p-HmLw-FxjA-8t1K-w6Fy-M4vna9"
status = ["READ", "WRITE", "VISIBLE"]
segment_count = 1
segment1 {
start_extent = 0
extent_count = 128
type = "striped"
stripe_count = 1 # linear
stripes = [
"pv0", 4812
]
}
}
}
}
# Generated by LVM2: Wed Dec 19 08:24:07 2007
contents = "Text Format Volume Group"
version = 1
description = ""
creation_host = "server-dom0.abc.de" # Linux server-dom0.abc.de
2.6.18-5-xen-686 #1 SMP Wed Oct 3 04:02:16 UTC 2007 i686
creation_time = 1198049047 # Wed Dec 19 08:24:07 2007
|---------------------------------------------------------------------------------------------------
> Ciao,
MfG, Chris.....
Reply to: