LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-12-2014, 06:28 PM   #1
Stephen P. Morgan
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Rep: Reputation: Disabled
Why Isn't ext4 Using My Whole Drive?


I have two drives, one a Seagate 3.0 TByte drive and the other a Seagate 4.0 TByte drive. I've created an ext4 file system on both drives using the whole drive (not partitioned). For some reason, the file system created is the same size on both drives, and does not seem to be using the whole drive. It is (only) 2,113,656,748 1-KByte blocks. How can I get ext4 to use the whole drive? Thanks!!
 
Old 09-12-2014, 06:46 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
An ext4 file system has a maximum size of 2TB. EDIT: See #3, #5 .
http://en.wikipedia.org/wiki/Comparison_of_file_systems


Seems like JFS allows a much bigger size.
( If your partitioning tool is able to make it.)
* JFS is one of the most commonly used file systems,
and Ubuntu run perfectly with JFS.

Note : Gparted couldn't make more than 2 TB JFS on my 3 TB disk.

-

Last edited by knudfl; 09-13-2014 at 03:41 AM.
 
Old 09-12-2014, 07:08 PM   #3
Stephen P. Morgan
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Are you sure? I read the table in that article to mean that ext4 supports up to 1 Ettabyte file systems.
 
Old 09-12-2014, 08:42 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 26,340

Rep: Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146Reputation: 6146
What distribution/version are you running?
Looks like a MBR/BIOS motherboard 2TB drive limitation.

http://en.wikipedia.org/wiki/GUID_Partition_Table
 
Old 09-12-2014, 09:23 PM   #5
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,284

Rep: Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165Reputation: 4165
Strictly speaking under MBR regimes it's the (each) partition that is limited to 2T - assuming 512 sector.
Quote:
Originally Posted by Stephen P. Morgan View Post
I have two drives, one a Seagate 3.0 TByte drive and the other a Seagate 4.0 TByte drive. I've created an ext4 file system on both drives using the whole drive (not partitioned). For some reason, the file system created is the same size on both drives, and does not seem to be using the whole drive. It is (only) 2,113,656,748 1-KByte blocks. How can I get ext4 to use the whole drive? Thanks!!
Are you sure ?. More likely you created one partition. Show us the output of this (as root/sudo) amended for the appropriate devices
Code:
parted /dev/sd? "print free"
 
1 members found this post helpful.
Old 09-13-2014, 05:32 PM   #6
EDDY1
LQ Addict
 
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841

Rep: Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649Reputation: 649
Check kernel config

http://carltonbale.com/how-to-break-...-system-limit/
 
Old 09-13-2014, 06:48 PM   #7
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Partitions created using MBR formatting can only contain 2TB. You have two choices - make two or more partitions on the drive, or use a GUID partition. MBR is rapidly becoming obsolete.

http://www.linux.com/learn/tutorials...e-ancient-mbr-

Last edited by sgosnell; 09-13-2014 at 06:50 PM.
 
1 members found this post helpful.
Old 10-06-2014, 03:05 PM   #8
Stephen P. Morgan
LQ Newbie
 
Registered: Jul 2014
Posts: 4

Original Poster
Rep: Reputation: Disabled
Sorry, I've been away on a business trip. Just got back. This is what 'sudo parted /dev/sdi "print free"' returned:

Model: ATA ST4000DM000-1F21 (scsi)
Disk /dev/sdi: 2199GB
Sector size (logical/physical): 512B/512B
Partition Table: loop

Number Start End Size File system Flags
1 0.00B 2199GB 2199GB ext4

Last edited by Stephen P. Morgan; 10-06-2014 at 03:07 PM.
 
  


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
Transferring Files from an NTFS Drive to an Ext4 Drive alemoo Linux - Newbie 14 02-09-2014 11:13 PM
UNetBootin isn't creating bootable flash drive from file on hard drive. glenellynboy Linux - Newbie 44 09-30-2011 06:28 PM
[SOLVED] How to transfer files from windows drive to Mandriva ext4 drive? rrsc16954 Mandriva 7 01-23-2011 08:47 AM
[SOLVED] how to format hard drive in ext4? dynamiteboy Linux - Newbie 6 01-28-2010 12:16 PM
Formatting drive to ext4 simonb1975uk Slackware 2 01-08-2009 12:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:09 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
Open Source Consulting | Domain Registration