Not able to format a 4TB drive on ubuntu

Volker Wysk post at volker-wysk.de
Fri Sep 18 16:15:37 UTC 2020


Am Freitag, den 18.09.2020, 07:07 -0700 schrieb Noah:
> Hi there,
> 
> I am still at a loss here of how to format a 4TB drive on ubuntu.  Ive 
> re-verified by looking at the drive that it is a 4TB drive printed on 
> the label.  What am I doing wrong?
> 
> $ cat /etc/lsb-release
> DISTRIB_ID=Ubuntu
> DISTRIB_RELEASE=20.04
> DISTRIB_CODENAME=focal
> DISTRIB_DESCRIPTION="Ubuntu 20.04.1 LTS"
> 
> I am following this tutorial: 
> https://kenfavors.com/code/how-to-format-a-3tb-drive-on-ubuntu/
> 
> 
> Here is the output.
> 
> --- snip ---
> 
> $ lsblk
> NAME   MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
> loop0    7:0    0 72.4M  1 loop /snap/lxd/17147
> loop1    7:1    0 96.6M  1 loop /snap/core/9804
> loop2    7:2    0   55M  1 loop /snap/core18/1880
> loop3    7:3    0 68.6M  1 loop /snap/lxd/17280
> loop4    7:4    0 55.3M  1 loop /snap/core18/1885
> loop5    7:5    0 10.1M  1 loop /snap/kubectl/1612
> loop6    7:6    0  9.8M  1 loop /snap/helm/272
> loop7    7:7    0 29.9M  1 loop /snap/snapd/8790
> loop8    7:8    0 97.1M  1 loop /snap/core/9993
> loop10   7:10   0  9.8M  1 loop /snap/helm/276
> loop11   7:11   0 10.1M  1 loop /snap/kubectl/1580
> loop12   7:12   0 30.3M  1 loop /snap/snapd/9279
> sda      8:0    0  1.9T  0 disk
> ├─sda1   8:1    0  512M  0 part /boot/efi
> └─sda2   8:2    0  1.9T  0 part /
> sdb      8:16   0  1.7T  0 disk
> $ sudo parted /dev/sdb
> GNU Parted 3.3
> Using /dev/sdb
> Welcome to GNU Parted! Type 'help' to view a list of commands.
> (parted) mklabel gpt
> Warning: The existing disk label on /dev/sdb will be destroyed and all 
> data on this disk will be lost. Do you want to continue?
> Yes/No? yes
> (parted) unit TB
> (parted) mkpart primary 0.00TB 3.00TB
> Error: The location 3.00TB is outside of the device /dev/sdb.
> (parted)
> 
> --- snip ---

Umm, I don't think I can help you, but what does this say:

sudo gdisk -l /dev/sdb

Regards,
Volekr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20200918/c162597b/attachment.sig>


More information about the ubuntu-users mailing list