Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news.kei.com!news.mathworks.com!www.nntp.primenet.com!nntp.primenet.com!arclight.uoregon.edu!news.uoregon.edu!xmission!sverige.pengar.com!user From: chad@pengar.com (Chad Leigh) Newsgroups: comp.unix.bsd.freebsd.misc Subject: ccd question on mirroring Date: Sat, 12 Oct 1996 20:31:33 -0600 Organization: Pengar Enterprises, Inc. Lines: 43 Message-ID: <chad-1210962031330001@sverige.pengar.com> NNTP-Posting-Host: sverige.pengar.com Hi I have 2 ibm 2gig SCSI drives on separate 2940UW controllers. I set them up for mirrored non-striped ccd use. This is on 2.1.5-RELEASE When I typed in ccd0 0 MIRROR_FLAG /dev/sd1e /dev/sd2e where MIRROR_FLAG is whatever the man pages said it should be The config failed and the machine kept rebooting itself. (My console is monitor is usually plugged into a different computer and the FreeBSD machine is headless most of the time. I pligged it in long enough to see it was rebooting itself and that som "ahci_XXX_YYY nore more datagrams" or something similar [message from late last night from memory] was happening and it kept trying to sync() the disks and failing and restarting. I booted up under a different kernel and went in and changed the ccdconfig line to ccd0 32 MIRROR_FLAG /dev/sd1e /dev/sd2e and upon rebooting it seems to be working fine. I find it strange that it required an interleave factor when I really want the 2 disks mirrored and not striped. ccd0 does show up as one disk the size of the IBM drive. Am I guaranateed that it actually is 2 mirrored drives and not some other thing combining the 2 drives into one somehow? The size is right but needing an interleave factor for non striped disks puts a little doubt in my heart :-) I assume that if one of the two disks in a mirrored configuration were to die on me I could change the ccdconfig line to only include the good drive and that I would still be able to use the good drive until I replaced the bad one? Thanks for reassuring me :-) Chad