Subject: Re: newfs problem on raid device
To: None <netbsd-users@netbsd.org>
From: Christoph Kaegi <kgc@zhwin.ch>
List: netbsd-users
Date: 11/13/2006 09:47:23
On 13.11-07:54, Christoph Kaegi wrote:
> On 12.11-00:15, Manuel Bouyer wrote:
> > On Fri, Nov 10, 2006 at 05:00:53PM +0100, Christoph Kaegi wrote:
> > >
> > > I'm setting up a NetBSD 3.1 system with two identical disks that
> > > should be mirrored.
> > >
> > > I have labeled the raid0 device as usual, like this:
> > >
> > > a: 2098059 0 4.2BSD 1024 8192 45616 # (Cyl. 0 - 2048*)
> > >
> > >
> > > Now, when I try to newfs this slice, it says:
> > >
> > > wtfs: write error for sector 16: Read-only filesystem
> >
> > How is your RAID partition setup on physical disk ?
> >
>
Ok, I've got the disklabel now:
---------------------------- 8< ----------------------------
8 partitions:
# size offset fstype [fsize bsize cpg/sgs]
a: 2097996 63 RAID # (Cyl. 0*- 1461*)
b: 2097996 2098059 RAID # (Cyl. 1461*- 2922*)
c: 71687309 63 unused 0 0 # (Cyl. 0*- 49921*)
d: 71687372 0 unused 0 0 # (Cyl. 0 - 49921*)
e: 20480232 4196055 RAID # (Cyl. 2922*- 17184*)
f: 47001716 24676287 RAID # (Cyl. 17184*- 49915*)
---------------------------- 8< ----------------------------
--
----------------------------------------------------------------------
Christoph Kaegi kgc@zhwin.ch
----------------------------------------------------------------------