Solved System malfunctions and freezing

First off I am a BSD noob so I apologize for my ignorance, but I am trying to learn.

I have an HTPC running kodi as a front end and a few background daemons behind the scenes. Everything was running great but the last couple days I've run into some issues. The system has been exhibiting various errors. I think this began after running freebsd-update.

Upon restarting it sometimes hangs and appears to have trouble mounting the filesystem. Here is the output of dmesg -a
Code:
HTPC➜  ~  ᐅ  dmesg -a
Copyright (c) 1992-2017 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.1-RELEASE-p4 #0: Tue Nov 14 06:12:40 UTC 2017
    root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
FreeBSD clang version 4.0.0 (tags/RELEASE_400/final 297347) (based on LLVM 4.0.0)
VT(efifb): resolution 1280x1024
CPU: AMD A4-5300 APU with Radeon(tm) HD Graphics     (3393.90-MHz K8-class CPU)
  Origin="AuthenticAMD"  Id=0x610f01  Family=0x15  Model=0x10  Stepping=1
  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=0x3e98320b<SSE3,PCLMULQDQ,MON,SSSE3,FMA,CX16,SSE4.1,SSE4.2,POPCNT,AESNI,XSAVE,OSXSAVE,AVX,F16C>
  AMD Features=0x2e500800<SYSCALL,NX,MMX+,FFXSR,Page1GB,RDTSCP,LM>
  AMD Features2=0x1ebbfff<LAHF,CMP,SVM,ExtAPIC,CR8,ABM,SSE4A,MAS,Prefetch,OSVW,IBS,XOP,SKINIT,WDT,LWP,FMA4,TCE,NodeId,TBM,Topology,PCXC,PNXC>
  Structured Extended Features=0x8<BMI1>
  SVM: NP,NRIP,VClean,AFlush,DAssist,NAsids=65536
  TSC: P-state invariant, performance statistics
real memory  = 4294967296 (4096 MB)
avail memory = 4033789952 (3846 MB)
Event timer "LAPIC" quality 100
ACPI APIC Table: <ALASKA A M I>
FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs
FreeBSD/SMP: 1 package(s) x 2 core(s)
random: unblocking device.
ACPI BIOS Warning (bug): Optional FADT field Pm2ControlBlock has valid Length but zero Address: 0x0000000000000000/0x1 (20170303/tbfadt-796)
ioapic0 <Version 2.1> irqs 0-23 on motherboard
SMP: AP CPU #1 Launched!
Timecounter "TSC-low" frequency 1696947562 Hz quality 1000
random: entropy device external interface
kbd1 at kbdmux0
netmap: loaded module
module_register_init: MOD_LOAD (vesa, 0xffffffff80f5b220, 0) error 19
nexus0
cryptosoft0: <software crypto> on motherboard
acpi0: <ALASKA A M I> on motherboard
acpi0: Power Button (fixed)
cpu0: <ACPI CPU> on acpi0
cpu1: <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 on acpi0
Event timer "RTC" frequency 32768 Hz quality 0
hpet0: <High Precision Event Timer> iomem 0xfed00000-0xfed003ff irq 0,8 on acpi0
Timecounter "HPET" frequency 14318180 Hz quality 950
Event timer "HPET" frequency 14318180 Hz quality 550
Event timer "HPET1" 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
pci1: <ACPI PCI bus> on pcib1
vgapci0: <VGA-compatible display> port 0xe000-0xe07f mem 0xfd000000-0xfdffffff,0xc0000000-0xcfffffff,0xd0000000-0xd1ffffff irq 18 at device 0.0 on pci1
vgapci0: Boot video device
hdac0: <NVIDIA (0x0fb8) HDA Controller> mem 0xfe080000-0xfe083fff irq 19 at device 0.1 on pci1
pcib2: <ACPI PCI-PCI bridge> irq 16 at device 4.0 on pci0
pci2: <ACPI PCI bus> on pcib2
re0: <RealTek 8168/8111 B/C/CP/D/DP/E/F/G PCIe Gigabit Ethernet> port 0xd000-0xd0ff mem 0xfe100000-0xfe100fff,0xd2100000-0xd2103fff irq 16 at device 0.0 on pci2
re0: Using 1 MSI-X message
re0: Chip rev. 0x4c000000
re0: MAC rev. 0x00000000
miibus0: <MII bus> on re0
rgephy0: <RTL8251 1000BASE-T media interface> PHY 1 on miibus0
rgephy0:  none, 10baseT, 10baseT-FDX, 10baseT-FDX-flow, 100baseTX, 100baseTX-FDX, 100baseTX-FDX-flow, 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: 40:8d:5c:42:a6:82
re0: netmap queues/slots: TX 1/256, RX 1/256
xhci0: <AMD FCH USB 3.0 controller> mem 0xfe204000-0xfe205fff irq 18 at device 16.0 on pci0
xhci0: 32 bytes context size, 64-bit DMA
xhci0: Unable to map MSI-X table
usbus0 on xhci0
usbus0: 5.0Gbps Super Speed USB v3.0
ahci0: <AMD Hudson-2 AHCI SATA controller> port 0xf090-0xf097,0xf080-0xf083,0xf070-0xf077,0xf060-0xf063,0xf050-0xf05f mem 0xfe20b000-0xfe20b7ff irq 19 at device 17.0 on pci0
ahci0: AHCI v1.30 with 4 6Gbps ports, Port Multiplier supported
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 FCH USB Controller> mem 0xfe20a000-0xfe20afff irq 18 at device 18.0 on pci0
usbus1 on ohci0
usbus1: 12Mbps Full Speed USB v1.0
ehci0: <AMD FCH USB 2.0 controller> mem 0xfe209000-0xfe2090ff irq 17 at device 18.2 on pci0
usbus2: EHCI version 1.0
usbus2 on ehci0
usbus2: 480Mbps High Speed USB v2.0
ohci1: <AMD FCH USB Controller> mem 0xfe208000-0xfe208fff irq 18 at device 19.0 on pci0
usbus3 on ohci1
usbus3: 12Mbps Full Speed USB v1.0
ehci1: <AMD FCH USB 2.0 controller> mem 0xfe207000-0xfe2070ff irq 17 at device 19.2 on pci0
usbus4: EHCI version 1.0
usbus4 on ehci1
usbus4: 480Mbps High Speed USB v2.0
atapci0: <AMD Hudson-2 UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 20.1 on pci0
ata0: <ATA channel> at channel 0 on atapci0
ata1: <ATA channel> at channel 1 on atapci0
hdac1: <AMD Hudson-2 HDA Controller> mem 0xfe200000-0xfe203fff irq 16 at device 20.2 on pci0
isab0: <PCI-ISA bridge> at device 20.3 on pci0
isa0: <ISA bus> on isab0
pcib3: <ACPI PCI-PCI bridge> at device 20.4 on pci0
pci3: <ACPI PCI bus> on pcib3
ohci2: <OHCI (generic) USB controller> mem 0xfe206000-0xfe206fff irq 18 at device 20.5 on pci0
usbus5 on ohci2
usbus5: 12Mbps Full Speed USB v1.0
acpi_button0: <Power Button> on acpi0
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
hwpstate0: <Cool`n'Quiet 2.0> on cpu0
Timecounters tick every 1.000 msec
nvme cam probe device init
hdacc0: <NVIDIA (0x0081) HDA CODEC> at cad 0 on hdac0
hdaa0: <NVIDIA (0x0081) Audio Function Group> at nid 1 on hdacc0
pcm0: <NVIDIA (0x0081) (HDMI/DP 8ch)> at nid 4 on hdaa0
pcm1: <NVIDIA (0x0081) (HDMI/DP 8ch)> at nid 5 on hdaa0
hdacc1: <Realtek ALC887 HDA CODEC> at cad 0 on hdac1
hdaa1: <Realtek ALC887 Audio Function Group> at nid 1 on hdacc1
pcm2: <Realtek ALC887 (Rear Analog)> at nid 20 and 24,26 on hdaa1
pcm3: <Realtek ALC887 (Front Analog)> at nid 27 and 25 on hdaa1
pcm4: <Realtek ALC887 (Onboard Digital)> at nid 17 on hdaa1
ugen5.1: <AMD OHCI root HUB> at usbus5
ugen4.1: <AMD EHCI root HUB> at usbus4
uhub0: <AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus5
ugen2.1: <AMD EHCI root HUB> at usbus2
uhub1: <AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus4
uhub2: <AMD EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus2
ugen3.1: <AMD OHCI root HUB> at usbus3
ugen0.1: <0x1022 XHCI root HUB> at usbus0
uhub3: <AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus3
ugen1.1: <AMD OHCI root HUB> at usbus1
uhub4: <0x1022 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0
uhub5: <AMD OHCI root HUB, class 9/0, rev 1.00/1.00, addr 1> on usbus1
uhub0: 2 ports with 2 removable, self powered
uhub3: 5 ports with 5 removable, self powered
uhub5: 5 ports with 5 removable, self powered
uhub4: 4 ports with 4 removable, self powered
uhub1: 5 ports with 5 removable, self powered
uhub2: 5 ports with 5 removable, self powered
ugen4.2: <Generic Mass Storage Device> at usbus4
umass0 on uhub1
umass0: <Generic Mass Storage Device, class 0/0, rev 2.00/1.29, addr 2> on usbus4
umass0:  SCSI over Bulk-Only; quirks = 0x4001
umass0:6:0: Attached to scbus6
ugen1.2: <Topseed Technology Corp. eHome Infrared Transceiver> at usbus1
ada0 at ahcich0 bus 0 scbus0 target 0 lun 0
ada0: <WDC WD30EZRX-00MMMB0 80.00A80> ATA8-ACS SATA 3.x device
ada0: Serial Number WD-WCAWZ1042862
ada0: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada0: Command Queueing enabled
ada0: 2861588MB (5860533168 512 byte sectors)
ada0: quirks=0x1<4K>
ada1 at ahcich1 bus 0 scbus1 target 0 lun 0
ada1: <Hitachi HDS722020ALA330 JK0KB23N> ATA8-ACS SATA 2.x device
ada1: Serial Number JK11C1YAJDBRHV
ada1: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 1907729MB (3907029168 512 byte sectors)
ada2 at ahcich3 bus 0 scbus3 target 0 lun 0
ada2: <SAMSUNG HD154UI 1AG01118> ATA-7 SATA 2.x device
ada2: Serial Number S1XWJX0B300492
ada2: 300.000MB/s transfers (SATA 2.x, UDMA6, PIO 8192bytes)
ada2: Command Queueing enabled
ada2: 1430799MB (2930277168 512 byte sectors)
Trying to mount root from ufs:/dev/ada0p3 [rw]...
(da0:umass-sim0:0:0:0): got CAM status 0x50
(da0:umass-sim0:0:0:0): fatal error, failed to attach to device
g_access(918): provider da0 has error
g_access(918): provider da0 has error
g_access(918): provider da0 has error
g_access(918): provider da0 has error
(da1:umass-sim0:0:0:1): got CAM status 0x44
(da1:umass-sim0:0:0:1): fatal error, failed to attach to device
g_access(918): provider da1 has error
g_access(918): provider da1 has error
g_access(918): provider da1 has error
g_access(918): provider da1 has error
(da2:umass-sim0:0:0:2): got CAM status 0x44
(da2:umass-sim0:0:0:2): fatal error, failed to attach to device
g_access(918): provider da2 has error
g_access(918): provider da2 has error
g_access(918): provider da2 has error
g_access(918): provider da2 has error
(da3:umass-sim0:0:0:3): got CAM status 0x44
(da3:umass-sim0:0:0:3): fatal error, failed to attach to device
g_access(918): provider da3 has error
g_access(918): provider da3 has error
g_access(918): provider da3 has error
g_access(918): provider da3 has error
Setting hostuuid: 038d0240-045c-0542-a606-820700080009.
Setting hostid: 0xd83e0d42.
ZFS NOTICE: Prefetch is disabled by default if less than 4GB of RAM is present;
            to enable, add "vfs.zfs.prefetch_disable=0" to /boot/loader.conf.
ZFS filesystem version: 5
ZFS storage pool version: features support (5000)
No suitable dump device was found.
Starting file system checks:
/dev/ada0p3: FILE SYSTEM CLEAN; SKIPPING CHECKS
/dev/ada0p3: clean, 12580397 free (6189 frags, 1571776 blocks, 0.0% fragmentation)
Mounting local filesystems:.
ELF ldconfig path: /lib /usr/lib /usr/lib/compat /usr/local/lib /usr/local/lib/mysql /usr/local/lib/perl5/5.24/mach/CORE /usr/local/lib/samba4 /usr/local/llvm40/lib
32-bit compatibility ldconfig path: /usr/lib32
Loading kernel modules:
nvidia0: <GeForce GT 1030> on vgapci0
vgapci0: child nvidia0 requested pci_enable_io
vgapci0: child nvidia0 requested pci_enable_io
nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  384.59  Wed Jul 19 23:32:27 PDT 2017
Setting hostname: HTPC.
Setting up harvesting: [UMA],[FS_ATIME],SWI,INTERRUPT,NET_NG,NET_ETHER,NET_TUN,MOUSE,KEYBOARD,ATTACH,CACHED
Feeding entropy: .
re0: link state changed to DOWN
Starting Network: lo0 re0.
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
    options=600003<RXCSUM,TXCSUM,RXCSUM_IPV6,TXCSUM_IPV6>
    inet6 ::1 prefixlen 128
    inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2
    inet 127.0.0.1 netmask 0xff000000
    nd6 options=21<PERFORMNUD,AUTO_LINKLOCAL>
    groups: lo
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
    options=8209b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_MAGIC,LINKSTATE>
    ether 40:8d:5c:42:a6:82
    hwaddr 40:8d:5c:42:a6:82
    inet 192.168.1.198 netmask 0xffffff00 broadcast 192.168.1.255
    nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL>
    media: Ethernet autoselect (none)
    status: no carrier
Starting devd.
add host 127.0.0.1: gateway lo0 fib 0: route already in table
add net default: gateway 192.168.1.1
add host ::1: gateway lo0 fib 0: route already in table
add net fe80::: gateway ::1
add net ff02::: gateway ::1
add net ::ffff:0.0.0.0: gateway ::1
add net ::0.0.0.0: gateway ::1
Creating and/or trimming log files.
Starting syslogd.
Additional ABI support: linux.
Clearing /tmp (X related).
Updating motd:.
Mounting late filesystems:.
re0: link state changed to UP
Starting dbus.
Configuring vt: blanktime.
Performing sanity check on sshd configuration.
Starting sshd.
Starting sendmail_submit.
Starting sendmail_msp_queue.
Starting cron.
Starting ftpd.
Starting background file system checks in 60 seconds.

Tue Nov 21 18:38:17 EST 2017
nvidia-modeset: Allocated GPU:0 (GPU-67b8371c-152f-42ae-9fbb-c25ab4d785bd) @ PCI:0000:01:00.0
nvidia-modeset: Freed GPU:0 (GPU-67b8371c-152f-42ae-9fbb-c25ab4d785bd) @ PCI:0000:01:00.0
nvidia-modeset: Allocated GPU:0 (GPU-67b8371c-152f-42ae-9fbb-c25ab4d785bd) @ PCI:0000:01:00.0

It boot eventually but it got stuck for longer than usual. [Edit] The errors on da0, da1, etc. are for some sim card reader which I have disconnected. I thought those were for the hdd since the previous message was about mounting the root fs.

I have 3 hdds in the PC, one of which has a 60G ufs partition for the root fs, and the rest is a zfs partition. The other two disks have a single zfs partition each and all 3 of the zfs partitions are pooled into a single storage in a JBOD configuration.

Kodi is started at boot in a .zshrc file with an auto-login profile on a ttyv9 I added. Lately kodi has also started freezing and becoming unresponsive right in the middle of playback. It will stay on the screen for a while but it won't play. Eventually it will just go dark. Killing the X server does not bring back the display. However restarting the X server does bring kodi back on screen. I have been restarting it via ssh and disowning it. So I don't know if the screen does not fall back to the terminal because of that or how it is supposed to behave. But some of my background daemons begin malfunctioning also when this happens, so it isn't just kodi or X. When this happens I have to restart the service twice. On the first attempt it gets stuck at :

Waiting for PIDS: 2251


I really don't know where to begin looking. This particular daemon is also accessing the zpool, which makes me think it could be a problem with one of the drives or with my zfs config. The drives are a little older. I am scrubbing the pool now. It said it would take 245 hours though.
 
Oh. It just happened again as I was watching a movie. 4th time today.

I have nzbget running in the background and I'm watching a movie on kodi. In an instant kodi playback stops and it freezes and my download speeds in nzbget begin plummeting to 0. It always requires two restarts of the nzbget service to get it running again. On the first one I have to Ctrl+C because it always gets stuck.

Weird.

Kiling X did return the main display back to the terminal. This is really annoying though.

I have a feeling one of the drives in my zpool is going bad and it's causing the pool to freak out. But when I run zpool status it looks fine. Is there a zpool log file somewhere with more information?
 
Disk error would be found in the output of dmesg, or in /var/log/messages.

When the hang happens, use the text console to try to find out which process is currently on the CPU, and what state it is in (top and ps are useful tools). Unfortunately, I fear that your console is being used as an X display (you are talking about watching a movie using kodi, and I've never heard of kodi, but then I don't watch movies on FreeBSD computers); maybe keep one VT running and logged in as root, and when the hang happens, use Alt-F1 etc. to switch to the text mode.

You say you saw "Waiting for PIDs: 2251". That information is not useful, unless you also tell us what PID 2251 is, and what state it is in.
 
Same thing happened for me with Nvidia driver 384.59. Never got this before. I have to disable VDPAU hardware decoding when playing some video embedded in MPEG transport stream data (ts file extension). No problem when decoding MP4.
Process is eating all cpu when using VLC or Mplayer. I have to switch to VT with Ctrl-Alt-Fn but for vlc this doesn't work because keyboard is stuck.
Perhaps with ssh if it is enabled, I haven't tried because it is not enabled on my workstation.
I reverted to Xvideo to play this kind of video stream (one player with VDPAU disabled and the other with VDPAU enabled for MP4 stream).
 
Same thing happened for me with Nvidia driver 384.59.
Try updating your ports/packages, the NVidia driver is currently at version 384.90. The issue you're encountering may already have been fixed.

You may not get newer versions if you're on the quarterly branch (you can check with pkg -vv). It may be worthwhile to try and switch to the latest packages in that case.
 
You may not get newer versions if you're on the quarterly branch (you can check with pkg -vv). It may be worthwhile to try and switch to the latest packages in that case.
Yes, I'm on quarterly and I build my own quarterly packages with ports-mgmt/poudriere, so I don't want to break my workstation now. But It could be a good test for ZFS snapshots ;).
 
If you have poudriere you can create a second ports tree using the latest version, then build everything with that. That will give you two repositories, one with the original quarterly branch and one with the latest branch. That way you can easily switch back and forth by changing the workstation's pkg(8) config.
 
If you have poudriere you can create a second ports tree using the latest version, then build everything with that. That will give you two repositories, one with the original quarterly branch and one with the latest branch. That way you can easily switch back and forth by changing the workstation's pkg(8) config.
Thank you SirDice, I need some time to do that... packages built time... so I will try that later.
 
So I do not have a keyboard hooked up to the PC. I am doing everything via ssh. When it hangs at Waiting for PIDS: xxxx. the PID is the PID of the sevice I am trying to stop/restart. It always works on the second attempt. Maybe if I wait long enough it would work on the first attempt, but it hangs for a good while, and then goes very quickly on the 2nd attempt. I'll check top next time to see if anything is out of the ordinary. I've checked the nabget log and there's nothing out of the ordinary there either. It's like it doesn't even notice that it isn't working.

I thought also it might be an nvidia driver issue since I had just added the nvidia card, but this is happening even when X is not running. I left it running overnight with kodi and X shutdown and just nzbget running. Same thing. Nzbget crashed, sort of. The daemon is still running and I can still access its http server, but download speeds dropped to 0.

My guess is still that this is related to my zpool. One of these drives is probably starting to fail, but a scrub of the pool showed nothing. I'll be replacing them soon to see if the issue goes away.
 
My guess is still that this is related to my zpool. One of these drives is probably starting to fail, but a scrub of the pool showed nothing. I'll be replacing it soon to see if the issue goes away.
Check the status of the drives using sysutils/smartmontools. It's not guaranteed SMART will be able to report certain errors but if you do get errors it will be clear the drive(s) are bad or about to go bad.

Also check the machine for dust bunnies and make sure things are still cooled properly. Heat can do weird things too. And because you recently added an NVidia card make sure your power supply is still adequate. Graphics cards use a lot of power and it could push the load past the PSU's specifications.
 
SMART is telling me nothing. Scrub shows no errors, but I'm not even sure what it does in the absence of parity data.

I have some questions about ZFS.

If I want to investigate the disks for failures is it possible to split up my zpool and mount each partition individually or is the data striped across all disks? I created the zpool with (I think)
zpool create /storage /dev/ada0p4 /dev/ada1p1 /dev/ada2p1

The manual says it is not possible to remove disks from a pool, so I am assuming I cannot do this and I must instead just replace the disk, but I don't know which disk is going bad.

I didn't do a RAID because the disks are different sizes. I thought if one disk went bad I would only lose the files on that disk. Is that incorrect?

What if I set up a single disk as a pool, and later add another disk? Is the data still striped then? Is it still not possible to view the files on the single disk?

Is it possible to add extra disks to this kind of vdev to increase storage space in the future with zpool add? This is my understanding of the manual. I just want to verify. I would do RAID but I can't really afford to buy a bunch of large HDDs all at once.

I probably should have done more research before setting up this pool.

it's weird because some movies seem to work fine but recently watching Chinatown it crashed in 4 different places, and not at the same exact spot either so it's not a corrupt file. But if it were read errors instead I would think something would have shown up in the scrub. Maybe it's not a bad disk, but I don't know what else it could be. Any advice in my situation?
 
If I want to investigate the disks for failures is it possible to split up my zpool and mount each partition individually or is the data striped across all disks?
Data is striped across all disks.
I didn't do a RAID because the disks are different sizes. I thought if one disk went bad I would only lose the files on that disk. Is that incorrect?
Yes, that's incorrect, you will lose the whole pool.

What if I set up a single disk as a pool, and later add another disk? Is the data still striped then?
Yes.
Is it still not possible to view the files on the single disk?
Yes, it's still not possible.
Is it possible to add extra disks to this kind of vdev to increase storage space in the future with zpool add?
Yes.
 
Damn I guess I will use Fuse instead in the future. There's no point in my using zfs if I'm not even taking advantage of the redundancy features and I'm actually increasing the risk of total loss. I just wanted to mount a group of separate partitions at a single mount point to combine all contents into one folder while maintaining partition separation. I guess that's not possible with ZFS.

Well this problem has just gone away for over a week now. I guess it's resolved. I still think it was just a struggling hard drive that was being pushed a little too far, as it's pretty much the only common factor between the two malfunctioning programs.
 
Last edited:
Same thing happened for me with Nvidia driver 384.59. Never got this before. I have to disable VDPAU hardware decoding when playing some video embedded in MPEG transport stream data (ts file extension). No problem when decoding MP4.
Process is eating all cpu when using VLC or Mplayer. I have to switch to VT with Ctrl-Alt-Fn but for vlc this doesn't work because keyboard is stuck.
Perhaps with ssh if it is enabled, I haven't tried because it is not enabled on my workstation.
I reverted to Xvideo to play this kind of video stream (one player with VDPAU disabled and the other with VDPAU enabled for MP4 stream).
I have now confirmed my problem was due to a faulty hdd. It was not surprisingly my smallest and oldest drive. I thought I remembered having issues with one of them in the past.

I am running that same driver with an nvidia 1030 and hardware acceleration with VDPAU is working flawlessly. The only issue I've had is the occasional brief hiccup in the audio which is bitsreaming to a receiver to be decoded there, but it's usually rare enough to not be an issue. I wonder if it's due to data corruption from the faulty drive.

Now I need to figure out how to use FuseFS or UnionFS in FreeBSD.
 
Back
Top