I have a bunch of disks where the partition tables are very similar (nearly identical)
I need to 'erase' these disks, such that when a new partition table is created any volumes that existed prior to the partition table being deleted do not attempt to be remounted
so in short
t0: create partition table, format volumes with ext4
t1: delete partition table
t2: create same partition table as in t0
t3: GOAL: volumes created in t0 are not mounted, recovery is not attempted
my hope is in t3, that the volumes created in t0 are not detected and a recovery attempted.
is there a way of marking an ext4 header as "do not use"? I think I could work something out where I overwrite the ext4 headers, but that feels dirty. Windows has the abilty to create a volume without a filesystem, I'd like something similar for linux