-
SymbioticFemale
rrsync is no longer part of the rsync backage all my daily backups are broke reeEEEEeeee
-
SymbioticFemale
ok i installed rsync-python but it conflicted with and deleted mariadb lol
-
SymbioticFemale
-
dch
I thought I could limit the # of cpu cores by setting `hw.ncpu="2"` in loader.conf
-
dch
or do I recall wrongly and that only works for memory?
-
iRobbery
that's a read only var
-
iRobbery
perhaps this can reach you to your goal,
man.freebsd.org/cgi/man.cgi?cpuset
-
ivy
dch: yes, that should work
-
ivy
dch: although maybe this is only on ARM
-
ivy
i don't see anything in sys/amd64 that fetches the tunable
-
dch
iRobbery: not in loader.conf its not
-
dch
ivy: do you look for something like egrep GETSYSCTL.+hw.ncpu ?
-
ivy
dch: TUNABLE.*ncpu
-
» dch finds GETSYSCTL("kern.smp.maxcpus", maxcpu);
-
dch
ivy: thanks, that a neat trick
-
dch
I worked backwards from that to find the smp(4) manpage
-
ivy
use git grep btw, it's often a lot faster than grep(1) :-)
-
dch
I use ripgrep, its 2x faster than git grep
-
Ozymandias42
what's the difference between cpuset and maxcpus ? I understand the first is non-permanent?
-
dch
so yes hw.ncpus appears to be an ARM only thing, and kern.smp.maxcpus isn't writable as far as I can tell
-
dch
would be nice to have this, so I logged a PR
-
iRobbery
dch: ah good catch, ill remember that from now
-
riad
ek: hi!
-
riad
just read ur mail, gonna ask the postmaster
-
riad
very funny that my "test" email got delivered (altough after a few hours)
-
riad
and i tried sending a mail to pi@ directly, but this one got delayed again for same reason -_-
-
CrtxReavr
riad, maybe test your E-mail config at learndmarc.com
-
riad
CrtxReavr: thanks, will try
-
riad
really cool site
-
CrtxReavr
Indeed.
-
CrtxReavr
My SPF & DKIM passed (Google Apps domain), but DMARC failed. . .
-
CrtxReavr
But I had to regenerate a different DKIM key, amongst other work, to get my DMARC working correctly.
-
CrtxReavr
It was actually a longer story than that.
-
CrtxReavr
Needed some help from #email.
-
vkarlsen
Vaultwarden is now broken on 13.x and one of its deps is broken on 15.x and 16.x. I hope capnproto will work again soon.
-
scoobybejesus
eek. hopefully I don't need to update during this period where it must be fixed
-
riad
CrtxReavr: that sounds like a bit of a pain in the ass...
-
riad
dmarc is passing for me though
-
CrtxReavr
Is SPF & DKIM passing?
-
riad
CrtxReavr:
-
riad
yes
-
riad
ek thinks ipv6 routing is failing somethere along the line
-
riad
might be possible
-
ek
riad: Do you not have access to the mail server?
-
riad
ek: i do not
-
riad
but email to admin is sent
-
ek
I just find it strange that it doesn't also attempt via v4 if v6 fails. Might be a shoddy SMTP setup or something.
-
o0x1eef
vkarlsen Oh wow. Thanks for letting me know.
-
titou
hey
-
titou
i have FreeBSD 15.0 with ZFS pool disk. One of my disk failed so i'm trying to replace it. I did that many times in the past without any problem but when I stop the computer, change the failed disk and boot it again I got "zio_read error: 5" and "ZFS: i/o error - all block copies unavailable", "ZFS: failed to read pool disk directory object" and it can't boot
-
titou
when I remove the new disk and put the old one in place, the computer accepts to boot...
-
titou
zpool status only complains about the faulty disk and not the others
-
rwp
My first thought is that the good disk was replaced instead of the faulty disk.
-
titou
it's a RAID 5 with 5 disks
-
titou
4 disks*
-
titou
I also checked that the serial number of the faulty disk is the same as the one returned by smartctl
-
rwp
And unfortunately the hardware does not have hot swap bays requiring you to power down? :-(
-
rwp
Reading your report carefully the main problem is that it can't boot. Makes me think maybe the boot loader code is on the disk being removed maybe? I might boot the installer iso and then use it to examine things in the new configuration using the "zpool import" command.
-
rtprio
titou: yeah, that'd be my guess, the failed drive is the first one, and it's the one with the loader
-
rtprio
swap drive 0 and 1 and i would expect it to boot
-
rwp
I was thinking that too.
-
rwp
Booting the install ISO allows getting a live boot shell. And in the live boot shell one can examine the array with "zpool import" to see what arrays are available and what devices are in them and the state of the collection.
-
rwp
Also another possibility is that the currently failed drive is not fully failed but is providing just enough data blocks to make things work because the remaining drive is also faulting. I had that situation. I could not /remove/ the failing drive because that put the remaining disks below the redundancy limit and the array was FAULTED.
-
rwp
You might need to add in the new replacement drive along with the existing drives and then use the zpool replace to silver it while the quorum of drives is still in place.
-
rwp
Please post the output of zpool status?
-
titou
hum
-
titou
I installed the bootloader on the four disks
-
titou
by using: gpart bootcode -b /boot/pmbr -p /boot/gptzfsboot -i 2 adaX with X from 0 to 3
-
titou
I also put the EFI file system on the four disks
-
titou
since I restarted zpool status returns nothing.. i had checksum errors on the faulty disks. Smartctl returns no error.. and no error into dmesg too
-
titou
I bought my four disks on the same time and they are dying one after the other.. silly barracuda :(
-
titou
got a faulty zpool satus from daily mails:
pastebin.com/HPxxjstU
-
rwp
I assume the faulty disk is ada3 with the cksum error count? The problem with the adaX device names is that they might change between reboots. So be sure to triple check the serial number of the drive. I use "smartctl -i /dev/ada3" for it and "smartctl -a /dev/ada3" to look at all of the data from it.
-
titou
indeed I will double check
-
titou
i restarted a zpool scrub and check again
-
titou
thank you for your help
-
skered
Is there a web based provides like the pkg plugin?
-
skered
ex: What remote package provide a given file/glob
-
rtprio
there is freshports.org, unless you were thinking of something else
-
skered
ah that's right. Thanks.
-
rwp
titou, I know you are already scrubbing now but since it was only showing a smallish number of cksum errors the disk might not be actually fully bad yet. And sometimes errors can be caused by cable problems and power connector problems. By doing what you have already done of removing and replacing the drive that might rub the connectors and things might work better now.
-
rwp
I know you are already scrubbing but running a "zpool clear" to reset the counts and clear errors followed by a "zpool scrub" so that you know any new error counts are new since then would be appropriate.
-
rwp
Also I would run smart selftests and see the result. "smartctl -l error /dev/ada3" and "smartctl -l selftest /dev/ada3". At least a "short" test but depending upon the drive a long test may be useful. My latest drives I can't run the long test because it takes longer than a day to complete and the drive is consumed during that time. So I don't. But the short test is good.
-
rwp
SMART has never predicted a drive failure for me but if a drive is actually failing then it has always been accompanied by smart failures logged. But if an error has been a power connector and sometimes SATA cabling then sometimes the drive will log DMA failures that are really data transfer errors and I can ignore them when used with ZFS with redundancy.
-
o0x1eef
rwp++
-
titou
rwp: thank you for these information
-
titou
I'm agree with you that previous failed disks had smart errors.. and that's strange that i don't have smart errors in this case
-
titou
i did zpool clear two or three times and errors were corrected during each scrub
-
titou
but maybe the SATA connector is failing.. i'll check with another one
-
rwp
Also double check the power connector. I had a bad 4-pin MOLEX power connector previously that caused me trouble. If the drive's own smart data is error free then I suspect cables.
-
rwp
Additionally if the drive is actually producing errors then the kernel should be logging something in /var/log/messages system log file.
-
titou
rwp: nothing into the logs..
-
titou
i will double check. Thanks a lot