From owner-freebsd-questions Thu Mar 11 17: 6:40 1999 Delivered-To: freebsd-questions@freebsd.org Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (Postfix) with ESMTP id A885415036 for ; Thu, 11 Mar 1999 17:06:35 -0800 (PST) (envelope-from grog@freebie.lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.9.1/8.9.0) with ESMTP id LAA19291; Fri, 12 Mar 1999 11:36:17 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.9.3/8.9.0) id LAA28662; Fri, 12 Mar 1999 11:36:14 +1030 (CST) Message-ID: <19990312113613.Q490@lemis.com> Date: Fri, 12 Mar 1999 11:36:13 +1030 From: Greg Lehey To: Paul Dekkers , FreeBSD Mailinglist Subject: Re: bad sectors on disk and vinum/ccd References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.93.2i In-Reply-To: ; from Paul Dekkers on Thu, Mar 11, 1999 at 11:44:26AM +0100 WWW-Home-Page: http://www.lemis.com/~grog Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thursday, 11 March 1999 at 11:44:26 +0100, Paul Dekkers wrote: > Hi > > I have 2 disks which I both don't trust, so I thought mirroring might be a > good idea. I tried ccd, and it seems to work well, but how does it work > with bad sectors (of which I know there are on one disk)... Does bad144 -v > -s /dev/wd2s1 work for it? Both vinum and ccd assume a "perfect" disk underneath them. They use the standard disk drivers, and the wd driver supports bad144, so the answer should be yes. But IDE drives have their own transparent bad sector handling, so a low-level format should do it transparently. > How does vinum work with it? They're both the same in this respect. > And; I couldn't find how to get vinum working for mirroring - is > that possible? Vinum supports mirroring. Add multiple plexes to a volume to get up to 8 mirrors. > (striping and concat results in almost the same). The same as what. > (striping with vinum was btw much faster than ccd!) That's interesting. I haven't done any tests. > I also wonder because vinum has to use 'unused' for its slices. This is to stop you from shooting yourself in the foot. ccd will cheerfully allow you to overwrite a ufs file system. Vinum won't touch it. > BTW: how can I check if bad144 really worked? Can I get a list of bad > blocks on my harddisk marked as BAD so I can check it really did > something? With -v I saw too much crap, also that there were "double > entries" or something... Sorry, I don't know too much about the format that is used. Greg -- When replying to this message, please copy the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address, home page and phone numbers finger grog@lemis.com for PGP public key To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message