I created an ext4 file system on /dev/sda1 yesterday to test the drive before trying to add it to a RAID. It's a 3 TB drive, so I'm trying to use parted to do all my partition stuff.
I've done an rm 1
and then print
shows no partitions. If I then do mkpart primary 0% 100%
(no file system specified), and then do print
it shows the partition with an ext4 file system.
How can I remove the partition so that it also then removes the file system?