Article 5AJRG How to create a partition on a new 6tb hdd on debian os?

How to create a partition on a new 6tb hdd on debian os?

by
blooperx3
from LinuxQuestions.org on (#5AJRG)
Using docking station.
Lsblk: sda

Looking to create 1 partition using ext4, encrypt it using LUKS, and then transfer lots of data over to it.

This is what I have found - would be great to obtain the exact command line command(s) or what to do with gparted in GUI.
Code:
1- sudo fdisk dev/sdx
---- cannot work with larger than xyz, use GPT"

2- gparted GUI:
---- can't have partition outside the disk" (cancel/ignore) = chose ignore
---- can't have overlapping partitions (cancel/ignore) = chose ignore
----- libparted bug":
------------ Assertion (metadata_length > 0) at ../../../libparted/labels/dos.c:2313 in function add_logical_part_metadata () failed (NO only option)

3- sudo sfdisk: will create a new DOS disk label

4- sudo parted dev/sdx:
------ create a new disk label (partition table)"
------------ = mklabel,mktable LABEL-TYPE
------ make partition: mkpart PART-TYPE [FS-TYPE) start end"latest?d=yIl2AUoC8zA latest?i=nXfr-irHBoU:aSWoxPXlZHk:F7zBnMy latest?i=nXfr-irHBoU:aSWoxPXlZHk:V_sGLiP latest?d=qj6IDK7rITs latest?i=nXfr-irHBoU:aSWoxPXlZHk:gIN9vFwnXfr-irHBoU
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments