Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 02 Dec 2013 22:40:22 -0900
From:      Peter Giessel <pgiessel@mac.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: gmirror, gpart and MBR vs GPT in the Handbook
Message-ID:  <61E74CD0-887D-4824-9752-3142D7ABAABB@mac.com>
In-Reply-To: <20131203073830.bdc50afd.freebsd@edvax.de>
References:  <201311301303210813.05DE187E@smtp.24cl.home> <alpine.BSF.2.00.1311301352140.99113@wonkity.com> <201312011121580096.005D00FB@smtp.24cl.home> <alpine.BSF.2.00.1312011016490.5791@wonkity.com> <201312021213320528.00673D5F@smtp.24cl.home> <20131202182623.43331984.freebsd@edvax.de> <201312021235030914.007AF1DF@smtp.24cl.home> <20131202184642.d35c4548.freebsd@edvax.de> <E0439E56-EE01-4E03-891F-9694811FEF06@mac.com> <20131203073830.bdc50afd.freebsd@edvax.de>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On 2013, Dec 2, at 21:38, Polytropon <freebsd@edvax.de> 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=



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?61E74CD0-887D-4824-9752-3142D7ABAABB>