I popped these into my system alongside two 2T disks and a SATA solid state drive. For whatever reason, the new disk showed up as /dev/sdb, bumping one of the 2T drives to be /dev/sdd. My SSD is /dev/sdc, but Fedora finds it because the installer labeled it or did something clever, which works out well.
So I edit /dev/fstab, changing sdc to sdd in two places and then when I exit emergency mode, all is well.
su parted /dev/sdbTake special care to verify that this is the disk you think it is !!
Once I was sure that /dev/sdb really was my new unpartitioned 4T drive I used the following commands:
print mklabel GPT mkpartI had to partition the disk about a dozen time before I got it right. I would just type "mklabel GPT" to wipe it clean and start over each time. Typing "print" shows you the partition scheme you have.
Unlike fdisk, you just quit and the partition is written, no need to explicitly write before exit like with fdisk. This could be a trap for some people who are used to fdisk where nothing actually happens to the disk until you explicitly write the label.
I found the best thing was to type "mkpart" and let it prompt me for what it wanted. The prompts were like this:
label name partition type start endI never did find decent documentation anywhere. The label is just a name that you can make up as you please. For partition type I used either ext4 or "linux-swap". The way start and end is set up is inconvenient, they are always relative to the start of the disk. This yields a conundrum about how to have one partition start where the other left off. What I found would work would be to put the start point explicitly in the middle of the prior partition. Parted would warn me and adjust the start point appropriately in a way that is impossible to figure out or specify. What I did was pretty much:
mklabel GPT mkpart "extra" ext4 1 50m mkpart "swap" linux-swap 40m 16.1g mkpart "u3" ext4 8g -1s print quitAfter this was done I did:
mkdir /u3 mkfs -t ext4 /dev/sdb3Then I edit fstab so it will mount /dev/sdb3 on /u3, and then "mount /u3" and I am off to the races. I also added a line for /dev/sdb2 as swap to fstab.
Adventures in Computing / tom@mmto.org