Subject: newfs complains "Read-only file system"
To: None <netbsd-help@netbsd.org>
From: Dieter <netbsd@sopwith.solgatos.com>
List: netbsd-help
Date: 06/02/2005 12:25:10
Trying to newfs my new SATA drive and install 2.0.2, but getting a strange
"Read-only file system" error message from some (not all) partitions.
Partition A appears to have worked fine, but partition B
(and some others as well) complains:

/dev/wd0a: 98.4MB (201600 sectors) block size 8192, fragment size 1024
        using 4 cylinder groups of 24.61MB, 3150 blks, 6080 inodes.
super-block backups (for fsck -b #) at:
     32,  50432, 100832, 151232,

/dev/wd0b: 5000.6MB (10241280 sectors) block size 16384, fragment size 2048
        using 28 cylinder groups of 178.59MB, 11430 blks, 22400 inodes.
super-block backups (for fsck -b #) at:
      32,  365792,  731552, 1097312, 1463072, 1828832, 2194592, 2560352,
 2926112, 3291872, 3657632, 4023392, 4389152, 4754912, 5120672, 5486432,
 5852192, 6217952, 6583712, 6949472, 7315232, 7680992, 8046752, 8412512,
 8778272, 9144032, 9509792, 9875552,
wtfs: write error for sector 16: Read-only file system


Alpha 164lx ;  Kernel is 2.0.2, newfs is 2.0