It says, that there is no partition table recognised, and that it is now creating a partition table for it. raid, and partition-table signatures by using the wipefs command. Why does fdisk show that the disk has a previous ext4 signature even though i removed all signatures on the disk with wipefsīecause you put it there with sudo mkfs -t ext4 /dev/sda2.Īlso why does it say that a partiton table is not recognised, it clearly says on the **Disklabel section that the partition table is a dos one You must use the symbolic link (symlink) to identify the GlusterFS storage device. Use the wipefs command to clear the existing filesystem and partition. The disk /dev/sda contains a partition table the partition /dev/sda2 contains an ext4 file system. rootlocalhost fdisk -l /dev/sdd Disk /dev/sdd: 53.7 GB, 53687091200 bytes. That is also correct: the partition /dev/sda2 does not contain a partition table. wipefs -a -f /dev/sdb You can also delete a partition table using the offset value as shown above wipefs -o 0x1fe /dev/sdb Once the above command returns success, check the partition table using fdisk fdisk -l /dev/sdb Disk /dev/sdb: 17. Device does not contain a recognized partiton table. Your sudo mkfs -t ext4 /dev/sda2 put it there. So, examining your output of sudo fdisk /dev/sda2: Device /dev/sda2 already contains a ext4 signature. using wipefs from util-linux 2.33.1 / proxmox 6.2 (debian 10. On your partition, you created a filesystem with sudo mkfs -t ext4 /dev/sda2 after wiping a disk with wipefs, im re-creating a partition/filesystem and fdisk is telling that a freshly created partition contains a zfs signature. Your disk is /dev/sda, your partition is /dev/sda2. ** My question is, why does fdisk show that the disk has a previous ext4 signature even though i removed all signatures on the disk with wipefs**Īlso why does it say that a partiton table is not recognised, it clearly says on the **Disklabel section that the partition table is a dos one**Īs the comment by frostschutz said, you are trying to create a partition in a partition. I/O size (minimum optimal) 512 bytes / 512 bytes Sector size (logical/physical) : 512 bytes / 512 bytes The signature will be removed with a write command.ĭevice does not contain a recognized partiton table.Ĭreate a new DOS disklabel with disk identifier 0x3a701490. Make sure the util-linux package is installed, and then wipe out the file system. I then went onto fdisk again by typing sudo fdisk /dev/sda2 and then a message in red text came up, which is this: Welcome to fdisk (util-linux 2.29.2).Ĭhanges will remain in memory only, until you decide to write them.īe careful before using the write command.ĭevice /dev/sda2 already contains a ext4 signature. I then went on to add a file system to this partition using sudo mkfs -t ext4 /dev/sda2 and this created a etx4 filesystem on the partition. So basically i was messing around in Linux and i wiped the fileystem from a partition with wipefs and then decided to delete this partition ( /dev/sda2) so i went on parted and deleted it.Īfter this i went to fdisk and created it again.