Re: [CentOS] 2TB limit, weird mounting issues on reboot

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



John Newbigin wrote:
You can not have a DOS partition larger than 2Tb. parted will create one and tell the kernel about the size which works.... until you reboot and then the partition is 2Tb smaller than it should be because the partition table can not store the MSB of your partition size.

The solution is to use LVM or GPT partitions.


Right.

The procedure should look something like this:

/sbin/parted /dev/yourdevice
(parted) mklabel gpt
(parted) print
Disk geometry for /dev/etherd/yourdevice: 0kB - 3001GB
Disk label type: gpt
(parted) mkpart primary 0 3001G
(parted) quit

Now build the filesystem.  I normally use:

mke2fs -j -b 4096 /dev/yourdevice

(tap foot for a few minutes)

Now it should mount normally and you can uncomment out the entry for that device in /etc/fstab.

Hope that helps.

Cheers,


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux