Advert
Could not stat /dev/sdf
Was playing aound with some Fedora 12 instances I had created on Amazon EC2. However I was coming across a problem where I created a volume, attached it in the Management Console but when I ran the following to format it, it didn’t work giving the error: could not stat /dev/sdf
mkfs -t ext2 /dev/sdf
To solve this, and this is just a workaround as far as I know, don’t use it for production servers I used the following code:
cd /dev /sbin/MAKEDEV sdf mkfs -t ext2 /dev/sdf