NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cannot mount small FFS filesystem?



On Mon, Jun 14, 2010 at 03:48:15PM +0200, Hubert Feyrer wrote:
> 
> I have a storage device that only has 47k space. I'd like to put FFS
> (v1 or v2) with journaling on it. newfs(8) works fine, but mount(8)
> complains:
> 
>       mount_ffs: /dev/vnd0a on /mnt: incorrect super block
> 
> The commands I give for testing:
> 
> # dd if=/dev/zero of=img bs=512 count=94
> # vnconfig vnd0 img
> # newfs -m 0 -O 1 /dev/rvnd0a
> # mount -o log /dev/vnd0a /mnt
> 
> Full log with output is appended below.
> 
> I've tried adding -m0 and -O1 to newfs, but couldn't mount it,
> without without logging.
> Is there anything obvious I'm missing?

I'd guess that ``WAPBL requires the super block to be in the UFS2
format.''.  See wapbl(4).

                Petar Bogdanovic


Home | Main Index | Thread Index | Old Index