-
jb1277976_
Thanks all
-
cent
my cmake at fbsd 13 has not found the yaml-cpp, but I am sure it has been installed. Can you help wha am I missing?
-
cent
yaml-cpp not found (re-run dependencies script to install)
-
V_PauAmma_V
FreeBSD 13.1, ZFS on root, and I sized the swap partition too short when installing. (Meant to have swap = RAM, but left it at 2GB and didn't notice until now.) No free space on disk for other swap partitions. Shrinking a zpool doesn't look possible. Am I correct that my only option is zfs send + zfs receive to a removable disk, recreate the swap and data partitions, and restore?
-
Reinhilde
Do you feel comfortable with swap on ZFS?
-
debdrup
I'm not sure swap on ZFS is a good solution for anyone, unless they're very comfortable with not just the VM subsystem but also having to spend (up-to) several weeks tweaking the VM watermarks for various reallife system loads (which can't be realistically generated through benchmarking)
-
Reinhilde
yeah.
-
debdrup
And given that the results of the catch-22 is a system that'll be completely locked up (unlike a lot of other OOM situations, which FreeBSD can recover), it's not exactly a fun time.
-
Reinhilde
seen that a lot on illumos.
-
Reinhilde
also, uh.
-
Reinhilde
should I rewrite my mail system in lua?
-
debdrup
Seems like that's a decision you should make.
-
debdrup
V_PauAmma_V: as for shrinking ZFS, yes the only option is zfs send | receive.
-
tsoome_
you can remove vdev if it is not raidz
-
debdrup
V_PauAmma_V can correct me if I'm wrong, but I'm fairly sure this is a laptop with a single disk.
-
ghoti
Reinhilde: Exactly how are you thinking of putting swap on ZFS? Point to a ZFS-backed file in the mntopts column?
-
Reinhilde
no ghoti. using a zvol. That's how it's done on illumos (where I've had my problems with swap-related lockups).
-
ghoti
There are a few options for it, some worse than others. :)
-
debdrup
Unless you're absolutely sure your filesystem, disk drivers, and anything else in the swap datapath has 0 bugs, it's always best to use character devices for swap, rather than files.
-
debdrup
By using zvols, you at least avoid the ZFS POSIX Layer
-
tsoome_
Reinhilde what kind of lockups?
-
ghoti
Ya.. If the ideal is to use no ZFS at all, at least zvols are closer to that than a file.
-
Reinhilde
tsoome_, I don't fully remember. I've not had one in a while.
-
tsoome_
just curious - since solaris 10 got zfs root, every single setup I have done has swap zvol (including illumos), and never seen problem about it:D
-
tsoome_
(does not mean that there is no chance for some bug)
-
ghoti
debdrup: I'd love your thoughts on this.. I have an exfat portable usb ssd. I want permissions and such. Planning to use it for nearline backups of ZFS datasets. Should I reformat it as ZFS? Or go with UFS2? (Perhaps it does not matter, as both are "not exfat" which is my priority.)
-
debdrup
And I'd love it if people don't expect me in particular to answer their questions, but we can't have everything now can we.
-
debdrup
tsoome_: it's not so much a bug as it's a question of what happens when the system is low on memory, tries to swap, which will change ARC pressure which in turn means it has to free some memory, which means it tries to swap and ends in a catch-22.
-
debdrup
So it depends heavily on VM watermarks, which on FreeBSD are usually set to use basically as much memory is available.
-
debdrup
This is partially due to the unified memory buffer in FreeBSD, but also because free memory is wasted memory.
-
tsoome_
well, ye, thats why I like the paging approach in sunos - with paging you get early warning long before the system starts to swap.
-
jb12779761
So Stable gives me a tzx checksum error release kernel panics and the other one kernel panics. Will my card eve really be supported AX201
-
» V_PauAmma_V nods thanks at debdrup. (And to confirm: yes, laptop with single disk.)
-
ghoti
debdrup: sorry about asking you directly; you were already in a zfs discussuion in the channel, so I thought the timing as apropos as an add-on to that.
-
» axis9 visualize self in zfs support chann el
-
pstef
which one? I know two :)
-
jb12779761
koobs: Current/Stable/release all failed stable was a checksum error and the other two kernel panicked cause of my WiFi driver. It's fine I will install freebsd when they get everything ironed out
-
cpet
jb12779761, stable is just another dev branch
-
cpet
-
VimDiesel
Title: WiFi/Iwlwifi/Chipsets - FreeBSD Wiki
-
jb12779761
cpet: Got it