suggest to use wipefs on disks containing obsolete zfs labels

This commit is contained in:
krumelmonster
2022-01-19 17:32:14 +01:00
committed by George Melikov
parent 3a0f9a4acd
commit 02ade43665

View File

@@ -178,6 +178,10 @@ Step 2: Disk Formatting
mdadm --zero-superblock --force $DISK mdadm --zero-superblock --force $DISK
# For an array using a partition: # For an array using a partition:
mdadm --zero-superblock --force ${DISK}-part2 mdadm --zero-superblock --force ${DISK}-part2
If the disk was previously used with zfs::
wipefs -a $DISK
Clear the partition table:: Clear the partition table::