Error when creating 2TB file systme using lvm2 in RHEL 5.1
|
Author | Content |
---|---|
rpnalluri Nov 11, 2008 5:37 PM EDT |
Hi, I am getting below error when i tried to create 2TB file system in RHEL 5.1 using lvm. I have more than 7TB free space on this LV. I can able to create 1TB file system. when i tried to create more than 1TB file system then only i am getting below error. "lvcreate command failed. Command attempted: "/usr/sbin/lvcreate -n msp-lpggp11 -l 64000 VolGroup00" - System Error Message: device-mapper: reload ioctl failed: Invalid argument Failed to activate new LV." server is Dell PE2900 and it has 10 internal disks(each is 1TB) which i configured hardware RAID-5 with one hot spare. Here are the my volume group details. vgdisplay --- Volume group --- VG Name VolGroup00 System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 14 VG Access read/write VG Status resizable MAX LV 0 Cur LV 8 Open LV 8 Max PV 0 Cur PV 1 Act PV 1 VG Size 7.27 TB PE Size 64.00 MB Total PE 119166 Alloc PE / Size 18079 / 1.10 TB Free PE / Size 101087 / 6.17 TB VG UUID 0kH1EK-nL6c-WfEz-3o69-ve0v-0uMc-pA2Vlv pvdisplay --- Physical volume --- PV Name /dev/sda2 VG Name VolGroup00 PV Size 7.27 TB / not usable 22.96 MB Allocatable yes PE Size (KByte) 65536 Total PE 119166 Free PE 101087 Allocated PE 18079 PV UUID zooWsm-sEUV-kNeC-Qe2a-oX88-3DAn-3BNdMx Any help would be really appreciated. Thanks, Raja |
Sander_Marechal Nov 11, 2008 6:15 PM EDT |
What does your syslog say about it? There's a maximum size of lvm volumes, but it should be around 4 terabyte on your system (64MB Physical Extent * 65536). |
penguinist Nov 11, 2008 6:51 PM EDT |
Is there a reason that you couldn't be using ext3? I can personally verify that ext3 runs fine on an 8.5 TB raid6 partition (11 active drives + 1 spare). |
rijelkentaurus Nov 11, 2008 9:04 PM EDT |
Is this actually Red Hat supplied by Dell, or a clone such as CentOS? If it's Red Hat proper, and not a trial, you have support, so I would not hesitate to give them a call on this one. |
Sander_Marechal Nov 12, 2008 3:19 AM EDT |
@penguinist: The OP is talking about LVM. That's on a lower level than filesystems. You create a filesystem inside the LVM volume. LVM volumes are like virtual partitions. |
penguinist Nov 12, 2008 1:30 PM EDT |
I was just suggesting that, as an easy workaround, it is possible to create an ext3 filesystem directly on your raid array. You lose some flexibility, but it works fine. mkfs.ext3 /dev/md0 mount /dev/md0 /path_to_my_mount_point |
You cannot post until you login.