Hi,

Check out this "df" output:

Filesystem  1K-blocks      Used     Avail Capacity  Mounted on
<snip>
/dev/wd0g     4786774 4294886268   4628464 188894%    /mnt/nbsd

Any ideas why /dev/wd0g is showing up with that weird capacity and sizes?

Here's the relevant entry for it from my disklabel:

 g:       9724176      21430710  4.2BSD   2048 16384 27968 # Cyl 21260*- 30907*

The file system is fine -- I can do "ls -al /mnt/nbsd" and it gives me
all the files. Its my NetBSD root partition, and was formatted through
that.

I thought maybe something's corrupt, and so tried doing an "fsck -f
/dev/wd0g". I get the following:

** /dev/rwd0g
** File system is already clean
cannot alloc 4294966956 bytes for inphead

I figure doing an fsck might set things right, but the above error stops me.

The partition sizes show up fine under NetBSD btw. I even tried doing
an "fsck -f" from NetBSD in single user mode, it said everything's
fine. =/

Thanks,
Rakhesh

--
        NetBSD/i386 3.0 + pkgsrc-current | OpenBSD/i386 3.9
        http://search.gmane.org/?query=&group=gmane.os.netbsd.* (netbsd 
archives)
        http://search.gmane.org/?query=&group=gmane.os.openbsd.* (openbsd 
archives)
        http://man.netbsd.org/ | http://www.openbsd.org/cgi-bin/man.cgi 
(manpages)

Reply via email to