From owner-freebsd-questions Thu Dec 16 9:55:32 1999 Delivered-To: freebsd-questions@freebsd.org Received: from relay.ucb.crimea.ua (UCB-Async4-CRISCO.CRIS.NET [212.110.129.130]) by hub.freebsd.org (Postfix) with ESMTP id D2A8E14E5F for ; Thu, 16 Dec 1999 09:55:13 -0800 (PST) (envelope-from ru@ucb.crimea.ua) Received: (from ru@localhost) by relay.ucb.crimea.ua (8.9.3/8.9.3/UCB) id TAA14555; Thu, 16 Dec 1999 19:53:21 +0200 (EET) (envelope-from ru) Date: Thu, 16 Dec 1999 19:53:21 +0200 From: Ruslan Ermilov To: Jonathon McKitrick Cc: freebsd-questions@FreeBSD.ORG Subject: Re: LBA speed enhancements Message-ID: <19991216195321.A12391@relay.ucb.crimea.ua> Mail-Followup-To: Jonathon McKitrick , freebsd-questions@FreeBSD.ORG References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.3i In-Reply-To: ; from Jonathon McKitrick on Thu, Dec 16, 1999 at 04:49:45PM +0000 X-Operating-System: FreeBSD 3.3-STABLE i386 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, Dec 16, 1999 at 04:49:45PM +0000, Jonathon McKitrick wrote: > > In the LINT file, there are HD flags for LBA. Is this a performance > issue, or just to allow reading large drives? > This flag is to turn on logical block addressing mode on your drive. For example, one of my IDE drives becomes different with and without LBA. In CHS mode, BIOS reports 3298*16*63=3324384 geometry, and FreeBSD detects 3324384 sectors total. In LBA mode, BIOS reports 824*64*63=3322368 geometry, but FreeBSD detects 3324996 sectors!!! As you can see, using LBA mode gives me 612 "additional" sectors. Note, that you could turn on LBA mode only for "unformatted" drives, without existing filesystems. Changing the drive's current mode will certainly mess it up. Cheers, -- Ruslan Ermilov Sysadmin and DBA of the ru@ucb.crimea.ua United Commercial Bank, ru@FreeBSD.org FreeBSD committer, +380.652.247.647 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message