-
cybercrypto
VVD: resilvering completed OK - mirror-vdev online no errors
-
cybercrypto
thanks VVD and mzar
-
VVD
👍🏻
-
nomia
can zfs on geli do trim on a ssd?
-
deever
how can i access a jail via serial console? i know jexec, but i'd like to have some uniform method for VMs and jails...
-
SamuelMarks
hi
-
SamuelMarks
How do I get the exit code of a subshell invocation? - $? gave an error of non-portability for /bin/sh
-
nomia
how do i setup zfs on geli to do trim on a ssd?
-
nomia
-
nomia
is it automatic?
-
luke_jobless_sb
nomia: i didn't really trim. what do you mean?
-
luke_jobless_sb
nomia: i don't remember any of these when i have geli in my ssd
-
luke_jobless_sb
except the partition
-
nomia
i mean ssd needs trim right?
-
nomia
so geli has to support trim from zfs
-
nomia
luke_jobless_sb: does your zpool trim work?
-
mason
nomia: Read geli(8)
-
SponiX
you FreeBSD folks and all your fancy zfs talk
-
luke_jobless_sb
SponiX: do you notice when someone refers to certain manual
-
johnm
SponiX: heresy against ZFS will not be tolerated :p
-
darwin
the website discussion area list is incomplete: doesn't list the oldest one
-
fosskid
hi folks. I built a structure for jails that uses a read-only base system and mounts writable paths on top of it. I'm confused as to why some symlinks are wrongly followed. Here's the symptom:
-
fosskid
I have /etc -> /skeleton/etc . Then I have the usual /skeleton/etc/ssl/certs/ which contains symlinks like b66938e9.0 -> ../../../usr/share/certs/trusted/Secure_Global_CA.pem . What confuses me is the following:
-
fosskid
this setup was working fine in FreeBSD 13. However in FreeBSD 14.2 those symlinks fail to resolve. Files /usr/share/certs etc exist. But when I "cd /etc/ssl/certs" and try to access them from there, I get "b66938e9.0: No such file or directory"
-
fosskid
If instead I build a symlink to the absolute path, then the symlink works. What am I getting wrong here?
-
The-X-Files
as soon as it snows here the city gets blocked local gov never cares cleaning roads in city
-
wildeboskat
Yeah I trim daily through crontab
-
wildeboskat
It's supposed to do it automatically but still the daily job runs for 20 mins so it must still leave a lot to be desired
-
wildeboskat
And this is fine anyway because then I can do it while I sleep
-
antranigv
Here's a question that's been bothering me for a while: Can I run freebsd-update on 50 jails at the same time? I've been doing them one by one all night. I'm done with 15, I have ~20 more.
-
delta0
l @antranigv I feel like you would have bandwidth contention issues doing them all at once. Maybe set up a script that does them one by one for you?
-
delta0
@antranigv
-
Guest39
My user is in video group. Nvidia- driver loaded. Wjen i try to startx i get .Xauthority does not exist...
-
Guest39
I did everything following handbook
-
Guest39
I have try touch .xauthority, errors gone but connection to x server lost. I have try deleta and make new user. I have try complete bsd reinsrall. - always the same error
-
Guest39
Its bad package... i did everything i could. I have even try build xorg from ports, bit it pulls mesa, llvm, clang.... nvidia-driver doesnt need any of that
-
Guest39
I dont know what to do anymore. Im dealing with this problem for 2 days
-
Guest39
Any help ?
-
dstolfa
Guest39: i haven't used freebsd on the desktop with nvidia recently, but 8 years ago or so, there was an nvidia-xconfig or something along those lines that would generate the configuration for you. also, are you using the modesetting driver or just nvidia.ko?
-
vkarlsen
nvidia-xconfig is still a thing, installed by package nvidia-xconfig-525.116.04
-
delta0
@Guest39 have you tried following the FreeBSD Handbook? It is very good.
-
Nicholaus04
Howdy, folks!
-
n30
vfs.zfs.arc_max if i have 0 on this value in sysctl, can zfs use the amount of memory it wants then ?
-
mzar
n30: yes
-
n30
mzar: thanks
-
n30
if i do a dd if thenn of to create a large file ... like 1G and then do du -sh file and it says 512B only ?
-
n30
why does it do like that
-
mzar
it's compressed
-
n30
hmm do i want to use that ? or i gain more performance without compression ?
-
mzar
probably yes
-
mzar
more performance with compression
-
n30
but i cant verify how big files are then ?
-
mzar
use du -A
-
mzar
or ls -l
-
n30
ahh thanks
-
n30
i see this in top: ARC: 5888M <-- is that how much ram zfs using right now ?
-
mzar
yes, it's the cache
-
mzar
Adaptive Replacement Cache
-
n30
then i know :D thanks for the answers and help :D
-
n30
i have never used zfs before, did reinstall my server with zfs today due to slow disk speeds without it even if i use ssd drives
-
mzar
-
mzar
ZFS is more than filesystem, good luck with learning
-
n30
yeah i know that little about it... have thought a long time about try it out but i have never gave it the chance... but today i thought its the last chance for this server or i will replace it
-
n30
but it seems to work pretty nice now
-
mzar
it's on ssd, so you probably want to enable autotrim
-
n30
yes i have ssd drives but there is some crap with the p410 raid controller the cache battery is dead so the performance is extreme slow without zfs. i did write 1G file on 80 seconds
-
n30
but when i wrote that file the server almost stalled ... so i broke my raid 1 and setup the drives as raid 0 and striped them with zfs
-
mzar
OK, but some people say that HBA mode is even better than JBOD
-
n30
yes but this p410 card do not seem to have HBA mode
-
mzar
p410 ? is it HP ciss(4) ?
-
n30
yes
-
n30
in hp bl460c g7 blade
-
mzar
they work fine in JBOD mode, HBA is not avaliable
-
n30
cannot trim: no devices in pool support trim operations
-
n30
did i get when i tried to enable trim with zpool trim zroot
-
mzar
yes, it won't work with ciss(4)
-
mzar
the controller doesn't expose drive to OS
-
n30
nah that is true
-
n30
mzar: did make new world and recompile kernel and install new kernel then reboot ... will it empty arc before rebooting normally or what? it 4-5 minutes then i rebooted my server now and its not online yet
-
mzar
if it's not back yet than probably something went wrong, but ARC has nothing to do with it
-
mzar
you can set serial console over lan
-
n30
i have ilo so i will check it out im just waiting for access to computer so i can access the ilo on the server to see what happend
-
mzar
nice, but setting serial console is even better since ilo requires java IIRC
-
mzar
n30: do you boot it from BIOS or EFI ?
-
n30
that i need to check ... i think its from bios
-
mzar
OK, if you will seek how to configure SoL (OS part) poke me
-
mzar
I have it working on old HP DL 360 and it won't break iLO
-
n30
now im not sure if i follow/understand ? do that have with zfs to get it to boot if it have failed in somehow ?
-
mzar
SoL has nothing to do with ZFS, it's IPMI feature
-
n30
it was me forgot to add the module for nic in kernel :d
-
mzar
you can load it later
-
mzar
or with the kernel
-
n30
i loaded it in kernel i forgot it before only