I’ve been given a Dell PowerEdge R610. I’ve installed two 30GB SSDs and installed FreeBSD 11 on it. It will become a tape library server.
EDIT: 2017.11.29 – the drives, network card, and SAS card have been moved to the R710.
$ gpart show => 40 62533216 da0 GPT (30G) 40 1024 1 freebsd-boot (512K) 1064 984 - free - (492K) 2048 4194304 2 freebsd-swap (2.0G) 4196352 58335232 3 freebsd-zfs (28G) 62531584 1672 - free - (836K) => 40 62533216 da1 GPT (30G) 40 1024 1 freebsd-boot (512K) 1064 984 - free - (492K) 2048 4194304 2 freebsd-swap (2.0G) 4196352 58335232 3 freebsd-zfs (28G) 62531584 1672 - free - (836K)
The swap:
$ swapinfo Device 1K-blocks Used Avail Capacity /dev/da0p2.eli 2097152 0 2097152 0%
The zpools:
$ zpool status pool: zroot state: DEGRADED status: One or more devices could not be opened. Sufficient replicas exist for the pool to continue functioning in a degraded state. action: Attach the missing device and online it using 'zpool online'. see: http://illumos.org/msg/ZFS-8000-2Q scan: none requested config: NAME STATE READ WRITE CKSUM zroot DEGRADED 0 0 0 mirror-0 DEGRADED 0 0 0 da0p3 ONLINE 0 0 0 475771326405607589 UNAVAIL 0 0 0 was /dev/da1p3 errors: No known data errors
Oh, well, that’s a problem. Let’s fix it:
# zpool online zroot 475771326405607589 /dev/da1p3 # zpool status pool: zroot state: ONLINE scan: resilvered 126M in 0h0m with 0 errors on Sun Mar 12 16:31:31 2017 config: NAME STATE READ WRITE CKSUM zroot ONLINE 0 0 0 mirror-0 ONLINE 0 0 0 da0p3 ONLINE 0 0 0 da1p3 ONLINE 0 0 0 errors: No known data errors
There. Fixed. Just. Like. That.™
The filesystems:
$ zfs list NAME USED AVAIL REFER MOUNTPOINT zroot 653M 26.2G 96K /zroot zroot/ROOT 651M 26.2G 96K none zroot/ROOT/default 651M 26.2G 651M / zroot/tmp 104K 26.2G 104K /tmp zroot/usr 520K 26.2G 96K /usr zroot/usr/home 232K 26.2G 232K /usr/home zroot/usr/ports 96K 26.2G 96K /usr/ports zroot/usr/src 96K 26.2G 96K /usr/src zroot/var 740K 26.2G 96K /var zroot/var/audit 96K 26.2G 96K /var/audit zroot/var/crash 96K 26.2G 96K /var/crash zroot/var/log 236K 26.2G 236K /var/log zroot/var/mail 120K 26.2G 120K /var/mail zroot/var/tmp 96K 26.2G 96K /var/tmp
And dmesg:
$ cat /var/run/dmesg.boot Copyright (c) 1992-2016 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 11.0-RELEASE-p8 #0: Wed Feb 22 06:12:04 UTC 2017 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 FreeBSD clang version 3.8.0 (tags/RELEASE_380/final 262564) (based on LLVM 3.8.0) VT(vga): resolution 640x480 CPU: Intel(R) Xeon(R) CPU X5550 @ 2.67GHz (2660.05-MHz K8-class CPU) Origin="GenuineIntel" Id=0x106a5 Family=0x6 Model=0x1a Stepping=5 Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE> Features2=0x9ce3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM,DCA,SSE4.1,SSE4.2,POPCNT> AMD Features=0x28100800<SYSCALL,NX,RDTSCP,LM> AMD Features2=0x1<LAHF> VT-x: (disabled in BIOS) PAT,HLT,MTF,PAUSE,EPT,VPID TSC: P-state invariant, performance statistics real memory = 25769803776 (24576 MB) avail memory = 24916123648 (23761 MB) Event timer "LAPIC" quality 400 ACPI APIC Table: <DELL PE_SC3 > FreeBSD/SMP: Multiprocessor System Detected: 8 CPUs FreeBSD/SMP: 1 package(s) x 4 core(s) x 2 hardware threads random: unblocking device. ioapic1: Changing APIC ID to 1 ioapic0 <Version 2.0> irqs 0-23 on motherboard ioapic1 <Version 2.0> irqs 32-55 on motherboard random: entropy device external interface kbd1 at kbdmux0 netmap: loaded module module_register_init: MOD_LOAD (vesa, 0xffffffff8101d970, 0) error 19 vtvga0: <VT VGA driver> on motherboard cryptosoft0: <software crypto> on motherboard acpi0: <DELL PE_SC3> 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 cpu4: <ACPI CPU> on acpi0 cpu5: <ACPI CPU> on acpi0 cpu6: <ACPI CPU> on acpi0 cpu7: <ACPI CPU> on acpi0 atrtc0: <AT realtime clock> port 0x70-0x7f irq 8 on acpi0 Event timer "RTC" frequency 32768 Hz quality 0 attimer0: <AT timer> port 0x40-0x5f irq 0 on acpi0 Timecounter "i8254" frequency 1193182 Hz quality 0 Event timer "i8254" frequency 1193182 Hz quality 100 hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff on acpi0 Timecounter "HPET" frequency 14318180 Hz quality 950 Event timer "HPET" frequency 14318180 Hz quality 350 Event timer "HPET1" frequency 14318180 Hz quality 340 Event timer "HPET2" frequency 14318180 Hz quality 340 Event timer "HPET3" frequency 14318180 Hz quality 340 Timecounter "ACPI-fast" frequency 3579545 Hz quality 900 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x808-0x80b on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0 pcib0: _OSC returned error 0x10 pci0: <ACPI PCI bus> on pcib0 pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0 pci1: <ACPI PCI bus> on pcib1 bce0: <QLogic NetXtreme II BCM5709 1000Base-T (C0)> mem 0xd6000000-0xd7ffffff irq 36 at device 0.0 on pci1 miibus0: <MII bus> on bce0 brgphy0: <BCM5709 10/100/1000baseT PHY> PHY 1 on miibus0 brgphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bce0: Using defaults for TSO: 65518/35/2048 bce0: Ethernet address: 00:21:9b:97:6e:0e bce0: ASIC (0x57092003); Rev (C0); Bus (PCIe x4, 2.5Gbps); B/C (5.0.6); Bufs (RX:2;TX:2;PG:8); Flags (SPLT|MSI|MFW); MFW (NCSI 2.0.3) Coal (RX:6,6,18,18; TX:20,20,80,80) bce1: <QLogic NetXtreme II BCM5709 1000Base-T (C0)> mem 0xd8000000-0xd9ffffff irq 48 at device 0.1 on pci1 miibus1: <MII bus> on bce1 brgphy1: <BCM5709 10/100/1000baseT PHY> PHY 1 on miibus1 brgphy1: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bce1: Using defaults for TSO: 65518/35/2048 bce1: Ethernet address: 00:21:9b:97:6e:10 bce1: ASIC (0x57092003); Rev (C0); Bus (PCIe x4, 2.5Gbps); B/C (5.0.6); Bufs (RX:2;TX:2;PG:8); Flags (SPLT|MSI|MFW); MFW (NCSI 2.0.3) Coal (RX:6,6,18,18; TX:20,20,80,80) pcib2: <ACPI PCI-PCI bridge> at device 3.0 on pci0 pci2: <ACPI PCI bus> on pcib2 bce2: <QLogic NetXtreme II BCM5709 1000Base-T (C0)> mem 0xda000000-0xdbffffff irq 32 at device 0.0 on pci2 miibus2: <MII bus> on bce2 brgphy2: <BCM5709 10/100/1000baseT PHY> PHY 1 on miibus2 brgphy2: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bce2: Using defaults for TSO: 65518/35/2048 bce2: Ethernet address: 00:21:9b:97:6e:12 bce2: ASIC (0x57092003); Rev (C0); Bus (PCIe x4, 2.5Gbps); B/C (5.0.6); Bufs (RX:2;TX:2;PG:8); Flags (SPLT|MSI|MFW); MFW (NCSI 2.0.3) Coal (RX:6,6,18,18; TX:20,20,80,80) bce3: <QLogic NetXtreme II BCM5709 1000Base-T (C0)> mem 0xdc000000-0xddffffff irq 42 at device 0.1 on pci2 miibus3: <MII bus> on bce3 brgphy3: <BCM5709 10/100/1000baseT PHY> PHY 1 on miibus3 brgphy3: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-master, 1000baseT-FDX, 1000baseT-FDX-master, auto, auto-flow bce3: Using defaults for TSO: 65518/35/2048 bce3: Ethernet address: 00:21:9b:97:6e:14 bce3: ASIC (0x57092003); Rev (C0); Bus (PCIe x4, 2.5Gbps); B/C (5.0.6); Bufs (RX:2;TX:2;PG:8); Flags (SPLT|MSI|MFW); MFW (NCSI 2.0.3) Coal (RX:6,6,18,18; TX:20,20,80,80) pcib3: <ACPI PCI-PCI bridge> at device 7.0 on pci0 pci3: <ACPI PCI bus> on pcib3 pcib4: <ACPI PCI-PCI bridge> at device 9.0 on pci0 pci4: <ACPI PCI bus> on pcib4 mps0: <Avago Technologies (LSI) SAS2008> port 0xec00-0xecff mem 0xdf2b0000-0xdf2bffff,0xdf2c0000-0xdf2fffff irq 40 at device 0.0 on pci4 mps0: Firmware: 07.15.08.00, Driver: 21.01.00.00-fbsd mps0: IOCCapabilities: 185c<ScsiTaskFull,DiagTrace,SnapBuf,EEDP,TransRetry,IR> pci0: <base peripheral, interrupt controller> at device 20.0 (no driver attached) pci0: <base peripheral, interrupt controller> at device 20.1 (no driver attached) pci0: <base peripheral, interrupt controller> at device 20.2 (no driver attached) uhci0: <Intel 82801I (ICH9) USB controller> port 0xdc40-0xdc5f irq 17 at device 26.0 on pci0 usbus0 on uhci0 uhci1: <Intel 82801I (ICH9) USB controller> port 0xdc60-0xdc7f irq 18 at device 26.1 on pci0 usbus1 on uhci1 ehci0: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xdf0ff800-0xdf0ffbff irq 19 at device 26.7 on pci0 usbus2: EHCI version 1.0 usbus2 on ehci0 pcib5: <ACPI PCI-PCI bridge> at device 28.0 on pci0 pci5: <ACPI PCI bus> on pcib5 mpt0: <LSILogic SAS/SATA Adapter> port 0xfc00-0xfcff mem 0xdf4ec000-0xdf4effff,0xdf4f0000-0xdf4fffff irq 16 at device 0.0 on pci5 mpt0: MPI Version=1.5.18.0 mpt0: Capabilities: ( RAID-0 RAID-1E RAID-1 ) mpt0: 0 Active Volumes (2 Max) mpt0: 0 Hidden Drive Members (14 Max) uhci2: <Intel 82801I (ICH9) USB controller> port 0xdc80-0xdc9f irq 21 at device 29.0 on pci0 usbus3 on uhci2 uhci3: <Intel 82801I (ICH9) USB controller> port 0xdca0-0xdcbf irq 20 at device 29.1 on pci0 usbus4 on uhci3 ehci1: <Intel 82801I (ICH9) USB 2.0 controller> mem 0xdf0ffc00-0xdf0fffff irq 21 at device 29.7 on pci0 usbus5: EHCI version 1.0 usbus5 on ehci1 pcib6: <ACPI PCI-PCI bridge> at device 30.0 on pci0 pci6: <ACPI PCI bus> on pcib6 vgapci0: <VGA-compatible display> mem 0xd5800000-0xd5ffffff,0xde7fc000-0xde7fffff,0xde800000-0xdeffffff irq 19 at device 3.0 on pci6 vgapci0: Boot video device isab0: <PCI-ISA bridge> at device 31.0 on pci0 isa0: <ISA bus> on isab0 atapci0: <Intel ICH9 SATA300 controller> port 0xdc10-0xdc17,0xdc08-0xdc0b,0xdc18-0xdc1f,0xdc0c-0xdc0f,0xdc20-0xdc2f,0xdc30-0xdc3f irq 23 at device 31.2 on pci0 ata2: <ATA channel> at channel 0 on atapci0 ata3: <ATA channel> at channel 1 on atapci0 uart0: <16550 or compatible> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 uart1: <16550 or compatible> port 0x2f8-0x2ff irq 3 on acpi0 qpi0: <QPI system bus> on motherboard orm0: <ISA Option ROMs> at iomem 0xc0000-0xc7fff,0xce000-0xcefff,0xd1800-0xd1fff,0xec000-0xeffff on isa0 atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] ppc0: cannot reserve I/O port range est0: <Enhanced SpeedStep Frequency Control> on cpu0 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 15 device_attach: est0 attach returned 6 est1: <Enhanced SpeedStep Frequency Control> on cpu1 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 15 device_attach: est1 attach returned 6 est2: <Enhanced SpeedStep Frequency Control> on cpu2 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 15 device_attach: est2 attach returned 6 est3: <Enhanced SpeedStep Frequency Control> on cpu3 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 15 device_attach: est3 attach returned 6 est4: <Enhanced SpeedStep Frequency Control> on cpu4 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 15 device_attach: est4 attach returned 6 est5: <Enhanced SpeedStep Frequency Control> on cpu5 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 15 device_attach: est5 attach returned 6 est6: <Enhanced SpeedStep Frequency Control> on cpu6 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 15 device_attach: est6 attach returned 6 est7: <Enhanced SpeedStep Frequency Control> on cpu7 est: CPU supports Enhanced Speedstep, but is not recognized. est: cpu_vendor GenuineIntel, msr 15 device_attach: est7 attach returned 6 bce0: link state changed to DOWN bce1: link state changed to DOWN bce2: link state changed to DOWN bce3: link state changed to DOWN usbus0: 12Mbps Full Speed USB v1.0 ZFS filesystem version: 5 ZFS storage pool version: features support (5000) Timecounters tick every 1.000 msec nvme cam probe device init bce3: bce_pulse(): Warning: bootcode thinks driver is absent! (bc_state = 0x0003600E) ugen0.1: <Intel> at usbus0 uhub0: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus0 bce2: bce_pulse(): Warning: bootcode thinks driver is absent! (bc_state = 0x0003600E) bce1: bce_pulse(): Warning: bootcode thinks driver is absent! (bc_state = 0x0003600E) bce0: bce_pulse(): Warning: bootcode thinks driver is absent! (bc_state = 0x0003600E) usbus1: 12Mbps Full Speed USB v1.0 usbus2: 480Mbps High Speed USB v2.0 usbus3: 12Mbps Full Speed USB v1.0 ugen1.1: <Intel> at usbus1 uhub1: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1 ugen2.1: <Intel> at usbus2 uhub2: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2 ugen3.1: <Intel> at usbus3 uhub3: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3 usbus4: 12Mbps Full Speed USB v1.0 usbus5: 480Mbps High Speed USB v2.0 ugen4.1: <Intel> at usbus4 uhub4: <Intel UHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus4 ugen5.1: <Intel> at usbus5 uhub5: <Intel EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus5 uhub1: 2 ports with 2 removable, self powered uhub0: 2 ports with 2 removable, self powered uhub4: 2 ports with 2 removable, self powered uhub3: 2 ports with 2 removable, self powered uhub2: 4 ports with 4 removable, self powered uhub5: 4 ports with 4 removable, self powered ugen2.2: <vendor 0x0424> at usbus2 uhub6: <vendor 0x0424 product 0x2514, class 9/0, rev 2.00/0.00, addr 2> on usbus2 uhub6: MTT enabled ugen3.2: <ATEN> at usbus3 ukbd0: <HID Keyboard> on usbus3 kbd2 at ukbd0 uhub6: 3 ports with 3 removable, self powered ses0 at mpt0 bus 0 scbus1 target 8 lun 0 ses0: <DP BACKPLANE 1.07> Fixed Enclosure Services SPC-3 SCSI device ses0: 300.000MB/s transfers ses0: SCSI-3 ENC Device (da0:mpt0:0:0:0): UNMAPPED da0 at mpt0 bus 0 scbus1 target 0 lun 0 da0: <ATA SanDisk SDSSDRC0 0> Fixed Direct Access SPC-3 SCSI device da0: Serial Number 134106402147 da0: 300.000MB/s transfers da0: Command Queueing enabled da0: 30533MB (62533296 512 byte sectors) cd0 at ata2 bus 0 scbus3 target 0 lun 0 cd0: <TSSTcorp DVD-ROM TS-L333A D450> Removable CD-ROM SCSI device cd0: 150.000MB/s transfers (SATA 1.x, UDMA2, ATAPI 12bytes, PIO 8192bytes) cd0: Attempt to query device size failed: NOT READY, Medium not present - tray closed SMP: AP CPU #1 Launched! SMP: AP CPU #3 Launched! SMP: AP CPU #4 Launched! SMP: AP CPU #6 Launched! SMP: AP CPU #5 Launched! SMP: AP CPU #2 Launched! SMP: AP CPU #7 Launched! Timecounter "TSC-low" frequency 1330026032 Hz quality 1000 Trying to mount root from zfs:zroot/ROOT/default []... GEOM_ELI: Device da0p2.eli created. GEOM_ELI: Encryption: AES-XTS 128 GEOM_ELI: Crypto: software ums0: <HID Mouse> on usbus3 ums0: 5 buttons and [XYZ] coordinates ID=0