From owner-freebsd-questions@FreeBSD.ORG Tue Dec 3 07:40:35 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1945273F for ; Tue, 3 Dec 2013 07:40:35 +0000 (UTC) Received: from nk11p04mm-asmtp001.mac.com (nk11p04mm-asmtpout001.mac.com [17.158.236.236]) by mx1.freebsd.org (Postfix) with ESMTP id EEBD31CF8 for ; Tue, 3 Dec 2013 07:40:34 +0000 (UTC) Received: from [192.168.0.163] ([24.237.133.115]) by nk11p04mm-asmtp001.mac.com (Oracle Communications Messaging Server 7u4-27.08(7.0.4.27.7) 64bit (built Aug 22 2013)) with ESMTPSA id <0MX7001ADZZBP440@nk11p04mm-asmtp001.mac.com> for freebsd-questions@freebsd.org; Tue, 03 Dec 2013 07:40:24 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.11.72,1.0.14,0.0.0000 definitions=2013-12-03_03:2013-12-03,2013-12-03,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1308280000 definitions=main-1312020301 Content-type: text/plain; charset=windows-1252 MIME-version: 1.0 (Mac OS X Mail 7.0 \(1822\)) Subject: Re: gmirror, gpart and MBR vs GPT in the Handbook From: Peter Giessel In-reply-to: <20131203073830.bdc50afd.freebsd@edvax.de> Date: Mon, 02 Dec 2013 22:40:22 -0900 Content-transfer-encoding: quoted-printable Message-id: <61E74CD0-887D-4824-9752-3142D7ABAABB@mac.com> References: <201311301303210813.05DE187E@smtp.24cl.home> <201312011121580096.005D00FB@smtp.24cl.home> <201312021213320528.00673D5F@smtp.24cl.home> <20131202182623.43331984.freebsd@edvax.de> <201312021235030914.007AF1DF@smtp.24cl.home> <20131202184642.d35c4548.freebsd@edvax.de> <20131203073830.bdc50afd.freebsd@edvax.de> To: Polytropon X-Mailer: Apple Mail (2.1822) Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Dec 2013 07:40:35 -0000 On 2013, Dec 2, at 21:38, Polytropon wrote: > On Mon, 02 Dec 2013 17:23:20 -0900, Peter Giessel wrote: >> UFS works on drives bigger than 3 TB (ref /dev/da1p1 and = /dev/mirror/gm0.journal): >=20 > That's impressive! Did you apply any special tuning for newfs, > or did you require something "non-standard" when creating the > partitions? I'm just asking because sooner or later I will > probably get disks > 2 TB and intend to use them with UFS. :-) As I recall, with the gmirrored 3TB drives (/dev/mirror/gm0.journal), I = pretty much followed this: http://www.freebsd.org/doc/handbook/geom-gjournal.html But of course, I substituted: gjournal label /dev/mirror/gm0 and newfs -O 2 -J /dev/mirror/gm0.journal for: gjournal label /dev/da4 and newfs -O 2 -J /dev/da4.journal respectively. Also a big *THANK YOU* to Warren Block as I found the Handbook section = 19.4.3. extremely useful in setting up gmirror. There are no tweaks or special tuning. Its an old repurposed Pentium 4 = running: # uname -a FreeBSD media.REDACTED 9.2-STABLE FreeBSD 9.2-STABLE #0: Sun Nov 10 = 08:09:31 AKST 2013 root@media.REDACTED:/usr/obj/usr/src/sys/MEDIA = i386 The kernel is nothing special, just a GENERIC kernel with a bunch of = stuff that I wasn=92t using commented out to save resources. /dev/daX is a 3ware raid5 divided into 2 volumes (so I could use = traditional MBR, etc with the smaller volume): #tw_cli /c0 show all /c0 Driver Version =3D 3.80.06.003 /c0 Model =3D 9550SXU-4LP /c0 Available Memory =3D 112MB /c0 Firmware Version =3D FE9X 3.08.00.029 /c0 Bios Version =3D BE9X 3.10.00.003 /c0 Boot Loader Version =3D BL9X 3.02.00.001 /c0 Serial Number =3D L320912A9410199 /c0 PCB Version =3D Rev 032 /c0 PCHIP Version =3D 1.60 /c0 ACHIP Version =3D 1.90 /c0 Number of Ports =3D 4 /c0 Number of Drives =3D 4 /c0 Number of Units =3D 1 /c0 Total Optimal Units =3D 1 /c0 Not Optimal Units =3D 0=20 /c0 JBOD Export Policy =3D off /c0 Disk Spinup Policy =3D 1 /c0 Spinup Stagger Time Policy (sec) =3D 1 /c0 Auto-Carving Policy =3D off /c0 Auto-Carving Size =3D 2048 GB /c0 Auto-Rebuild Policy =3D on /c0 Rebuild Rate =3D 1 /c0 Verify Rate =3D 1 /c0 Controller Bus Type =3D PCIX /c0 Controller Bus Width =3D 64 bits /c0 Controller Bus Speed =3D 66 Mhz Unit UnitType Status %RCmpl %V/I/M Stripe Size(GB) Cache = AVrfy = --------------------------------------------------------------------------= ---- u0 RAID-5 OK - - 64K 4190.92 ON = OFF =20 Port Status Unit Size Blocks Serial --------------------------------------------------------------- p0 OK u0 1.82 TB 3907029168 Z1F3MCT3 = <- replacement drive=20 p1 OK u0 1.82 TB 3907029168 S1F0CN97 = <- replacement drive=20 p2 OK u0 1.82 TB 3907029168 W1E430FV = <- replacement drive p3 OK u0 1.36 TB 2930277168 9VS2X5P6 = <- original drive 3 of the 4 drives have died in the 5 years since I set this up (hence = the size disparity)... #tw_cli /c0/u0 show all /c0/u0 status =3D OK /c0/u0 is not rebuilding, its current state is OK /c0/u0 is not verifying, its current state is OK /c0/u0 is initialized. /c0/u0 Write Cache =3D on /c0/u0 volume(s) =3D 2 /c0/u0 name =3D =20 /c0/u0 serial number =3D 9VS2Y6AV80EE4B00AB32=20 /c0/u0 Ignore ECC policy =3D off =20 /c0/u0 Auto Verify Policy =3D off =20 /c0/u0 Storsave Policy =3D protection =20 /c0/u0 Command Queuing Policy =3D on =20 Unit UnitType Status %RCmpl %V/I/M Port Stripe Size(GB) ------------------------------------------------------------------------ u0 RAID-5 OK - - - 64K 4190.92 = =20 u0-0 DISK OK - - p3 - 1396.97 = =20 u0-1 DISK OK - - p2 - 1396.97 = =20 u0-2 DISK OK - - p1 - 1396.97 = =20 u0-3 DISK OK - - p0 - 1396.97 = =20 u0/v0 Volume - - - - - 20 = =20 u0/v1 Volume - - - - - 4170.92=