Hi All
I've been banging my head against the wall with this one...
I've recently rebuilt my server with three HDD's, 1x250GB and 2x1TB drives. What I'm trying to achieve is to have /boot, swap, /var and / mounted on the first drive (no problems there) and then have /home mounted on an LVM of the two 1TB drives, giving me a 2TB /home directory. Herein lies the problem...
I've created a LVM group via system-config-lvm and it all looks good. I've given it the name "DSLVM01" and I can see it through the system-config-lvm GUI no problem at all.
I then run "# fdisk -l" which looks good, here's the output:
Code:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000af342
Device Boot Start End Blocks Id System
/dev/sda1 * 1 24 192748+ 83 Linux
/dev/sda2 29916 30401 3903795 82 Linux swap / Solaris
/dev/sda3 17758 29915 97659135 83 Linux
/dev/sda4 25 17757 142440322+ 5 Extended
/dev/sda5 25 17757 142440291 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x00088ea9
Device Boot Start End Blocks Id System
/dev/sdb1 1 121601 976760001 8e Linux LVM
Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes
255 heads, 63 sectors/track, 121601 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000632cb
Device Boot Start End Blocks Id System
/dev/sdc1 1 121601 976760001 8e Linux LVM
...so I can see that my LVM is created. Now, when I run '# pvs' I get this output:
Code:
PV VG Fmt Attr PSize PFree
/dev/sdb1 DSLVM01 lvm2 a- 931.51G 931.51G
/dev/sdc1 DSLVM01 lvm2 a- 931.51G 931.51G
Great! I can see my volume group DSLVM01! Now (according to the instructions I've found on the web) I can mount the LVM using the command:
Code:
# mount /dev/DSLVM01 /home
... and here's the problem. I can't seem to find any reference to DSLVM01 at all. So I thought I'd search the filesystem, so I tried:
Code:
# find / -name DSLVM01
/etc/lvm/backup/DSLVM01
#
Now looking in the file /etc/lvm/backup/DSLVM01 in vi I get the following:
Code:
# Generated by LVM2 version 2.02.39 (2008-06-27): Tue Jul 28 13:02:14 2009
contents = "Text Format Volume Group"
version = 1
description = "Created *after* executing '/sbin/vgextend DSLVM01 /dev/sdc1'"
creation_host = "dunzserver01" # Linux dunzserver01 2.6.28-13-server #45-Ubuntu SMP Tue Jun 30 22:56:18 UTC 2009 x86_64
creation_time = 1248782534 # Tue Jul 28 13:02:14 2009
DSLVM01 {
id = "UNT7xX-SHMe-KpBQ-M6NA-H1o1-u6Kg-v0hovo"
seqno = 2
status = ["RESIZEABLE", "READ", "WRITE"]
extent_size = 8192 # 4 Megabytes
max_lv = 256
max_pv = 256
physical_volumes {
pv0 {
id = "nNbbs8-9pxH-5WTm-7A9N-6HlS-GRNH-6SejoR"
device = "/dev/sdb1" # Hint only
status = ["ALLOCATABLE"]
dev_size = 1953520002 # 931.511 Gigabytes
pe_start = 384
pe_count = 238466 # 931.508 Gigabytes
}
pv1 {
id = "rq6Lci-49KZ-i76E-zdsA-6l0J-PbaL-2AO7fq"
device = "/dev/sdc1" # Hint only
status = ["ALLOCATABLE"]
dev_size = 1953520002 # 931.511 Gigabytes
pe_start = 384
pe_count = 238466 # 931.508 Gigabytes
}
}
}
...but there are no other references to DSLVM01. Can anyone point me in the right direction please?
TIA, Simplified