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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
09-12-2014, 06:28 PM
|
#1
|
LQ Newbie
Registered: Jul 2014
Posts: 4
Rep:
|
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!!
|
|
|
09-12-2014, 06:46 PM
|
#2
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519
|
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.
|
|
|
09-12-2014, 07:08 PM
|
#3
|
LQ Newbie
Registered: Jul 2014
Posts: 4
Original Poster
Rep:
|
Are you sure? I read the table in that article to mean that ext4 supports up to 1 Ettabyte file systems.
|
|
|
09-12-2014, 09:23 PM
|
#5
|
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,284
|
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
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.
|
09-13-2014, 05:32 PM
|
#6
|
LQ Addict
Registered: Mar 2010
Location: Oakland,Ca
Distribution: wins7, Debian wheezy
Posts: 6,841
|
|
|
|
09-13-2014, 06:48 PM
|
#7
|
Senior Member
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943
|
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.
|
10-06-2014, 03:05 PM
|
#8
|
LQ Newbie
Registered: Jul 2014
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:09 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|