Dec 312015
 

This post is deprecated by this one.

After a failed first attempt to get the SAS card working with a tape library, John Baldwin suggested I try mfip (there is no man page for it), but I discovered it was a kernel module.

I issued the kdload mfip command, checked /var/log/messages, and found the tape library and drives had been added:

Jan  1 00:30:42 tape01 kernel: mfip0:  on mfi0
Jan  1 00:30:42 tape01 kernel: sa0 at mfi0 bus 0 scbus6 target 17 lun 0
Jan  1 00:30:42 tape01 kernel: sa0:  Removable Sequential Access SCSI-3 device
Jan  1 00:30:42 tape01 kernel: sa0: Serial Number 1K10012996
Jan  1 00:30:42 tape01 kernel: sa0: 150.000MB/s transfers
Jan  1 00:30:42 tape01 kernel: sa0: Command Queueing enabled
Jan  1 00:30:43 tape01 kernel: ch0 at mfi0 bus 0 scbus6 target 17 lun 1
Jan  1 00:30:43 tape01 kernel: ch0:  Removable Changer SPC-3 SCSI device
Jan  1 00:30:43 tape01 kernel: ch0: Serial Number 00X4U78G4272_LL0
Jan  1 00:30:43 tape01 kernel: ch0: 150.000MB/s transfers
Jan  1 00:30:43 tape01 kernel: ch0: Command Queueing enabled
Jan  1 00:30:43 tape01 kernel: ch0: 47 slots, 2 drives, 1 picker, 0 portals
Jan  1 00:30:43 tape01 kernel: sa1 at mfi0 bus 0 scbus6 target 18 lun 0
Jan  1 00:30:43 tape01 kernel: sa1:  Removable Sequential Access SCSI-3 device
Jan  1 00:30:43 tape01 kernel: sa1: Serial Number 9K11801866
Jan  1 00:30:43 tape01 kernel: sa1: 150.000MB/s transfers
Jan  1 00:30:43 tape01 kernel: sa1: Command Queueing enabled
Jan  1 00:30:43 tape01 kernel: ch1 at mfi0 bus 0 scbus6 target 18 lun 1
Jan  1 00:30:43 tape01 kernel: ch1:  Removable Changer SPC-3 SCSI device
Jan  1 00:30:43 tape01 kernel: ch1: Serial Number 00X4U78G4272_LL0
Jan  1 00:30:43 tape01 kernel: ch1: 150.000MB/s transfers
Jan  1 00:30:43 tape01 kernel: ch1: Command Queueing enabled
Jan  1 00:30:43 tape01 kernel: ch1: 47 slots, 2 drives, 1 picker, 0 portals

I then added this line to /boot/loader.conf:

mfip_load="YES"

After a reboot, I wrote this blog post. On to the details.

World, please meet tape01, the newest addition to my home lab, and reincarnated from an old server.

These are the screen shots of the Dell PERC 6E card BIOS configuration.

But for the record:

$ uname -a
FreeBSD varm.int.unixathome.org 10.2-BETA2 FreeBSD 10.2-BETA2 #0 r285678M: Sat Jul 18 15:30:34 EDT 2015     allan@Trooper.HML3.ScaleEngine.net:/usr/obj/media/svn/installfix/stable/10/sys/GENERIC  amd64

$ zpool list
NAME    SIZE  ALLOC   FREE  EXPANDSZ   FRAG    CAP  DEDUP  HEALTH  ALTROOT
zroot  2.72T  1.10G  2.72T         -     0%     0%  1.00x  ONLINE  -

$ zpool status
  pool: zroot
 state: ONLINE
  scan: none requested
config:

	NAME        STATE     READ WRITE CKSUM
	zroot       ONLINE       0     0     0
	  mirror-0  ONLINE       0     0     0
	    ada0p3  ONLINE       0     0     0
	    ada1p3  ONLINE       0     0     0
	    ada2p3  ONLINE       0     0     0

errors: No known data errors

$ zfs list
NAME                 USED  AVAIL  REFER  MOUNTPOINT
zroot               1.10G  2.63T    96K  /zroot
zroot/ROOT           770M  2.63T    96K  none
zroot/ROOT/default   770M  2.63T   770M  /
zroot/tmp            120K  2.63T   120K  /tmp
zroot/usr            355M  2.63T    96K  /usr
zroot/usr/home       355M  2.63T   355M  /usr/home
zroot/usr/ports       96K  2.63T    96K  /usr/ports
zroot/usr/src         96K  2.63T    96K  /usr/src
zroot/var            752K  2.63T    96K  /var
zroot/var/audit       96K  2.63T    96K  /var/audit
zroot/var/crash       96K  2.63T    96K  /var/crash
zroot/var/log        248K  2.63T   248K  /var/log
zroot/var/mail       120K  2.63T   120K  /var/mail
zroot/var/tmp         96K  2.63T    96K  /var/tmp

$ cat /var/run/dmesg.boot
Copyright (c) 1992-2015 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD is a registered trademark of The FreeBSD Foundation.
FreeBSD 10.2-RELEASE-p7 #0: Mon Nov  2 14:19:39 UTC 2015
    root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
CPU: AMD Phenom(tm) II X4 945 Processor (3010.21-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x100f42  Family=0x10  Model=0x4  Stepping=2
  Features=0x178bfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2,HTT>
  Features2=0x802009<SSE3,MON,CX16,POPCNT>
  AMD Features=0xee500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM,3DNow!+,3DNow!>
  AMD Features2=0x37ff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,SKINIT,WDT>
  SVM: NP,NRIP,NAsids=64
  TSC: P-state invariant
real memory  = 8589934592 (8192 MB)
avail memory = 8272822272 (7889 MB)
Event timer "LAPIC" quality 400
ACPI APIC Table: <111909 APIC1708>
FreeBSD/SMP: Multiprocessor System Detected: 4 CPUs
FreeBSD/SMP: 1 package(s) x 4 core(s)
 cpu0 (BSP): APIC ID:  0
 cpu1 (AP): APIC ID:  1
 cpu2 (AP): APIC ID:  2
 cpu3 (AP): APIC ID:  3
ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has zero address or length: 0x0000000000000000/0x1 (20150515/tbfadt-673)
ioapic0 <Version 2.1> irqs 0-23 on motherboard
random: <Software, Yarrow> initialized
kbd1 at kbdmux0
acpi0: <111909 RSDT1708> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <ACPI CPU> on acpi0
cpu2: <ACPI CPU> on acpi0
cpu3: <ACPI CPU> on acpi0
attimer0: <AT timer> port 0x40-0x43 irq 0 on acpi0
Timecounter "i8254" frequency 1193182 Hz quality 0
Event timer "i8254" frequency 1193182 Hz quality 100
atrtc0: <AT realtime clock> port 0x70-0x71 irq 8 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 450
Event timer "HPET1" frequency 14318180 Hz quality 450
Event timer "HPET2" frequency 14318180 Hz quality 450
Timecounter "ACPI-fast" frequency 3579545 Hz quality 900
acpi_timer0: <32-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
pcib1: <ACPI PCI-PCI bridge> irq 18 at device 2.0 on pci0
pci4: <ACPI PCI bus> on pcib1
em0: <Intel(R) PRO/1000 Network Connection 7.4.2> port 0xec00-0xec1f mem 0xfbfe0000-0xfbffffff,0xfbf00000-0xfbf7ffff,0xfbfdc000-0xfbfdffff irq 18 at device 0.0 on pci4
em0: Using MSIX interrupts with 3 vectors
em0: Ethernet address: 00:1b:21:51:ab:2d
pcib2: <ACPI PCI-PCI bridge> irq 19 at device 3.0 on pci0
pci3: <ACPI PCI bus> on pcib2
mfi0: <Dell PERC 6> port 0xd000-0xd0ff mem 0xfbec0000-0xfbefffff,0xfbe80000-0xfbebffff irq 19 at device 0.0 on pci3
mfi0: Using MSI
mfi0: Megaraid SAS driver Ver 4.23 
mfi0: FW MaxCmds = 1008, limiting to 128
mfip0: <SCSI Passthrough Bus> on mfi0
pcib3: <ACPI PCI-PCI bridge> irq 18 at device 6.0 on pci0
pci2: <ACPI PCI bus> on pcib3
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xc800-0xc8ff mem 0xfbdff000-0xfbdfffff irq 18 at device 0.0 on pci2
re0: Using 1 MSI message
re0: Chip rev. 0x38000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8169S/8110S/8211 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, 1000baseT-FDX-flow, 1000baseT-FDX-flow-master, auto, auto-flow
re0: Using defaults for TSO: 65518/35/2048
re0: Ethernet address: e0:cb:4e:42:f0:ff
ahci0: <AMD SB7x0/SB8x0/SB9x0 AHCI SATA controller> port 0xa000-0xa007,0x9000-0x9003,0x8000-0x8007,0x7000-0x7003,0x6000-0x600f mem 0xfb5fe400-0xfb5fe7ff irq 22 at device 17.0 on pci0
ahci0: AHCI v1.10 with 4 3Gbps ports, Port Multiplier supported
ahci0: quirks=0x22000<ATI_PMP_BUG,1MSI>
ahcich0: <AHCI channel> at channel 0 on ahci0
ahcich1: <AHCI channel> at channel 1 on ahci0
ahcich2: <AHCI channel> at channel 2 on ahci0
ahcich3: <AHCI channel> at channel 3 on ahci0
ohci0: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfb5fa000-0xfb5fafff irq 16 at device 18.0 on pci0
usbus0 on ohci0
ohci1: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfb5fb000-0xfb5fbfff irq 16 at device 18.1 on pci0
usbus1 on ohci1
ehci0: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfb5fe800-0xfb5fe8ff irq 17 at device 18.2 on pci0
ehci0: AMD SB600/700 quirk applied
usbus2: EHCI version 1.0
usbus2 on ehci0
ohci2: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfb5fc000-0xfb5fcfff irq 18 at device 19.0 on pci0
usbus3 on ohci2
ohci3: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfb5fd000-0xfb5fdfff irq 18 at device 19.1 on pci0
usbus4 on ohci3
ehci1: <AMD SB7x0/SB8x0/SB9x0 USB 2.0 controller> mem 0xfb5fec00-0xfb5fecff irq 19 at device 19.2 on pci0
ehci1: AMD SB600/700 quirk applied
usbus5: EHCI version 1.0
usbus5 on ehci1
atapci0: <ATI IXP700/800 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xff00-0xff0f at device 20.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib4: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci1: <ACPI PCI bus> on pcib4
fxp0: <Intel 82559 Pro/100 Ethernet> port 0xbc00-0xbc3f mem 0xfbcdf000-0xfbcdffff,0xfb700000-0xfb7fffff irq 20 at device 5.0 on pci1
miibus1: <MII bus> on fxp0
inphy0: <i82555 10/100 media interface> PHY 1 on miibus1
inphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto, auto-flow
fxp0: Ethernet address: 00:04:ac:d3:78:23
vgapci0: <VGA-compatible display> mem 0xfb800000-0xfbbfffff,0xfbcf0000-0xfbcfffff irq 21 at device 6.0 on pci1
vgapci0: Boot video device
ohci4: <AMD SB7x0/SB8x0/SB9x0 USB controller> mem 0xfb5ff000-0xfb5fffff irq 18 at device 20.5 on pci0
usbus6 on ohci4
acpi_button0: <Power Button> on acpi0
uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0
fdc0: <floppy drive controller (FDE)> port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xc8800-0xc97ff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
ppc0: cannot reserve I/O port range
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
Timecounters tick every 1.000 msec
mfi0: 499 (504923626s/0x0020/info) - Shutdown command received from host
mfi0: 500 (boot + 3s/0x0020/info) - Firmware initialization started (PCI ID 0060/1000/1f0a/1028)
mfi0: 501 (boot + 3s/0x0020/info) - Firmware version 1.22.02-0612
mfi0: 502 (boot + 23s/0x0008/info) - Battery Present
mfi0: 503 (boot + 23s/0x0020/info) - Controller hardware revision ID (0x2)
mfi0: 504 (boot + 23s/0x0020/info) - Package version 6.2.0-0013
mfi0: 505 (boot + 23s/0x0020/info) - Board Revision 
mfi0: 506 (boot + 38s/0x0002/info) - Inserted: PD 11(e0x00/s17)
random: unblocking device.
usbus0: 12Mbps Full Speed USB v1.0
usbus1: 12Mbps Full Speed USB v1.0
usbus2: 480Mbps High Speed USB v2.0
usbus3: 12Mbps Full Speed USB v1.0
usbus4: 12Mbps Full Speed USB v1.0
usbus5: 480Mbps High Speed USB v2.0
usbus6: 12Mbps Full Speed USB v1.0
ugen0.1: <ATI> at usbus0
uhub0: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0
ugen1.1: <ATI> at usbus1
uhub1: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
ugen3.1: <ATI> at usbus3
uhub2: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen2.1: <ATI> at usbus2
uhub3: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen4.1: <ATI> at usbus4
uhub4: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4
ugen5.1: <ATI> at usbus5
uhub5: <ATI EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5
ugen6.1: <ATI> at usbus6
uhub6: <ATI OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus6
mfi0: MFI_DCMD_PD_LIST_QUERY failed 2
mfi0: 507 (boot + 38s/0x0002/info) - Inserted: PD 11(e0x00/s0) Info: enclPd=00, scsiType=1, portMap=04, sasAddr=5000e111222e7002,0000000000000000
mfi0: 508 (boot + 38s/0x0002/info) - Inserted: PD 12(e0x00/s18)
mfi0: MFI_DCMD_PD_LIST_QUERY failed 2
mfi0: 509 (boot + 38s/0x0002/info) - Inserted: PD 12(e0x00/s0) Info: enclPd=00, scsiType=1, portMap=00, sasAddr=5000e111222e7005,0000000000000000
mfi0: 510 (504923671s/0x0020/info) - Time established as 01/01/16  0:34:31; (38 seconds since power on)
mfi0: 511 (504923721s/0x0008/info) - Battery temperature is normal
mfi0: 512 (504923721s/0x0008/FATAL) - Battery needs replacement - SOH Bad
mfi0: 513 (504923721s/0x0008/WARN) - Current capacity of the battery is below threshold
mfi0: 514 (504923721s/0x0008/WARN) - BBU disabled; changing WB virtual disks to WT
(aprobe0:ahcich0:0:15:0): NOP. ACB: 00 00 00 00 00 00 00 00 00 00 00 00
(aprobe0:ahcich0:0:15:0): CAM status: Command timeout
(aprobe0:ahcich0:0:15:0): Error 5, Retries exhausted
(aprobe1:ahcich1:0:15:0): NOP. ACB: 00 00 00 00 00 00 00 00 00 00 00 00
(aprobe1:ahcich1:0:15:0): CAM status: Command timeout
(aprobe1:ahcich1:0:15:0): Error 5, Retries exhausted
(aprobe2:ahcich2:0:15:0): NOP. ACB: 00 00 00 00 00 00 00 00 00 00 00 00
(aprobe2:ahcich2:0:15:0): CAM status: Command timeout
(aprobe2:ahcich2:0:15:0): Error 5, Retries exhausted
uhub6: 2 ports with 2 removable, self powered
uhub0: 3 ports with 3 removable, self powered
uhub1: 3 ports with 3 removable, self powered
uhub2: 3 ports with 3 removable, self powered
uhub4: 3 ports with 3 removable, self powered
(aprobe1:ahcich1:0:15:0): NOP. ACB: 00 00 00 00 00 00 00 00 00 00 00 00
(aprobe1:ahcich1:0:15:0): CAM status: Command timeout
(aprobe1:ahcich1:0:15:0): Error 5, Retries exhausted
(aprobe2:ahcich2:0:15:0): NOP. ACB: 00 00 00 00 00 00 00 00 00 00 00 00
(aprobe2:ahcich2:0:15:0): CAM status: Command timeout
(aprobe2:ahcich2:0:15:0): Error 5, Retries exhausted
uhub3: 6 ports with 6 removable, self powered
uhub5: 6 ports with 6 removable, self powered
ada0 at ahcich0 bus 0 scbus1 target 0 lun 0
ada0: <TOSHIBA DT01ACA300 MX6OABB0> ATA8-ACS SATA 3.x device
ada0: Serial Number Z2T3BD3AS
ada0: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
ada0: Previously was known as ad4
ada1 at ahcich1 bus 0 scbus2 target 0 lun 0
ada1: <TOSHIBA DT01ACA300 MX6OABB0> ATA8-ACS SATA 3.x device
ada1: Serial Number Z2T3BAXAS
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
ada1: Previously was known as ad6
ada2 at ahcich2 bus 0 scbus3 target 0 lun 0
ada2: <TOSHIBA DT01ACA300 MX6OABB0> ATA8-ACS SATA 3.x device
ada2: Serial Number 13Q8PLUYS
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 2861588MB (5860533168 512 byte sectors: 16H 63S/T 16383C)
ada2: Previously was known as ad8
sa0 at mfi0 bus 0 scbus0 target 17 lun 0
sa0: <IBM ULT3580-HH4 C7Q1> Removable Sequential Access SCSI-3 device
sa0: Serial Number 1K10012996
sa0: 150.000MB/s transfers
sa0: Command Queueing enabled
sa1 at mfi0 bus 0 scbus0 target 18 lun 0
sa1: <IBM ULT3580-HH4 C7Q1> Removable Sequential Access SCSI-3 device
sa1: Serial Number 9K11801866
sa1: 150.000MB/s transfers
sa1: Command Queueing enabled
ch0 at mfi0 bus 0 scbus0 target 17 lun 1
ch0: <IBM 3573-TL B.60> Removable Changer SPC-3 SCSI device
ch0: Serial Number 00X4U78G4272_LL0
ch0: 150.000MB/s transfers
ch0: Command Queueing enabled
ch0: 47 slots, 2 drives, 1 picker, 0 portals
ch1 at mfi0 bus 0 scbus0 target 18 lun 1
ch1: <IBM 3573-TL B.60> Removable Changer SPC-3 SCSI device
ch1: Serial Number 00X4U78G4272_LL0
ch1: 150.000MB/s transfers
ch1: Command Queueing enabled
ch1: 47 slots, 2 drives, 1 picker, 0 portals
SMP: AP CPU #1 Launched!
SMP: AP CPU #2 Launched!
SMP: AP CPU #3 Launched!
Timecounter "TSC-low" frequency 1505104509 Hz quality 800
GEOM_MIRROR: Device mirror/swap launched (3/3).
Trying to mount root from zfs:zroot/ROOT/default []...
cryptosoft0: <software crypto> on motherboard
GEOM_ELI: Device mirror/swap.eli created.
GEOM_ELI: Encryption: AES-XTS 128
GEOM_ELI:     Crypto: software

$ gpart list
Geom name: ada0
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 5860533134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: ada0p1
   Mediasize: 524288 (512K)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   rawuuid: 18e31c25-af4b-11e5-bdb3-001b2151ab2d
   rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f
   label: gptboot0
   length: 524288
   offset: 20480
   type: freebsd-boot
   index: 1
   end: 1063
   start: 40
2. Name: ada0p2
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   rawuuid: 19143c11-af4b-11e5-bdb3-001b2151ab2d
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: swap0
   length: 2147483648
   offset: 1048576
   type: freebsd-swap
   index: 2
   end: 4196351
   start: 2048
3. Name: ada0p3
   Mediasize: 2998443966464 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   rawuuid: 194d68f6-af4b-11e5-bdb3-001b2151ab2d
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: zfs0
   length: 2998443966464
   offset: 2148532224
   type: freebsd-zfs
   index: 3
   end: 5860532223
   start: 4196352
Consumers:
1. Name: ada0
   Mediasize: 3000592982016 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e4

Geom name: ada1
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 5860533134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: ada1p1
   Mediasize: 524288 (512K)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   rawuuid: 19d69445-af4b-11e5-bdb3-001b2151ab2d
   rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f
   label: gptboot1
   length: 524288
   offset: 20480
   type: freebsd-boot
   index: 1
   end: 1063
   start: 40
2. Name: ada1p2
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   rawuuid: 1a02858c-af4b-11e5-bdb3-001b2151ab2d
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: swap1
   length: 2147483648
   offset: 1048576
   type: freebsd-swap
   index: 2
   end: 4196351
   start: 2048
3. Name: ada1p3
   Mediasize: 2998443966464 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   rawuuid: 1a3a6541-af4b-11e5-bdb3-001b2151ab2d
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: zfs1
   length: 2998443966464
   offset: 2148532224
   type: freebsd-zfs
   index: 3
   end: 5860532223
   start: 4196352
Consumers:
1. Name: ada1
   Mediasize: 3000592982016 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e4

Geom name: ada2
modified: false
state: OK
fwheads: 16
fwsectors: 63
last: 5860533134
first: 34
entries: 128
scheme: GPT
Providers:
1. Name: ada2p1
   Mediasize: 524288 (512K)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r0w0e0
   rawuuid: 1ac2f35b-af4b-11e5-bdb3-001b2151ab2d
   rawtype: 83bd6b9d-7f41-11dc-be0b-001560b84f0f
   label: gptboot2
   length: 524288
   offset: 20480
   type: freebsd-boot
   index: 1
   end: 1063
   start: 40
2. Name: ada2p2
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   rawuuid: 1aeecfaf-af4b-11e5-bdb3-001b2151ab2d
   rawtype: 516e7cb5-6ecf-11d6-8ff8-00022d09712b
   label: swap2
   length: 2147483648
   offset: 1048576
   type: freebsd-swap
   index: 2
   end: 4196351
   start: 2048
3. Name: ada2p3
   Mediasize: 2998443966464 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   rawuuid: 1b256c35-af4b-11e5-bdb3-001b2151ab2d
   rawtype: 516e7cba-6ecf-11d6-8ff8-00022d09712b
   label: zfs2
   length: 2998443966464
   offset: 2148532224
   type: freebsd-zfs
   index: 3
   end: 5860532223
   start: 4196352
Consumers:
1. Name: ada2
   Mediasize: 3000592982016 (2.7T)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r2w2e4

$ gmirror list
Geom name: swap
State: COMPLETE
Components: 3
Balance: load
Slice: 4096
Flags: NONE
GenID: 0
SyncID: 1
ID: 2857317765
Providers:
1. Name: mirror/swap
   Mediasize: 2147483136 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
Consumers:
1. Name: ada0p2
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   State: ACTIVE
   Priority: 0
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 2735398730
2. Name: ada1p2
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   State: ACTIVE
   Priority: 1
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 2717712298
3. Name: ada2p2
   Mediasize: 2147483648 (2.0G)
   Sectorsize: 512
   Stripesize: 4096
   Stripeoffset: 0
   Mode: r1w1e1
   State: ACTIVE
   Priority: 2
   Flags: NONE
   GenID: 0
   SyncID: 1
   ID: 1479912415

$ gpart show
=>        34  5860533101  ada0  GPT  (2.7T)
          34           6        - free -  (3.0K)
          40        1024     1  freebsd-boot  (512K)
        1064         984        - free -  (492K)
        2048     4194304     2  freebsd-swap  (2.0G)
     4196352  5856335872     3  freebsd-zfs  (2.7T)
  5860532224         911        - free -  (456K)

=>        34  5860533101  ada1  GPT  (2.7T)
          34           6        - free -  (3.0K)
          40        1024     1  freebsd-boot  (512K)
        1064         984        - free -  (492K)
        2048     4194304     2  freebsd-swap  (2.0G)
     4196352  5856335872     3  freebsd-zfs  (2.7T)
  5860532224         911        - free -  (456K)

=>        34  5860533101  ada2  GPT  (2.7T)
          34           6        - free -  (3.0K)
          40        1024     1  freebsd-boot  (512K)
        1064         984        - free -  (492K)
        2048     4194304     2  freebsd-swap  (2.0G)
     4196352  5856335872     3  freebsd-zfs  (2.7T)
  5860532224         911        - free -  (456K)

Website Pin Facebook Twitter Myspace Friendfeed Technorati del.icio.us Digg Google StumbleUpon Premium Responsive