Subject: write error for sector 16: Read-only file system
To: NetBSD-users <netbsd-users@netbsd.org>
From: Rakhesh Sasidharan <rakheshster@gmail.com>
List: port-i386
Date: 06/16/2006 14:19:30
Hi,
I've got a 75GB external hard disk. Its got an extended partition
covering the whole space, with two logical FAT32 partitions of ~30GB
each. All this was done through Windows. Through NetBSD I made two FFS
partitions and tried to newfs them. I get the following error message:
/dev/sd0g: 6997.0MB (14329916 sectors) block size 16384, fragment size 2048
using 38 cylinder groups of 184.14MB, 11785 blks, 23168 inodes.
super-block backups (for fsck -b #) at:
32, 377152, 754272, 1131392, 1508512, 1885632, 2262752, 2639872,
3016992, 3394112, 3771232, 4148352, 4525472, 4902592, 5279712, 5656832,
6033952, 6411072, 6788192, 7165312, 7542432, 7919552, 8296672, 8673792,
9050912, 9428032, 9805152, 10182272, 10559392, 10936512, 11313632, 11690752,
12067872, 12444992, 12822112, 13199232, 13576352, 13953472,
wtfs: write error for sector 16: Read-only file system
What's that supposed to mean? I tried making one partition instead of
two, but I get the same error message.
I even tried making an ext2fs filesystem (thru NetBSD), but that too
gives some similar error -- only, there it was about sector 2 and
something about unable to write superblocks.
I checked the archives, all I could find was this post[1] by another
user, where he changed the block size to 8192 and fragment size to
1024. I didnt try that on my machine as its at home, and I am at work
now. While making a diskabel for this partition, I chose 16384 and
2048 coz that's the values with my other NetBSD partitions ("a" etc).
Any suggestions please? Is there any sysctl variable I have to tweak
to write to external hard disk partitions tables?
Thanks,
Rakhesh
[1] -- http://article.gmane.org/gmane.os.netbsd.help/12952/
--
NetBSD/i386 3.0 + pkgsrc-current | OpenBSD/i386 3.9 -release
Toshiba Satellite L10-102