Subject: Harddrive refuses to mount.
To: None <netbsd-help@netbsd.org>
From: evilknievel <evilthings@gmail.com>
List: netbsd-help
Date: 10/19/2004 20:45:04
Hey!
I have a very odd problem, i cant get my harddrive which i before used
with OpenBSD to mount on my new NetBSD installation, I'm running
NetBSD-2-0_RC4 and i've tried with 1.6.2 also.
disklabel shows my harddrive and the partition i have on it.
(disklabel /dev/wd0)
16 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 156368016 0 4.2BSD 2048 16384 328 # (Cyl. 0 - 155126)
c: 156368016 0 unused 0 0 # (Cyl. 0 - 155126)
and when i try and mount i cant enter the mount point, i get this:
# mount /dev/wd0d /mnt
# cd /mnt
cd: /mnt: Not a directory
#
when i do a 'ls' in / i see the /mnt dir, but when i do a 'ls -al' its
gone, its not there...
and when i check df it says it is mounted.
/dev/wd0d 73G 2.0K 70G 0% /mnt
I'm sure that the partition (slice?) is 'd', i used 'd' under OpenBSD,
wierd that disklabel only shows 'a' and 'b'.
One thing that worries me is that it shows my drive as empty, i have
alot of important data on it.
Any kind soul that could spread some light on this ?