LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   best part type for 3T disk (https://www.linuxquestions.org/questions/linux-server-73/best-part-type-for-3t-disk-4175429206/)

sir-lancealot 09-26-2012 10:09 PM

best part type for 3T disk
 
Need some additional space for some data archiving, so just picked up 2 3T disks (one for each server). fdisk shows;

Disk /dev/sdb: 3000.6 GB, 3000592982016 bytes
90 heads, 3 sectors/track, 21705678 cylinders, total 5860533168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disk identifier: 0x391c22ae

So that was good, the problem I made the default like type (83), then mkfs.ext4 and when I mounted it, total showed 2T not 3T!

I am a little pressed for time but it's late here EST, so I figured I would post, then check in the morning and if nothing start my reading on if it's an incorrect partition or do I just need a different filesystem.

Tnx all!

** Update **

Sorry for wasting time, found it pretty quick (and works)

http://icesquare.com/wordpress/how-t...rive-on-linux/

SecretCode 09-28-2012 06:52 AM

Interesting. Looks like the limitation (not clearly spelled out in the page you linked) is that the 'msdos' or 'pcdos' disk label can't support more than 2^32 -1 sectors (of 512 bytes) so you need to use another disk label, like 'gpt' - and fdisk doesn't support gpt. See DOS Partitions (fdisk) and the 2TB Limit « UNIX Administratosphere.

Well worth knowing.


All times are GMT -5. The time now is 11:23 AM.