You want to create a 4TB primary partition with the file system ext4 on the /dev/sda1 device
Which of the following set of commands will you use to accomplish this task?
Group of answer choices
fdisk /dev/sda1
n
p
1
4T
fdisk /dev/sda1
t
p
2
4T
parted /dev/sda1 (parted) mklabel gpt (parted) unit TB (parted) mkpart primary 0.00TB 4.00TB (parted) quit mkfs.ext4 /dev/sda1
Parted ¶parted /dev/sda1 (parted) mklabel gpt (parted) unit TB (parted) mkpart primary 0.00TB 4.00TB (parted) mkfs.ext4 /dev/sda1 (parted) quit
The correct set of commands is:
parted /dev/sda1
(parted) mklabel gpt
(parted) unit TB
(parted) mkpart primary 0.00TB 4.00TB
(parted) quit
mkfs.ext4 /dev/sda1