-
l00py
my boss said i can replace linsux on our fileserver with fbsd if i can figure it out. got a question. i use zfs for everything but i don't have hardware raid. the fileserver at work has hardware raid 10. do i put zfs on top of that or ufs on it?
-
mason
l00py: Usually what you do is tell the hardware raid (if you can't disable it) to present a bunch of single-disk RAID 0 disks, and stitch those together in ZFS. That way ZFS can do its magic.
-
l00py
mason can zfs tolerate normal sas hot swap stuff like pulling and replacing drives while the system is live?
-
mason
l00py: I've done it. It can be unhappy if you don't tell it what's happening first.
-
mason
But yes.
-
l00py
ok btw is what you're saying with the raid 0 disks called "HBA"?
-
l00py
mason and if i have to use the raid 10, still put zfs over that or just ufs at that point?
-
mason
l00py: Nah, you still get the checksumming and snapshots if you run it over RAID 10. You just lose the self-healing and resiliency, which is a big thing.
-
mason
HBA is "host bus adapter" and is usually the hardware into which you plug the disks.
-
l00py
ok looks like my raid card is old and shitty enough to not really be a true HBA and so not recommended for zfs
-
l00py
the box is kinda shy on ram so i think i'll put ufs on the raid 10 since bit rot and stuff isn't a prob. (the files are a temporary dumping ground)
-
l00py
that atleast gets linsux replaced with freebsd on yet another box so a partial win
-
l00py
then when box gets upgraded i'll pick a proper hba for it and the freebsd ufs -> freebsd zfs migration will be a smaller leap
-
l00py
tyvm mason
-
l00py
i'll put 14.2 on it as soon as it's released tomorrow :D
-
l00py
btw any probs putting freebsd and ufs on a raid 10?
-
rwp
l00py, As long as the disk can be seen individually then zfs will work on it. Many RAID cards insist that they handle the raid and that's not what you want. But if it is just a SATA adaptor or can be told to be just a SATA adaptor then you are okay.
-
l00py
it's a h710p mini
-
l00py
from perc
-
mason
-
ek
-
ek
Most thorough guide(s) I've found for flashing cards like that for ZFS usage.
-
l00py
i need virtualization support in the cpus unfortunately
-
l00py
so i can't fohdeesha it
-
ek
Why would flashing the H710p raid controller stop you?
-
l00py
that bios setting needs to be set the doc says
-
ek
I've probably flashed 50 of these type of cards and I've never had to change anything regarding virtualization in BIOS to have it working.
-
l00py
i'm leary because i didn't get approval to flash firmwares and stuff, just reinstall OS
-
ek
It's literally just flashing the RAID controller's firmware. Shouldn't need any other changes on the system at all.
-
l00py
is fbsd ufs on top of raid 10 so bad? zfs is surely my preference but it feels like a bit too much friction rn
-
ek
And, you can always flash it back if it doesn't work.
-
ek
UFS on RAID 10 works fine. I just prefer the benefits of ZFS with so little effort.
-
ek
Plus, RAID controllers (for me) more often than not just slow things down.
-
ek
Direct-access has always been pretty choice.
-
l00py
ya no doubt about that
-
l00py
ok i'll do some thinking tyvm
-
l00py
oh btw the dell server sends me a prefailure notification when the sas drive is going to go bad. can zfs do that?
-
l00py
it's the idrac stuff if anyone's used that
-
ek
l00py: It kind of depends on the setup and what's supported on the backplane, controller, etc... But, in my experience, I just skip all that manufacturer stuff and just use SmartCTL combined with ZFS's warnings/alerts. Hasn't failed me once in many, many years.
-
l00py
oo nice tyvm
-
l00py
btw 14.2 announced an hour ago as i typed lol, time to get to work!
-
SponiX
the download has been available for a while though ;)
-
SponiX
FreeBSD-14.2-RELEASE-amd64-disc1.iso 1310040064 2024-Nov-29 13:05
-
kevans
yes, but we're big on our tradition; it's not a release until announced, because it can still be yanked for $reasons up until that point
-
kevans
pre-announcement there's no guarantee that the last-minute q/a stuff that goes into a release has been done, for instance
-
ek
Yep. I always wait for official announcements.
-
l00py
yep
-
mason
l00py: I'd be really surprised if you even had to flash your firmware to get it to present each disk as its own RAID 0.
-
mason
I'd explore that before making any decisions.
-
l00py
i read that some ppl ran into probs with that since the raid card was doing its own thinking and getting in the way of zfs. like write caches and stuff. thoughts?
-
mason
l00py: Write caches are an interesting twist. I don't have an answer for that.
-
l00py
maybe ek nows
-
mason
I'd think, worst case, if something bails and the write cache hasn't committed stuff to disk, it'll seem quite like the kind of corruption ZFS handles gracefully.
-
SponiX
l00py: the term often used is having the firmware flashed to "IT Mode" or JBOD mode - so every disk shows up as if it is native to the OS -- I have my card, and 3 DS4246 disk shelves in this setup
-
mason
SponiX: That'd be ideal, but if he doesn't have permission to do more than swap the OS, I'd want to try it with the hardware as it stands.
-
l00py
tomorrow when i get in i'll reboot box into raid firmware and see if i can disable it but still have disks show up. if not then i'll go to raid 0 mode on each disk, all caches disabled, and try that
-
mason
l00py: That sounds like a decent plan.
-
SponiX
Yeah, I'm for sure not account for all situations. Use case that my friends and were in was hard drive storage crypto farming LOL
-
SponiX
"friends and I"
-
l00py
SponiX which one? sounds cool
-
SponiX
l00py: chia farming choin was called XCH
-
SponiX
"coin"
-
l00py
did you guys get rich?
-
SponiX
this different keyboard sure is messing with me
-
SponiX
l00py: Yeah, I've got 3 Lambos parked in my drive right now
-
l00py
if i could get rich i wouldn't have to work for anyone
-
midnight
I am fiddling with an old jail on a homogeneous platform in poudriere which is failing to build archivers/zchunk. In the zchunk log for the failure, meson fails to locate libcurl as a dependency, and pkgconfig then fails to find package openssl, and also libcrypto. Presumably they are missing .pc files? Is there a canonical way to debug this or add proper logic to the zchunk makefile to correctly build
-
midnight
with such dependencies under a 13.x poudriere jail running on a 14.x host? :)
-
iio7
I have just upgraded to 14.2-RELEASE. Now when I boot, just after all the boot messages has shown, before the font changes to a smaller font and I can login, I now get a blank screen with some pixelated stuff on. Impossible to make out. I can see nothing. Yet, I can login (without being able to see my typing) and start X.
-
iio7
I have an Intel GPU.
-
l00py
yikes
-
TommyC
If he had stayed I would've asked if he loaded i915.
-
HER
weird.. i also upgraded to 14.1 -> 14.2 on 2 different intelgpu machines. one worked fine and the other gets stuck when loading i915kms. by stuck i mean if i leave it enabled on boot, it gets stuck on the "Loading kernel modules:" phase. And if i kldload i915kms it attempts to load some _bin and then gets stuck
-
HER
reinstalled all pkgs with pkg upgrade -f in both
-
sopparus
its there a more detailed changelog somewhere?
-
sopparus
its a bit hard to know what to try when changelog is almost empty
-
babz
i have the same problem as iio7. haven't had time to investigate yet...
-
babz
basically late in the boot (a bit before LOGIN i'd say) vt stops displaying text (framebuffer doesn't update)
-
babz
I can still launch an X session (it's automatic in my setup) however, if I come back to a tty, nothing happens: I stay on the graphical screen, frozen. but I can type my login/password, go back to my X session, and see in ps that I have now a shell running on ttyvX
-
antranigv
when I run freebsd-update IDS, I can see all the files that I've changed, but say I want to use the one that should be provided by FreeBSD, instead of my changed one, how can I get it?
-
SKull
antranigv: freebsd-update showconfig | grep WORKDIR
-
SKull
that's where it stores its files
-
antranigv
SKull thanks <3 I was also to get it from base.txz
-
SKull
antranigv: i found it out just today. because i can't interpret the diff views that come with 'vi' when updating, so i had to open up another console and vimdiff the stuff.
-
SKull
as much as i love the 'base system is enough' philosophy, 'vi' definitely lacks all the useful features that vim has nowadays :D
-
antranigv
SKull did you check everything?
why-vi.rocks
-
HER
IN 14.2: Anyone else sees a boot message initial boot (Before the bsd logo) ?
-
Tenkawa
HER: which arch?
-
HER
amd64
-
Tenkawa
I need to build my amd64... I should do that today
-
Tenkawa
its sitting in pieces
-
Tenkawa
lol
-
HER
when you boot, check if something appears right before the bsd logo/menu
-
Tenkawa
(laptop disassembled on workbench)
-
HER
=p
-
Tenkawa
Ok.. will do.. I'm going to go get that started
-
Tenkawa
Installing now
-
Tenkawa
(dloading image took a while)
-
Tenkawa
I'm installing using a zfs base system
-
Tenkawa
HER: yeah it flashed just for a second
-
Tenkawa
with some text
-
HER
Tenkawa: :O
-
l00py
how's 14.2 so far?
-
jauntyd
no problems on this end
-
jauntyd
2 computers using it
-
Martouf
indeed just installed a fresh 14.2 on my laptop using it right now, working great
-
Tenkawa
Martouf: Stargate fan?
-
Martouf
sure am! :D
-
Tenkawa
Ironic... I'm rewatching SG1 for about the 5th time right now (on episode 2)...
-
Tenkawa
I decided ... why not
-
Martouf
sg1 sooo good
-
Martouf
gets a tad weird towards the end with the whole change in team and flying toilet seats
-
HER
l00py: works in 1 pc, and 915kms breaks in another
-
Tenkawa
Needed something for the next 2 days while I do some cross world builds
-
Tenkawa
I am destroying an i7 atm lol
-
Martouf
noice how long does all that take?
-
Tenkawa
We shall see
-
Tenkawa
I'm glad it records the time
-
HER
jauntyd: do you see the message flashing on boot before the freebsd logo/menu ?