mkfs fails
I was getting the following error trying to mkfs a partition.
mkfs.ext2: No such device or address while trying to determine
filesystem size
After some plonking I realized that the fdisk I used to create the partition was the issue. Normally a reboot is needed, and I couldn't reboot at that time. I found this handy command to reread the partition table:
partprobe /dev/sda
I was getting the following error trying to mkfs a partition.
mkfs.ext2: No such device or address while trying to determine
filesystem size
After some plonking I realized that the fdisk I used to create the partition was the issue. Normally a reboot is needed, and I couldn't reboot at that time. I found this handy command to reread the partition table:
partprobe /dev/sda