9front - general discussion about 9front
 help / color / mirror / Atom feed
* [9front] Disk Mirroring, or disk composition using fs(3)
@ 2021-06-17 23:54 Lorenzo Bivens
  2021-06-18  8:02 ` Noam Preil
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Lorenzo Bivens @ 2021-06-17 23:54 UTC (permalink / raw)
  To: 9front

Hi!

I am attempting to setup a couple of disks as mirrors to store a cwfs'  fsworm partition. I am operating under the assumption that an fs(3) made disk file operates as any other disk.

Starting with two identical blank disks, here is my current process:
echo mirror md0/data /dev/sd01/data /dev/sd02/data >/dev/fs/ctl
disk/mbr -m /386/mbr /dev/md0/data # adding mbr to the mirror set correctly adds mbr to both disks
echo part md0/plan9 /dev/md0/data 0 end >/dev/fs/ctl  # correctly adds a partition to both disks
echo part md0/fsworm /dev/md0/plan9 0 end >/dev/fs/ctl # adds the fsworm subpartition

So far, so good. Now let's try the install
configfs... cwfs64x
partdisk... setup my cache drive
prepdisk... slice the cache drive with 9fat, nvram, other, and fscache
mountfs:
- /dev/sd00/fscache as fscache
- /dev/md0/fsworm as worm (manual input since no suggestions are made)
- /dev/sd00/other as other (and I am not even sure I want this...)
ream the system? (mutual assured destruction) yes
a series of
wrenwrite: block out of range w"/dev/md0/fsworm"(2)
wrenread: block out of range w"/dev/md0/fsworm"(2)
....
w"/dev/md0/fsworm" block 2 WORM SUPER BLOCK READ FAILED
...
and the rest is consequence of that

I suspect this could be a problem of assumptions. If anyone has experience with a similar disk layout... how did you make it work?

Thanks!






^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2021-06-21 19:59 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-17 23:54 [9front] Disk Mirroring, or disk composition using fs(3) Lorenzo Bivens
2021-06-18  8:02 ` Noam Preil
2021-06-18 19:09   ` Lorenzo Bivens
2021-06-18  8:06 ` Noam Preil
2021-06-18 21:22 ` [9front] " Anthony Martin
2021-06-21  5:20   ` Lorenzo Bivens
2021-06-21  5:34     ` Lorenzo Bivens

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).