LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-01-2010, 08:30 PM   #1
ccampbell@etcc.com
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Rep: Reputation: 0
18TB logical volume


Is it passable to create a logical volume of 18TB in size? I was able to create the volume group but I’m having issues with the logical volume.

Last edited by ccampbell@etcc.com; 12-01-2010 at 08:37 PM.
 
Old 12-01-2010, 10:16 PM   #2
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
This probably doesn't belong in the Newbie forum. Newbies shouldn't be using LVM, especially on real projects (18TB sounds pretty real).

Quote:
Originally Posted by ccampbell@etcc.com View Post
I was able to create the volume group but I’m having issues with the logical volume.
What is it telling you? Specific error messages lead to better answers.

The following might help, but is not authoratative: http://www.walkernews.net/2007/07/02...volume-in-lvm/
Quote:
Beside the PE size, the maximum size of single LV is also limited by CPU architecture and Linux kernel version:

* Linux kernel version 2.4.x limit the maximum LV size to 2TB.

* Some older Linux kernel prior to 2.4.x, the maximum LV size is limited to 1TB (caused by the integer signedness problems in the block layer).

* The combination of 32-bit CPU and Linux kernel version 2.6.x, the limit of logical volume size is maximized at 16TB.

* For Linux kernel 2.6.x running on 64-bit CPU, the maximum LV size is 8EB (extremely terrible big storage for this time being!)
"uname -a" might give us some of these clues. I suspect that third bullet point might be your concern...
 
Old 12-02-2010, 08:26 AM   #3
ccampbell@etcc.com
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Original Poster
Rep: Reputation: 0
Thanks for your reply,
I have been trying to resize the PE but I must be doing something wrong.

uname -a
Linux server_name.local 2.6.18-194.26.1.0.1.el5 #1 SMP Tue Nov 9 18:48:15 EST 2010 x86_64 x86_64 x86_64 GNU/Linux

This is the error i get when creating new logical Volume....
Creation of filesystem failed. Command attempted: "/sbin/mkfs -t ext3 /dev/backupgroupVol3/vol3" - System Error Message: mke2fs 1.39 (29-May-2006)mkfs.ext3: Size of device /dev/backupgroupVol3/vol3 too big to be expressed in 32 bits using a blocksize of 4096.
 
Old 12-02-2010, 08:33 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,669

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
ext3 doesn't support devices larger that 2 TB, you should move to another file system that does (ext4,ocfs2,xfs,zfs,btrfs,...)
 
Old 12-02-2010, 09:20 AM   #5
ccampbell@etcc.com
LQ Newbie
 
Registered: Aug 2010
Posts: 4

Original Poster
Rep: Reputation: 0
I tried ext3, I have to figure out how to get the other file systems configured.

Creation of filesystem failed. Command attempted: "/sbin/mkfs -t ext4 /dev/backupgroupVol3/vol3" - System Error Message: mke4fs 1.41.9 (22-Aug-2009)mkfs.ext4: Size of device /dev/backupgroupVol3/vol3 too big to be expressed in 32 bits using a blocksize of 4096.
 
Old 12-02-2010, 11:23 AM   #6
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint
Posts: 9,669

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
Hmm, sorry about suggesting ext4. It looks like the file-system structure now supports larger than 16 TB size but the tools to create one don't yet.
 
Old 12-02-2010, 02:28 PM   #7
gd2shoe
Member
 
Registered: Jun 2004
Location: Northern CA
Distribution: Debian
Posts: 835

Rep: Reputation: 49
That's a problem. I'd try one of the other file systems mentioned. It is, however, possible to expand ext3 up to at least 16TB by increasing the block size to 4K.

4K also appears to be the limit for ext4 on x86 (and presumably x86-64). I suspect that is what causes the 16TB limit on ext4, but I'm not sure. It might be worth playing with.

If your project lends itself to it, you might consider making 2 LV.
 
  


Reply


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
LVM Mount Physical Volume/Logical Volume without a working Volume Group mpivintis Linux - Newbie 10 01-11-2014 07:02 AM
Extending logical volume LogVol01 Insufficient allocatable logical exte swap space umeshsharma Linux - Newbie 4 06-22-2009 12:26 PM
Logical Volume Management 2 XaViaR Linux - General 5 08-20-2005 07:48 AM
Logical Volume Manager sidmark-2850 Linux - General 3 01-02-2004 01:25 PM
Logical Volume Management jatimon Linux - General 0 04-17-2002 02:57 PM


All times are GMT -5. The time now is 01:47 PM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration