LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 11-26-2012, 07:45 PM   #1
kamaleshbv1
LQ Newbie
 
Registered: Apr 2011
Posts: 29

Rep: Reputation: 0
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
 
Old 11-26-2012, 07:53 PM   #2
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,287

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
Can you show
Code:
uname -a

cat /etc/*release*
Also, please show the exact cmds you tried and the error msgs you got.
 
Old 11-26-2012, 07:57 PM   #3
kamaleshbv1
LQ Newbie
 
Registered: Apr 2011
Posts: 29

Original Poster
Rep: Reputation: 0
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
 
Old 11-26-2012, 08:03 PM   #4
kamaleshbv1
LQ Newbie
 
Registered: Apr 2011
Posts: 29

Original Poster
Rep: Reputation: 0
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.
 
Old 11-26-2012, 08:07 PM   #5
chrism01
Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.5, Centos 5.10
Posts: 16,287

Rep: Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034Reputation: 2034
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.
 
Old 11-26-2012, 08:27 PM   #6
kamaleshbv1
LQ Newbie
 
Registered: Apr 2011
Posts: 29

Original Poster
Rep: Reputation: 0
Hello chris,

Thanks for the reply,I just need to know how to use the whole disk as lvm instead of 1 disk.
 
Old 11-26-2012, 11:03 PM   #7
kamaleshbv1
LQ Newbie
 
Registered: Apr 2011
Posts: 29

Original Poster
Rep: Reputation: 0
FYI..just figured out that you cannot work with fdisk for 20TB.anyways thanks for the help guys
 
  


Reply

Tags
lvm, partition, server


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble booting new Slack 13. LVM on Luks BashTin Slackware 8 10-22-2011 07:56 PM
Trouble booting up to LVM partition on Raid1. gammahermit Linux - General 2 07-11-2010 11:37 AM
lvm issues: trouble adding HDDs spargonaut Linux - Software 1 04-28-2007 02:00 PM
LVM volume mounting trouble SergeyAC Linux - Software 3 04-11-2005 01:28 PM
LVM EXT3 RAID Double Trouble tokehs Fedora 0 04-03-2005 11:37 AM


All times are GMT -5. The time now is 04:44 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration