I follow a format posted by Chewitt about 6 years ago.. To whit:
parted -s /dev/sdb mklabel gpt
parted -s /dev/sdb mkpart primary ext4 0% 100%
parted -s /dev/sdb name 1 'MEDIA'
mkfs.ext4 -L "MEDIA" /dev/sdb1
fsck.ext4 -y /dev/sdb1
I use that whenever I need to add another HD to my LE/KODI box renaming the /dev/sdx as appropriate.....
I recently added a 4TB HD and, using the above format, namely the PARTED MKPART command, it only configured 1.7TB of the 4TB HD...
I am assuming that the format is the issue, as I got an error message.  Unfortunately, I don't recall the exact message I got.. I know.. That would be kinda important..
I pulled the 4TB HD and put it on my Windows system and it only sees 1.7TB on that drive..  
Did I irrevocably screw that 4TB HD up???
Disregard...   I figured it out..  I was using a USB Interface and I think that is limited to  <2TB...  I plugged the HD directly into my windows system and it recognized the full 4TB...
DOH!!!   
 
		 
		
		
	
