I've tried creating a partition on a slave drive (OS on another drive), and mke2fs says that the device does not exist when fdisk and cfdisk clearly show it. Reproducible: Always Steps to Reproduce: 1. Create partition with cfdisk or fdisk 2. Try mke2fs -j <partition> Actual Results: Bitches about device not existing Expected Results: Should format as expected. tribeca root # fdisk -l /dev/hdb Disk /dev/hdb: 61.6 GB, 61684781056 bytes 255 heads, 63 sectors/track, 7499 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Device Boot Start End Blocks Id System /dev/hdb1 1 1912 15358108+ 83 Linux /dev/hdb2 1913 1919 56227+ 83 Linux tribeca root # mke2fs -j /dev/hdb2 mke2fs 1.32 (09-Nov-2002) Could not stat /dev/hdb2 --- No such file or directory The device apparently does not exist; did you specify it correctly?
tribeca root # ls -al /dev/hdb* lr-xr-xr-x 1 root root 32 May 7 16:56 /dev/hdb -> ide/host0/bus0/target1/lun0/disc lr-xr-xr-x 1 root root 33 May 7 16:56 /dev/hdb1 -> ide/host0/bus0/target1/lun0/part1
bug is realized on a mailing list way back in 12-2001. http://mail.gnu.org/archive/html/bug-parted/2001-12/msg00038.html i'm not as adept at source hacking to be able to decipher what the patch is and how to apply it.
Did you try a different kernel yet, as that patch seems to be for parted ...
please try a newer kernel ... sometimes when you re-partition stuff you still have to reboot for the new table to take affect