-
rwp
adiabatic, I don't know but I might think that fragmentation is also a measure of how discontinuous the free block space is on the disk. Freeing up files creates free blocks in those dispersed areas. Maybe. Don't quote me on it.
-
adiabatic
better than _my_ best guess, at least.
-
adiabatic
I wonder how big the new files are…
-
rwp
I save off articles and then never have time to read them in detail. But look at this one:
utcc.utoronto.ca/~cks/space/blog/solaris/ZFSZpoolFragmentationDetails
-
rwp
It's 10 years old now from 2015 so I am sure many details will be different but it is a place to start.
-
adiabatic
The new ones are all 67 MB apiece.
-
adiabatic
this looks like it's gonna be the ticket but I'm gonna have to get a good night's sleep before it makes sense
-
adiabatic
thanks!
-
rwp
I think in general the wisdom of the net has been that the frag reported in zpool list does not mean what we coming from other file systems thinks it means. And that we can pretty much not worry about it. As long as there is enough free space for the file system to work. Keep 5%-10% free.
-
adiabatic
I don't even _remember_ fragmentation percentages in Norton Utilities or Diskeeper or whatever it was for NTFS.
-
adiabatic
But it's kind of been a while.
-
s2r
rwp I will also relisten or read the transcript from the latest 2.4ad podcast there was question from the listeners.
-
s2r
rwp my install would hold the contents of /var/opt/mssql (sql server) for a linux vm.
-
rwp
s2r, The command I listed was the one I found as the recommended combination of features for MariaDB/MySQL databases.
-
kerneldove_
what causes state-insert (failures) in the output of pfctl -si?
-
kerneldove_
(state-insert state insertion failure)
-
LXGHTNXNG
zfs question. i have jailed a dataset; within said jail I am getting "cannot set property for 'fleuve/jails/invictus/ARCH/amd64/usr.local': 'mountpoint' cannot be set while dataset 'zoned' property is set" trying to set the mountpoint for a dataset which was legacy mounted (mount -t zfs works though)
-
LXGHTNXNG
do i have to fettle something to make the script that processes fstab work jailed
-
LXGHTNXNG
also got IPv6 being fun™
-
crb
ok this is weird for me. I have a laptop(mac) connected to a box that's doing nat and wireguard to my home network. my laptop seems to nfs mount from my home server and shows top level folders but when I try to go into one the mount seems to hang
-
mzar
crb: are you using NFSv4 ?
-
mzar
if the client is behind NAT but the server no, then only NFSv4 protocol is able to help
-
rwp
Also NFSv3 is latency limited, works great on a LAN, but is terrible over the Internet WAN. Recommend to avoid. (I don't know about NFSv4 over the Internet WAN.)
-
rwp
Over the Internet WAN sshfs might be a better choice. But I know you said Mac and I have no idea anything about macs of if they support sshfs or not.
-
adiabatic
I'm on a Mac and I _used_ to use sshfs with FUSE…
-
rwp
Also NFS operates in the kernel layer. Which means that when servers drop off, because the Internet is not reliable, or you moved your laptop, or whatever, then it can wedge up systems. Since sshfs is in the fuse layer that never wedges up the kernel.
-
rwp
NFS is really a LAN protocol. I have worked with NFS on LANs forever. Not hating on NFS here. NFS is actually a good thing.
-
rwp
LXGHTNXNG, How are you mounting with fstab? I forget which but if trying to use fstab /inside/ the jail then yes there are more permissions needed for it. But instead add the mount line in the /etc/jail.conf file and it should work. That's a typical way, of the several, of mounting into jails as the jail starts and unmounting automatically when the jail is stopped.
-
mzar
LXGHTNXNG: when dataset is jailed, you can change properties of this dataset from within the jail
-
ek
If I don't need the dataset mounted in the jail directly, I just use nullfs and be done with it.
-
mzar
ek: sometimes jailing a dataset is the only viable solution, for example if you want to run poudriere in the jail
-
ek
mzar: Exactly. If I don't need anything like that, I just use nullfs from outside to grant r/w or whatever to the jail.
-
mzar
yep, good point, that's less complex, we should keep things simple and stupid, that's our duty
-
ek
mzar: I agree!
-
LXGHTNXNG
mzar: that's the thing, though, the dataset is jailed and i can't change its properties from within the jail
-
LXGHTNXNG
but i can run mount -t zfs within the jail
-
mzar
LXGHTNXNG: on the host, you need need special devfs.rules to use zfs in jails, add "add path zfs unhide" to the config on the host, at least in the ruleset dedicated to this jail
-
LXGHTNXNG
i did that
-
LXGHTNXNG
i think. anyway i'm eepy
-
LXGHTNXNG
ports fetch for things with a GNU master site seems to hitch sometimes (and by hitch I mean apparently waiting infinitely)
-
LXGHTNXNG
though i also have a generally cursed setup
-
LXGHTNXNG
occasionally chmod throws a bad file descriptor, and then retrying works
-
mzar
ha... broken FS
-
tarel2
as someone new to FreeBSD, What is the biggest thing coming from Linux would say is different ?
-
dacav
ls
-
dacav
Pauli1: hi.
-
tarel2
haha what the command "LS"?
-
dacav
A friend tells me that he's got some broken tarball from my site, and we confirm that disabling ktls "fixes" the problem
-
dacav
tarel2: oops :)
-
dacav
As usual I can't reproduce the problem, but he does as you do. Now how shall we proceed?
-
tarel2
That sucks man
-
tarel2
What are the tarballs of ?
-
dacav
tarel2: the content of the tarball is not very relevant, as I've been reported (by Pauli1) that the same happens on a picture downloaded from the same server
-
tarel2
sounds lame
-
dacav
I'd say it sounds like a bug, which ...happens :)
-
mzar
tarel2: FreeBSD has manuals that are worth reading
-
mzar
that's the biggest difference for me
-
» dacav jumps in the discussion
-
dacav
oh yeah, the docs are super great
-
tarel2
That I remember
-
tarel2
When I started Linux 18 years ago I could have used guide book for sure
-
mzar
tarel2: are you evaluating FreeBSD out of curiosity or maybe some specific reason ?
-
tarel2
I had not tried something different in sometime so just curiosity
-
vkarlsen
tarel2: It has its own non-gnu userland, native zfs support, static rescue tools in /rescue in case you'll need them
-
vkarlsen
tarel2: Doesn't pick a desktop environment for you, but lets you choose one or none or many
-
vkarlsen
tarel2: Fewer handrails, but the documentation is great
-
Oks4
tarel2: I fell in love with the fact that things are quite simple and everything feels like it makes sense. Eg on fresh system you have like 10 processes running instead of 100 daemons. 99% of ports install them selves to /usr/local/ instead of all over the place like in most linux distros. And many other small things.
-
Oks4
But the biggest hurdle you will likely run into is that the userland tools are different. Not everything will work the same as you have used to in GNU but fortunately the manpages are good.
-
mzar
tarel2: please don't get burnt by enthusiasts; FreeBSD is a decent OS for some purposes
-
Afterglow
tarel2: FreeBSD is a complete OS, instead of just a kernel like Linux is. That makes FreeBSD rock solid, at least as a server platform.
-
lrrnt
I used to daily drive FreeBSD. I don't know why but compared to Linux it feels more 'comfy' and responsive. I even got Netflix working and could do some gaming too
-
polarian
anyway to get bsd make to output the commands its executing
-
Remilia
polarian: isn't that the default
-
polarian
Remilia: no it outputs the output of the comands, not what its executing
-
ivy
no, by default it outputs both, ports just uses @ a lot to hide the commands
-
polarian
ivy: ah right, well I am trying to get make to output the meson command its executing from the meson use
-
ivy
make -dx might do what you want
-
Remilia
-
ivy
oh, -dl is probably better
-
polarian
Remilia: yeah but as ivy said @ hides it
-
polarian
ivy: will test, thx
-
polarian
-dl doesnt seem to do anything
-
Remilia
wonder where @ was used first to suppress command output, Makefile or batch files
-
polarian
oh wait one sec
-
polarian
there we go
-
polarian
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
-
polarian
hmm could be this
-
Macer
Alas. I could not find a reason why internal jail fstab will not mount rclone smb.
-
mzar
what is rclone smb ?
-
kerneldove_
what causes state-insert (failures) in the output of pfctl -si? (state-insert state insertion failure)
-
polarian
is anyone here running a display server within bhyve?
-
wikan
Hi. Is anyone use ViFM?
-
wikan
I am trying to find out why I can't map <c-Left>, maybe it is FreeBSD issue (or actually Vifm's bug under FreeBSD)?
-
mzar
wikan: what ViFM is ?
-
wikan
a vim-like file manager
-
mzar
interesting
-
wikan
c-left and c-right act weird
-
mzar
you can most likely install it, issue command "pkg install misc/vifm"
-
wikan
i use it but I can't map c-Left and c-Right and I have no idea why
-
mzar
I am not using it, can't help
-
wikan
I know there is some buggy apps under freebsd, so i thought maybe it is a issue too ;)
-
wikan
because I can't find anything about this problem
-
mzar
!?
-
wikan
I forgot yet. But there was some apps with some issues related to BSD-secific terminal or something like it.
-
mzar
echo $TERM => xterm-256color
-
wikan
I am not sure but I think vim has an option for BSD
-
mzar
vim is excellent, but now helix editor is trending
-
wikan
i am too lazy to jongle :D
-
mzar
OK
-
wikan
I tried neovim. Same bugs, same issues, so I kept using vim which I know
-
mzar
I have installed editors/micro for guys who are not familiar with vi/vim as a nano replacemnt
-
mzar
micro is cool for beginners
-
wikan
yeap
-
wavefunction
Helix is... <ugh> If (neo)vim could get a reasonable batteries-included install, helix wouldn't be trending
-
wavefunction
Lazy vim is nice for the batteries-included options.
-
wavefunction
wikan: Can I ask what you're trying to map to C-Left & C-Right?
-
wikan
actually I try to unmap or remap because C-Right always makes 5 copies of the file under cursor, and C-Left prepares to do pernamet deletion 5 times
-
wikan
and it is not about vim but vifm
-
wikan
and because I use c-left and c-right under vim to jump between buffers, I press C-Left/Right automaticaly under vifm
-
wikan
...to jummp between panes.
-
wavefunction
makes sense.
-
wavefunction
-
wavefunction
Not sure if that's actually helpful
-
wikan
well, it is not exactly my issue, because it is related to vifm's command line case, but...
-
wikan
...first link provides solution by xaizek. He said vifm cant recognize c-left/right because of ncurses so the solution is to map [1;5C and [1;5D
-
wikan
and now I found out what 5D means, beause 5D always was showing on statusbar after I tried to c-left. I thought it is 5 times D but it is not :D
-
wikan
so I noremap'ed p1;5C and 5D and it works fine
-
wikan
thanks wavefunction
-
wavefunction
wikan: <party face> Nice! Glad it worked out.
-
wavefunction
Now you can join the neovim club ;-)
-
cndghm
Hello everyone, I know that the LSF has some kinds of certifications for sys admins, does the FreeBSD Foundation has something similar?
-
Macer
mzar: rclone is a fuse based remote fs app
-
Macer
that runs in userspace
-
Macer
afaik. it is the only sane way to use smb with fbsd
-
Macer
i think mount_smbfs was deprecated a long time ago and there isn't a fbsd equivalent of mount.cifs