Hi All,
I have a 4 HDD system.
The first disk (160G) is my boot system.
The three other disks make up a LVM each disk is 2TB. No striping just 3 disks as one big disk.
During my upgrade to F17 I cocked up my boot disk.
I found some information on using dd to help recreate a config file for the lvm disks. and assembled this
Code:
# Generated by LVM2 version 2.02.95(2) (2012-03-06): Mon Jun 4 17:01:30 2012
contents = "Text Format Volume Group"
version = 1
description = ""
creation_host = "(none)" # Linux (none) 3.3.4-5.fc17.x86_64 #1 SMP Mon May 7 17:29:34 UTC 2012 x86_64
creation_time = 1338829290 # Mon Jun 4 17:01:30 2012
vg_main2 {
id = "OBZT6E-tzAO-v80A-kN38-R1Uo-3GRI-dXd4wj"
seqno = 13
format = "lvm2" # informational
status = ["RESIZEABLE", "READ", "WRITE"]
flags = []
extent_size = 8192
max_lv = 256
max_pv = 256
metadata_copies = 0
physical_volumes {
pv0 {
id = "PCNHHY-LSvJ-jKbt-TXbN-tceZ-0GPe-tshRED"
device = "/dev/sdb"
status = ["ALLOCATABLE"]
flags = []
dev_size = 3907029168
pe_start = 384
pe_count = 476932
}
pv1 {
id = "h8j1UC-Uckf-Ob3w-UTea-nUfT-JPWc-sVdjeF"
device = "/dev/sdc"
status = ["ALLOCATABLE"]
flags = []
dev_size = 3907029168
pe_start = 384
pe_count = 476932
}
pv2 {
id = "Ixsun3-rGKx-0xWB-tqFK-RDYq-OuNR-qIj5sO"
device = "/dev/sda"
status = ["ALLOCATABLE"]
flags = []
dev_size = 3907029168
pe_start = 2048
pe_count = 476932
}
}
logical_volumes {
big {
id = "ptLLIA-nQhQ-JsBQ-wur0-fejd-wV4E-Xj1PyR"
status = ["READ", "WRITE", "VISIBLE"]
flags = []
segment_count = 1
segment1 {
start_extent = 0
extent_count = 953864
type = "striped"
stripe_count = 1
stripe_size = 8
stripes = [
"pv0", 0,
"pv2", 0
]
}
}
}
}
how do I get fedora to see this configuration and use it?
---------- Post added at 09:50 PM ---------- Previous post was at 07:17 PM ----------
Just so all the information is available
blkid
/dev/sdc: UUID="h8j1UC-Uckf-Ob3w-UTea-nUfT-JPWc-sVdjeF" TYPE="LVM2_member"
/dev/mapper/vg_main-lv_swap: UUID="576e853f-1064-4b22-aaf1-89eca9111913" TYPE="swap"
/dev/mapper/vg_main-lv_root: LABEL="_Fedora-17-x86_6" UUID="61736f39-b25a-49a4-85cd-8eda8e8e9e64" TYPE="ext4"
/dev/mapper/vg_main-lv_home: UUID="baef8ad2-deda-4f0c-974c-a92638c2eeb9" TYPE="ext4"
/dev/sdd1: UUID="86f1da31-0a91-40c1-b151-8650e0d2a497" TYPE="ext4"
/dev/sdd2: UUID="92UeWo-GcG7-CDbL-d2gz-Zeri-sA0j-1re3rQ" TYPE="LVM2_member"
sda,sdb,sdc = 2TB
sdd = 160G
sdd1 = /boot 524M
sdd2 = 160G lvm2 pv
pvscan
PV /dev/sdd2 VG vg_main lvm2 [148.53 GiB / 0 free]
PV /dev/sdc lvm2 [1.82 TiB]
Total: 2 [1.96 TiB] / in use: 1 [148.53 GiB] / in no VG: 1 [1.82 TiB]