Hmmm, maybe I did delete all my data? I tried this and here are my results:
[mraible@drevil mraible]$ su
Password:
[root@drevil mraible]# mknod /dev/hdb1 b 3 65
mknod: `/dev/hdb1': File exists
[root@drevil mraible]# rm /dev/hdb1
[root@drevil mraible]# mknod /dev/hdb1 b 3 65
[root@drevil mraible]# cd /data
[root@drevil data]# mount -t ext3 /dev/hdb1 /data
[root@drevil data]# ls
[root@drevil data]# ll
total 0
Here's what I was getting on startup (I haven't tried it with this change):
Checking filesystems
/dev/hdb1:
The superblock could not be read or does not describe a correct ext2 filesystem.
If the device is valid and it really contains an ext2 filesystem (and not swap
or ufs or something else), then the superblock is corrupt and you might try running
e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
In /etc/fstab, I have:
/dev/hdb1 /data ext3 defaults 1 2
If I run 32fsck -b 8193 /dev/hdb1, I get:
e2fsck 1.32 (09-Nov-2002)
e2fsck: Is a directory while trying to open /dev/hdb1
Main Topics
Browse All Topics





by: arjanhPosted on 2003-11-07 at 08:21:06ID: 9702158
Hi mraible,
I think you may just only have deleted the device pointer to your partition. Try the following command, and then try again mounting it:
mknod /dev/hdb1 b 3 65
This will recreate the special device pointer in the /dev tree
Cheers,
Arjan