Marco Peereboom <slash <at> peereboom.us> writes:

> > Then keep asking!
> > I do have the impression, what I wanted, is what you already had in mind:
> > a broken mirror simply remains dead and broken, and the machine runs 
> > happily 
> > before and after reboot on the sane drive. Correct?
> 
> Correct.  If this isn't the case then I need to see a dmesg before &
> after rebooting and bioctl output before and after reboot.

Since we (that's I, sorry) seem to discuss the whole bunch (not a bad idea
after, all hoping to get things into their places and finally enjoying a 
really beautiful and functioning softraid), I allow myself to add another
question, real life, on a to-be-production system:
Okay, now I have a broken harddisk, one half of the mirror is gone.
Then I will have to dump the partitions, create a new mirror, and restore,
correct?
Next problem: There are quite a number of bays available in my box, 
so that I can plug another drive for a local 'dump'. But irrespective 
where I plug it, it won't come up:

"softraid0 at root

softraid0: roaming device sd1b -> sd2b

softraid0: roaming device sd2b -> sd3b

softraid0: roaming device sd1b -> sd2b

softraid0: roaming device sd2b -> sd3b

scsibus3 at softraid0: 1 targets

sd4 at scsibus3 targ 0 lun 0: <OPENBSD, SR RAID 1, 003> SCSI2 0/direct fixed

sd4: 285789MB, 512 bytes/sec, 585296066 sec total

softraid0: volume sd4 is roaming, it used to be sd3, updating metadata

root on sd0a swap on sd0b dump on sd0b

Automatic boot in progress: starting file system checks.
/dev/rsd0a: file system is clean; not checking
Can't open /dev/rsd3h: Device not configured
CAN'T CHECK FILE SYSTEM.
/dev/rsd3h: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
Can't open /dev/rsd3d: Device not configured
CAN'T CHECK FILE SYSTEM.
/dev/rsd3d: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
Can't open /dev/rsd3f: Device not configured
CAN'T CHECK FILE SYSTEM.
/dev/rsd3f: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
Can't open /dev/rsd3e: Device not configured
CAN'T CHECK FILE SYSTEM.
/dev/rsd3e: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
Can't open /dev/rsd3g: Device not configured
CAN'T CHECK FILE SYSTEM.
/dev/rsd3g: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
Can't open /dev/rsd3i: Device not configured
CAN'T CHECK FILE SYSTEM.
/dev/rsd3i: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
Can't open /dev/rsd3j: Device not configured
CAN'T CHECK FILE SYSTEM.
/dev/rsd3j: UNEXPECTED INCONSISTENCY; RUN fsck_ffs MANUALLY.
THE FOLLOWING FILE SYSTEMS HAD AN UNEXPECTED INCONSISTENCY:

        ffs: /dev/rsd3h (/home), ffs: /dev/rsd3d (/tmp), ffs: /dev/rsd3f 
(/usr), ffs: /dev/rsd3e (/var), ffs: /dev/rsd3g (/var/mail), ffs: /dev/rsd3i
(/var/www),
ffs: /dev/rsd3j (/backup)
Automatic file system check failed; help!

Enter pathname of shell or RETURN for sh: "

Now that roaming is in the way. I wonder if softraid really should do this:
You plug an additional disk, higher or lower, and automatically it will 
roam the mirror to drives of its liking, and inevitably fail the RAID thereby.

Reply via email to