LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   lvm trouble (http://www.linuxquestions.org/questions/linux-server-73/lvm-trouble-4175438830/)

kamaleshbv1 11-26-2012 07:45 PM

lvm trouble
 
Hello all,

I just have a quick question on LVM, I am trying to configure my external storage to a server as LVM and am having problems in doing so. I have tried couple of times to setup the LVM and every time i do so i am not getting the size of the lvm not more than 2Tb,as the case am in need to make this a 10Tb one. Please let me know if any one has any suggestions.

Addl.Info: my external storage is md3200 with 21*2Tb disks

---------- Post added 11-26-12 at 07:46 PM ----------

--- Physical volume ---
PV Name /dev/sdc1
VG Name vg0
PV Size 2.00 TiB / not usable 1.23 MiB
Allocatable yes
PE Size 4.00 MiB
Total PE 524287
Free PE 524287
Allocated PE 0
PV UUID dBGnhY-OdNg-jO69-Vy3C-Il1U-4OAx-JAMkD

chrism01 11-26-2012 07:53 PM

Can you show
Code:

uname -a

cat /etc/*release*

Also, please show the exact cmds you tried and the error msgs you got.

kamaleshbv1 11-26-2012 07:57 PM

Linux 2.6.32-279.el6.x86_64 #1 SMP Wed Jun 13 18:24:36 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux

Red Hat Enterprise Linux Server release 6.3 (Santiago)
Red Hat Enterprise Linux Server release 6.3 (Santiago)
cpe:/o:redhat:enterprise_linux:6server:ga:server

kamaleshbv1 11-26-2012 08:03 PM

chris,

Thanks for the reply. This is how i previously did it.
First , i made sure that the disk is written with a partition table for that did all the steps by going to fdisk /dev/sdc and then created partition and then created my primary(as 1) and then configured it to be LVM(whole additional storage disk).

second stage,pvcreate /dev/sdc1 and then vgcreate vg0 /dev/sdc1
third -lvcreate -L 4T -n lvol0 vg0.{at this stage it is not allowing me to create how much i need to do, later when checked i came to know that it's of 2TB

third.mkfs -t ext4 -m 1 -v /dev/vg0/lvol0

then mount point option.

chrism01 11-26-2012 08:07 PM

Like I said, we need the EXACT error msgs; saying it didn't work/not allowing doesn't help us.
In any case, seeing as you have a RHEL system there, you should search their Knowledgebase and/or phone their support.

kamaleshbv1 11-26-2012 08:27 PM

Hello chris,

Thanks for the reply,I just need to know how to use the whole disk as lvm instead of 1 disk.

kamaleshbv1 11-26-2012 11:03 PM

FYI..just figured out that you cannot work with fdisk for 20TB.anyways thanks for the help guys


All times are GMT -5. The time now is 07:49 PM.