From owner-freebsd-questions@FreeBSD.ORG Tue May 24 15:46:55 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ED95C16A486 for ; Tue, 24 May 2005 15:46:54 +0000 (GMT) (envelope-from fborghesi@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.199]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D2F843D1F for ; Tue, 24 May 2005 15:46:54 +0000 (GMT) (envelope-from fborghesi@gmail.com) Received: by zproxy.gmail.com with SMTP id 9so1106008nzo for ; Tue, 24 May 2005 08:46:53 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:references; b=KBXTjKsKR9zruqL/O5I0Zs1iGw+3BobtyvACltLNdrLVOGpxNNblPtOmRf3HgmJ3nq8iHrx/uOMDfNSDTrLKy9VjuyXkXmER9IqzwmF0j/YS+y4T1r0JYq3Cw9c8sO7e6eKAlGL9Wm1qLanlkD9XFS5JkBsUXQQCfDEPm0vYkNM= Received: by 10.36.81.14 with SMTP id e14mr1749725nzb; Tue, 24 May 2005 08:46:53 -0700 (PDT) Received: by 10.36.105.6 with HTTP; Tue, 24 May 2005 08:46:53 -0700 (PDT) Message-ID: Date: Tue, 24 May 2005 12:46:53 -0300 From: Franco Bruno Borghesi To: "Jonathan M. Slivko" In-Reply-To: <42934389.9020307@slivko.org> Mime-Version: 1.0 References: <50408.70.18.16.72.1116942842.squirrel@www.slivko.org> <429341E4.5000108@slivko.org> <42934389.9020307@slivko.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-questions@freebsd.org Subject: Re: 3Ware SATA RAID 8000 - Supported on 5.3-R? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Franco Bruno Borghesi List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 May 2005 15:46:55 -0000 Your fstab is OK. I don't exactly understand the problem. When you boot fsck will run=20 automatically if the system did not correctly shut down. This is done=20 *before* disks are mounted rw, so there's no way you will see the "(NO=20 WRITE)" message. If system was not correctly shut down, fsck will run, and it *will* (and=20 should) slow down system boot process. So, is it the problem that fsck is running *every* time you boot? Or is it= =20 that you get this "(NO WRITE)" message when you run it manually? 2005/5/24, Jonathan M. Slivko : >=20 > root@bonjour(~)% cat /etc/fstab > # Device Mountpoint FStype Options Dump > Pass# > /dev/twed0s1b none swap sw 0 0 > /dev/twed0s1a / ufs rw 1 1 > /dev/twed0s1g /home ufs rw,userquota,groupquota > 2 2 > /dev/twed0s1d /tmp ufs rw 2 2 > /dev/twed0s1e /usr ufs rw 2 2 > /dev/twed0s1f /var ufs rw 2 2 > /dev/acd0 /cdrom cd9660 ro,noauto 0 0 > none /proc procfs rw 0 0 > root@bonjour(~)% >=20 >=20 > Franco Bruno Borghesi wrote: > > Could you post your /etc/fstab? > > > > 2005/5/24, Jonathan M. Slivko : > > > >>Yes, this is actually the autoboot fsck thats breaking, the one that is > >>called from /etc/rc (via /etc/rc.d/). I can physically take the box dow= n > >>and do an offline fsck of it and that works fine, it's just when it's i= n > >>multi-user mode thats the problem. > >> > >>-- Jonathan > >> > >>Franco Bruno Borghesi wrote: > >> > >>>For fsck to work (to actually correct any problems you may have), > >>>partitions should be umounted first. Are you sure you have umounted > >>>/dev/twedXXXX before running fsck? > >>> > >>> > >>>2005/5/24, Jonathan M. Slivko >>>>: > >>> > >>>Hello, > >>> > >>>I have an interesting question, I have a Pentium 4 2.4Ghz (No HT > >>>Enabled), > >>>2x80GB SATA Hard Drives in RAID 1. The box boots, works, etc. However, > >>>whenever you try and do an fsck -y, it says: > >>> > >>>root@bonjour (~)% fsck -y > >>>** /dev/twed0s1a (NO WRITE) > >>>** Last Mounted on / > >>>** Root file system > >>>** Phase 1 - Check Blocks and Sizes > >>>** Phase 2 - Check Pathnames > >>>** Phase 3 - Check Connectivity > >>>** Phase 4 - Check Reference Counts > >>>** Phase 5 - Check Cyl groups > >>>2821 files, 31805 used, 474682 free (322 frags, 59295 blocks, 0.1% > >>>fragmentation) > >>> > >>>** /dev/twed0s1g (NO WRITE) > >>>** Last Mounted on /home > >>>** Phase 1 - Check Blocks and Sizes > >>>** Phase 2 - Check Pathnames > >>>** Phase 3 - Check Connectivity > >>>** Phase 4 - Check Reference Counts > >>>** Phase 5 - Check Cyl groups > >>>82057 files, 557735 used, 12912399 free (2343 frags, 1613757 blocks, > >>>0.0% > >>>fragmentation) > >>> > >>>** /dev/twed0s1d (NO WRITE) > >>>** Last Mounted on /tmp > >>>** Phase 1 - Check Blocks and Sizes > >>>** Phase 2 - Check Pathnames > >>>** Phase 3 - Check Connectivity > >>>** Phase 4 - Check Reference Counts > >>>** Phase 5 - Check Cyl groups > >>>30 files, 1787 used, 504700 free (20 frags, 63085 blocks, 0.0% > >>>fragmentation) > >>> > >>>** /dev/twed0s1e (NO WRITE) > >>>** Last Mounted on /usr > >>>** Phase 1 - Check Blocks and Sizes > >>>** Phase 2 - Check Pathnames > >>>** Phase 3 - Check Connectivity > >>>** Phase 4 - Check Reference Counts > >>>** Phase 5 - Check Cyl groups > >>>251160 files, 1318908 used, 13912410 free (73346 frags, 1729883 blocks= , > >>>0.5% fragmentation) > >>> > >>>** /dev/twed0s1f (NO WRITE) > >>>** Last Mounted on /var > >>>** Phase 1 - Check Blocks and Sizes > >>>** Phase 2 - Check Pathnames > >>>** Phase 3 - Check Connectivity > >>>** Phase 4 - Check Reference Counts > >>>** Phase 5 - Check Cyl groups > >>>4424 files, 63321 used, 7042830 free (2462 frags, 880046 blocks, 0.0% > >>>fragmentation) > >>> > >>>The drives are Seagate SATA's (7200RPM) with a 3Ware SATA RAID > >>>Controller > >>>(8006-2LP) using the twe kernel driver. The drives themselves allow=20 > data > >>>to be read to/written from them, but fsck will not work (and is hangin= g > >>>things on boot). > >>> > >>>Anyone got any ideas? I looked at www.3ware.com = < > http://www.3ware.com> > >>> earlier and it says that > >>>the 8006-2LP's support FreeBSD 4.x, but not 5.x - could this be a=20 > result > >>>of that, seeing as otherwise the drives/RAID work fine (AFAIK, it coul= d > >>>not be and I'm just not sure how to test it). > >>> > >>>TIA, > >>>-- Jonathan > >>>_______________________________________________ > >>>freebsd-questions@freebsd.org > >>>mailing list > >>>http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >>>To unsubscribe, send any mail to " > >>>freebsd-questions-unsubscribe@freebsd.org > >>>" > >>> > >>> > >> > >>-- > >>Jonathan M. Slivko - jonathan@slivko.org > >>"Linux: The Choice for the GNU Generation" > >>- http://www.linux.org/ - > >> > >>Don't fear the penguin. > >>.^. > >>/V\ > >>/( )\ > >>^^-^^ > >>He's here to help. > >> > > > > _______________________________________________ > > freebsd-questions@freebsd.org mailing list > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > > To unsubscribe, send any mail to " > freebsd-questions-unsubscribe@freebsd.org" >=20 > -- > Jonathan M. Slivko - jonathan@slivko.org > "Linux: The Choice for the GNU Generation" > - http://www.linux.org/ - >=20 > Don't fear the penguin. > .^. > /V\ > /( )\ > ^^-^^ > He's here to help. >