-
rtprio
V_PauAmma_V: try it and see. i don't see why not
-
rtprio
elliot@phil:~$ sysrc -f /tmp/blah foo.bar="baz"
-
rtprio
sysrc: foo.bar: name contains characters not allowed in shell
-
RhodiumToad
bah
-
RhodiumToad
now that I recall, I already ran into that one, and obviously forgot about it
-
LxGHTNxNG
forgeg about ig
-
hernan
bah im trying to select an iso image and it wont let me with cbsd bconstruct-tui
-
hernan
any idea why
-
hernan
i can run the command and the interface opens, but when i hit enter in the "vm_iso_path" it attempts something and goes back without letting me change the iso image
-
meena
-
VimDiesel
Title: 270530 – sysutils/iocage: missing jail parameters
-
debdrup
-
VimDiesel
Title: FreeBSD / src / e315351 / Add the mfi(4) ioctl support to mrsas(4) - FreshBSD
-
yuripv
Freaky: looking at freshbsd.org, "committer" selection says "100+" while actually listing 1000+ (i understand that as commits count?)
-
_xor
Hmm, apparently there are restrictions as to the name of a netif when attaching to a bhyve vm?
-
_xor
bhyve kept giving me, "device emulation initialization error: No such file or directory" when trying to use tap interface "vm_debian-11"
-
_xor
Worked when I changed it to tap0 though. Wonder if it's the hyphen or something.
-
meena
_xor: can you please submit that as bug
-
meena
zlei is currently working on making renaming interfaces more consistent and less… fraught
-
_xor
Is there an on-going issue related to this or is it going to be a new one on bugzilla?
-
yuripv
try truss'ing it first and see what exactly happens
-
meena
_xor: there's a bunch
-
meena
might be good to collect them in a meta issue actually
-
_xor
Busy at the moment, but can do it later today or tomorrow. I have two issues I can raise, this one with tap as well as one regarding netgraph node name limitation (which was undocumented last I checked, so it should either be documented or the limit increased). I noticed that bhyve can use netgraph nodes, and since I already use netgraph, I might
-
_xor
use that instead of tap interfaces.
-
Freaky
yuripv: "100+" just means the facet is showing only the top 100 with everyone else grouped as "Other"
-
Freaky
and yes, it's commits matching that facet
-
Freaky
if you click on the heading the facet will expand, so your "100+" becomes "980" for all FreeBSD committers
-
debdrup
that's a lot of committers
-
meena
I reckon we may have a few more authors than committees
-
meena
committers, even
-
meena
I wish SVN and CVS had had that concept
-
debdrup
contributors? yeah, there's a lot of them
-
debdrup
-
VimDiesel
Title: Contributors to FreeBSD | FreeBSD Documentation Portal
-
bsdbandit
good morning everyone
-
bsdbandit
freebsd is so awesome
-
bsdbandit
finally have bhyve working the way i want it
-
bsdbandit
:)
-
mns
I've got FreeBSD 13.1p7 running on an HP mini-pc type system. FBSD works fine, but even with no activity, the fan is constantly running. Is there a way to control that in FBSD ?
-
mns
neither htop nor btop show any CPU related activities nor any I/O activities
-
debdrup
librehardwaremonitor could presumably be integrated into a kernel module, which could live in ports, that could present the devices for a userspace daemon like bsdfan by claudiozz - but i don't know of anyone who's working on that
-
drobban
trying to grasp something here. testing write speeds to disk. so doing a simple cat /dev/random to file.. how is it possible for the file to grow in size after i kill the process? I assume that it is data getting written to disk from cache on zfs?
-
debdrup
are you trying to benchmark zfs or the disk?
-
debdrup
your comment implies both, but that's not how benchmarking works;`diskinfo -cit <device>` will benchmark individual harddisks, but you'll need something like benchmarks/fio in order to generate synthetic filesystem loads
-
debdrup
synthetic filesystem workloads also aren't very useful for realworld performance, so it's doubtful you'll get much out of it
-
martinrame
Hi, I'm trying to use mpd5 (as a client to a pptp server) from a Jail and I'm getthing "MppcTestCap: can't create socket node: Operation not permitted". You can see my config here:
forums.freebsd.org/threads/can-i-use-mpd5-in-jail.13925
-
VimDiesel
Title: Can i use mpd5 in jail? | The FreeBSD Forums
-
debdrup
martinrame: you're probably missing some devfs.rules(5) combined with a ruleset in rc.conf(5)?
-
debdrup
My best suggestion is to use truss (or dtruss from sysutils/dtrace-toolkit) to find out where it's failing and work your way from there.
-
martinrame
debdrup: thanks. I'll try to see what happens.
-
martinrame
debdrup: I the issue posted here:
forums.freebsd.org/threads/can-i-use-mpd5-in-jail.13925 I attached the output of truss, there are some "Operation not permitted", but I cannot see how to fix those.
-
VimDiesel
Title: Can i use mpd5 in jail? | The FreeBSD Forums
-
debdrup
Looks to me like you haven't loaded all the relevant modules.
-
debdrup
mpd5 normally does this, but since you're in a jail, it can't.
-
martinrame
debdrup: I thought it should be possible in a VNET jail
-
debdrup
There's no kernel in a jail.
-
martinrame
Mm, I don't want to connet to that vpn from the host, any alternative?
-
martinrame
s/connet/connect/
-
debdrup
martinrame: find out what kernel modules are needed, load them, and present them to the jail via devfs.rules(5) like I described before.
-
martinrame
debdrup: thanks!
-
martinrame
among others, when I run truss mpd5 I get: kldload("ng_socket.ko") Operation Not Permitted
-
martinrame
How can I add that module to my devfs.rules?
-
meena
I'm not sure jails can load modules, you might have to preload it before the jail starts
-
debdrup
Deja vu.
-
meena
I didn't scroll enough
-
meena
I think you need to speak in smol sentences
-
debdrup
ˢᵐᵃˡˡᶜᵃᵖˢ ⁱᵗ ⁱˢ
-
meena
martinrame: first:
man.freebsd.org/rc.conf(5) kld_list
-
VimDiesel
Title: rc.conf(5)
-
drobban
debdrup: yea, what I really am trying to do, is to test the writespeed to my zraid1 setup.
-
drobban
so, yea, im trying to bench zfs with my current disk setup.
-
debdrup
drobban: what are you trying to accomplish with those benchmarks?
-
drobban
except from figuring out writespeeds?
-
debdrup
What do you hope to learn from knowing write speeds of a synthetic workload?
-
drobban
im trying to learn what the writespeed is.
-
drobban
dude
-
debdrup
Yes, and I'm asking what you think that'll help you with.
-
meena
they'll probably be roughly the same as when you calculate it
-
drobban
meena: well as for now, the calculated writespeed and the actual write speed differs.
-
meena
by how much?
-
drobban
80%
-
drobban
=)
-
debdrup
80% difference or 80% of the calculated speed?
-
drobban
so Im probably calculating it wrong or missunderstood how zfs is working with the drives
-
debdrup
Also, what sort of technology is backing ZFS?
-
drobban
zraid1, freebsd, disks with 500MB/s write speed
-
drobban
64gb ram, ryzen 9.
-
debdrup
Is that according to the specification sheet, or from something you measured on the disks?
-
drobban
from spec.
-
debdrup
Right.
-
debdrup
SATAIII is 6Gbps which works out to ~550MBps, but that doesn't account for 8/10bit encoding, so the real bandwidth isn't as high as all that.
-
debdrup
I would recommend using `diskinfo -cit <device>` on the actual raw devices before you create the pool, to get real-world speeds rather than specifications - since they're basically never true.
-
drobban
yea, is there a "correct" way to meassure the pool?
-
debdrup
benchmarks/fio like I also mentioned before.
-
drobban
debdrup: thanks, will take a look
-
debdrup
The better way is to do custom tooling that matches your realworld workload.
-
drobban
debdrup: for now im just interested to see where the bottleneck is.
-
drobban
with a pool with three disks in zraid1, I would assume the load is split onto 2disks and 1 disk for "parity".
-
drobban
but that isnt what Im seeing. But will test fio
-
debdrup
That's not how raidz works, no.
-
debdrup
The stripes are written to all disks in a raidz vdev, and parity is distributed.
-
drobban
yea. but how does the calculation differ do you mean?
-
debdrup
Err.
-
debdrup
The stripes are written to each disk in sequence in a raidz vdev, and parity is distributed across all of them.
-
debdrup
-
drobban
in sequence?
-
VimDiesel
Title: FreeBSD ZFS:
-
drobban
debdrup: yea, I know how "xor" works
-
debdrup
I'm not sure what calculations you're talking about.
-
drobban
yea, the maximal bandwidth for one disk is one thing. But writing the total load onto multiple disk in parallel gives an entirely different number, and sure. one third of the data is the sum of the xor operation that can be used to restore "lost" data
-
debdrup
I think you need to forget what's on the specs, and instead measure what you get out of it.
-
drobban
debdrup: yea, that is what Im trying to figure out how to x)
-
debdrup
By measure what you get I mean use diskinfo and fio.
-
meena
drobban: do you have any data on that pool that's of value?
-
drobban
meena: yes =)
-
last1
does zfs send | receive have the potential to show maximum transfer capabilities of the pool ?
-
debdrup
I'm not sure what you're asking.
-
rwp
last1, Yes. send | receive should be the fastest way to transfer data. If the transfer is over the network then of course network bandwidth limits apply.
-
last1
I'm over a 10Gbps network and I'm transferring from a 6Gbps enclosure ( 72 x hdd ) to another enclosure
-
last1
hitting about 2.6Gbps using multiple rsyncs
-
last1
although the limiting factor there is the 6gbps backplane
-
last1
and possibly the rsync method. I'll see if zfs send/receive is faster
-
rwp
The main difference is that rsync needs to deal with individual files. It will be open, read, close, open, write, close, file by file.
-
rwp
Whereas zfs deals with it at the storage block level and with the aggregate of the raw data.
-
RhodiumToad
also rsync does a lot of other stuff depending on options.
-
rwp
That does not mean that zfs send|recv will always be faster than rsync. I can see some conditions where multiple parallel rsync can be faster.
-
rwp
My point is that they are operating at much different layers of the system and will have different benefits.
-
parv
With ~40 TB of data on SATA 3 disks in RAIDZ3 (forgot the number of disks or vdevs) over 1 Gb/s network took ~16 days with zfs-send | zfs-recv; rsync took ~17.5 days
-
parv
So overall that was a wash
-
RhodiumToad
hmm
-
RhodiumToad
40TB (assuming binary units) is about 35*10^14 bits
-
parv
The transfer data -- size / hour -- followed a quadratic regression after 3 days
-
parv
Sorry cubic
-
RhodiumToad
oops, 35*10^13 bits
-
RhodiumToad
assuming 700Mbps to make the calculation easy, that's about 5*10^5 seconds
-
RhodiumToad
which is just under 6 days, so the network wasn't the limiting factor
-
rwp
"Never underestimate the bandwidth of a station wagon full of tapes hurtling down the highway." --Andrew S. Tannenbaum
-
parv
RhodiumToad, you made me to check my fuzzy memory; will update if I would find the numbers ...
-
rwp
Oh I guess that is a paraphrase of a previous saying that was already in common use at the time. I will amend my attribution of it in the future.
-
RhodiumToad
now imagine a cargo plane full of microSD cards :-)
-
last1
I started this transfer about 3 days ago, but it's not always full speed @ 2.6gbps due to power constraints
-
last1
the 72xhdd draw a lot of current during business hours so I keep it lower 9-5
-
last1
but so far I did 22Tb
-
last1
another 100Tb to go
-
rwp
I'll stop being OT after this one:
what-if.xkcd.com/31
-
VimDiesel
Title: FedEx Bandwidth
-
parv
Found ~2 year old mail: 47.9 TB took 17.88 days (to 2x vdev of RAIDZ3, 7 disk/vdev of Seagate Exos 14 TB disks): "47.9TB stream in 1545339 seconds (32.5MB/sec)"
-
last1
that's slow
-
last1
I'm transferring about 250 million small files, but it's going onto a 45xhdd 12gbps enclosure
-
last1
I wasn't sure how zfs send / receive would have behaved especially since I need to throttle the speed during certain hours
-
debdrup
mbuffer can speed up zfs send | receive a lot.
-
last1
yeah, isn't ssh limited @ like 125-150MB/sec due to encryption
-
last1
I was going to use netcat
-
debdrup
mbuffer can do networking too, but the primary advantage is that you can specify a sizable memory buffer that acts an intermediary for the data between the compute and transfer steps of zfs send
-
debdrup
those are done synchronously, so without a sizable memory buffer, it takes time to move things
-
last1
debdrup: thanks, I'll look into that
-
pr-asadi
Greetings. I have a PC and a laptop. Both are running the same linux distribution. I have downloaded the FreeBSD-13.2-RELEASE-amd64 and two CHECKSUM files. On my laptop it says the two files(CHECKSUM and the img file itself) are "OK". But on the PC, it says "OK" only for img.xz file, and for the img file: "FAILED".
-
pr-asadi
I mean, on PC-> 1) FreeBSD-13.2-RELEASE-amd64-memstick.img: "FAILED" 2) FreeBSD-13.2-RELEASE-amd64-memstick.img.xz: "OK".
-
pr-asadi
on laptop-> 1) FreeBSD-13.2-RELEASE-amd64-memstick.img: "OK" 2) FreeBSD-13.2-RELEASE-amd64-memstick.img: "OK".
-
pr-asadi
I do not know why, any help/advice would be appreciated.
-
RhodiumToad
what is saying OK or FAILED?
-
pr-asadi
sha256sum command.
-
pr-asadi
I'm doing checksum.
-
pr-asadi
sha256sum and sha512sum.
-
RhodiumToad
what exact outputs do you get?
-
RhodiumToad
just show the sha512
-
pr-asadi
Output of sha512sum? OK.
-
pr-asadi
RhodiumToad:
bsd.to/ok6i This is the output from my PC.
-
VimDiesel
Title: dpaste/ok6i (Plain Text)
-
pr-asadi
On my laptop everything is OK.
-
pr-asadi
But I do not know what's wrong with my PC.
-
RhodiumToad
any chance you truncated the file due to lack of disk space or whatever?
-
RhodiumToad
what's the actual length and actual sha512 of the .img file on both?
-
pr-asadi
any chance you... -> I do have enough space. I just downloaded and did the checksum on my PC.
-
pr-asadi
On both systems?
-
RhodiumToad
yes
-
pr-asadi
File sizes are the same, but the sha512 signatures are different.
-
RhodiumToad
if you uncompress the .xz again, is it correct or not?
-
pr-asadi
What do you mean? I have already uncompressed the xz files on both systems.
-
RhodiumToad
you still have the xz file on both, though, going from your output?
-
RhodiumToad
the question is whether you get the same problem if you uncompress it a second time; e.g. is it a deterministic error, or is it some random memory or disk corruption?
-
pr-asadi
Yes I still have the xz file on both systems.
-
pr-asadi
the question is... -> Uncompressing again on my PC?
-
RhodiumToad
yes, move the .img file aside to .bad or whatever, and uncompress it again with xz -d -k ...
-
pr-asadi
It said OK
-
pr-asadi
:|
-
pr-asadi
Why?
-
RhodiumToad
transient error, then
-
RhodiumToad
how confident are you in the condition of your hardware?
-
RhodiumToad
maybe compare the good and bad images to see how different they are?
-
pr-asadi
I'm not even good in software :-(
-
pr-asadi
How to compare?
-
pr-asadi
With diff(1)?
-
RhodiumToad
not diff, that assumes text
-
pr-asadi
RhodiumToad: One important thing
-
pr-asadi
The bad image shows different signature every time I do checksum it.
-
pr-asadi
Why is it like this/
-
RhodiumToad
uh
-
RhodiumToad
disk or memory problem
-
RhodiumToad
or some linux bug, I don't use linux myself so I wouldn't know
-
pr-asadi
But computer is working fine. How can I make sure to know if something has happened to my disk or memory?
-
RhodiumToad
run memtest86 on it?
-
pr-asadi
Do we have it on the FreeBSD?
-
pr-asadi
Let me check the ports.
-
RhodiumToad
it's independent of OS, it's a bootable image
-
pr-asadi
Thank you RhodiumToad.
-
pr-asadi
I hope this time FreeBSD will be installed on my PC again.
-
RhodiumToad
there is a port for it, but it just downloads the image
-
VVD
> The bad image shows different signature every time I do checksum it.
-
VVD
look like hardware issue
-
pr-asadi
VVD: But everything is OK. Only this SHA512/SHA256 signature was like this.
-
RhodiumToad
if nothing is writing to the file, and the checksum changes, then it's either a hardware problem or a very strange OS bug
-
RhodiumToad
and checking the hardware is probably the better first step
-
pr-asadi
I should use disk health tools?
-
pr-asadi
or memory health tools?
-
RhodiumToad
how big is the image and how much RAM do you have?
-
RhodiumToad
this kind of error from the actual disk isn't common, though if it's a dodgy SSD that might make it more likely
-
pr-asadi
I have 4GB RAM. And the bad image size is: 1.1GB(1048712), the good one: 1.1GB(1048712)
-
pr-asadi
No, I do not have SSD, it is HDD.
-
RhodiumToad
I'd check the RAM first.
-
pr-asadi
RhodiumToad: I have no knowledge of memtest86 program. Let me test it.
-
pr-asadi
RhodiumToad: OH, it is not a program. I have to boot it?
-
RhodiumToad
yup, it needs to get at the hardware without an OS in the way
-
RhodiumToad
you run it from a bootable usb drive (or cdrom or ...)
-
pr-asadi
By the way, my PC is old, it uses Legacy(MBR).
-
RhodiumToad
that should be fine
-
pr-asadi
RhodiumToad: So what's the package memtest86+ in Void Linux?
-
morpho
I believe it checks for corrupted memory
-
RhodiumToad
memtest86 and memtest86+ do the same basic things in the same way, I don't recall what the differences are
-
LxGHTNxNG
it's probably best to use memtest86plus, not memtest86
-
LxGHTNxNG
but either'll do.
-
pr-asadi
Do I need a USB? I installed the memtest86+ package, and I have it under /boot directory.
-
RhodiumToad
they're unrelated projects, one of them (memtest86) is commercial with a free version
-
LxGHTNxNG
pr-asadi: Should be able to fire it up from Grub.
-
pr-asadi
Great. Thank you.
-
RhodiumToad
it looks like the freebsd port of memtest86+ can be run from loader
-
RhodiumToad
so if you got it from linux, run it from grub; if you got it from freebsd, run it from loader
-
RhodiumToad
(but I don't use linux myself, so I can't help you with the details of that)
-
pr-asadi
I have booted into memtest86+
-
pr-asadi
It is showing a box with red color in the bottom of the screen.
-
RhodiumToad
saying what?
-
pr-asadi
It is showing many things.
-
LxGHTNxNG
can you take a photograph
-
pr-asadi
Yes. Let me.