I believe we could use the block device directly to do mkfs or create one partition through parted on linux and mkfs on top of the primary partition. However, I'm not sure if there is any recommendations on these two approaches or there is any trivial caveats on top of it. Any comment or suggestion is appreciated.
For my specific case, I just want to use the disk as data partition by itself and build xfs on that disk volume.
fdisk -l
. – Artem S. Tashkinov Jun 09 '22 at 21:00