-
Demosthenex
rwp: so yeah, i'm aware dirs are files too. and timing/counting doesn't help. i really need to breakdown where find is going slow. only way i know is to break down the find to specific directories and time those. any other idea?
-
rwp
Demosthenex, I was simply explaining why I didn't apply any -type f to that find command.
-
iRobbery
for d in */; do echo -n "$d: "; find "$d" -maxdepth 1 -type f | wc -l; done
-
puf
hello. Using bastille in netwkorking section it suggest us to add some rules on pf.conf. Both nat on $ext_if from <jails> to any -> ($ext_if:0)
-
puf
and rdr-anchor "rdr/*" rules give me an error
-
puf
anchor-rdr "rdr/*" -> Fix
-
puf
any idea how to deal with this?
-
puf
error message is: Rules must be in order: options, ethernet, normalization, queueing, translation, filtering
-
puf
and whatever the position of those rules are, the error is the same
-
leah2
is it possible to use pkg to install exactly the packages given in a file and uninstall everything else that's not dependend on?
-
ek
leah2: Sure. Install the packages using "pkg install" and then run a "pkg autoremove".
-
nimaje
you could use pkg set, install and autoremove for that
-
leah2
set everything not automatic except for the list?
-
nimaje
set everything as automatic and then install your list (if already installed install will change the automatic flag, if it doesn't match what it should be)
-
leah2
okay
-
leah2
let's try this in a jail first :D
-
ForeverNoob[m]
Hi, I'm thinking of getting the Silverstone CS-381 (
silverstonetek.com/en/product/info/server-nas/CS381) as my NAS case, but it has a backplane which has a SFF-8643 connector on it. IIRC there was some warnings about using certain backplanes in combination with ZFS. Does that still ring true? What should I watch out for?
-
ForeverNoob[m]
Assuming no issues with the backplane, for the mobo I'm thinking of Supermicro X11SSH-F (
supermicro.com/en/products/motherboard/X11SSH-F), but it has no SAS connector by default, so one option is to get a HBA card (like the IBM M1015 in IT mode) and attach a normal SFF-8087 -> SFF-8643, or can I also get a reverse breakout cable and attack the backplane to 4x SATA ports (I'm only going
-
ForeverNoob[m]
to be running 4 drives) ?
-
rwp
ForeverNoob[m], It's hard not to like an HBA card with an LSI SAS controller. Separately upgradable for one.
-
rwp
If you have the ports on the motherboard though then the SATA off of it would be okay.
-
rwp
The warnings about onboard SATA is almost certainly for onboard RAID which you definitely do not want. You want IT mode as you already know. You want ZFS to handle the raid itself.
-
ForeverNoob[m]
Oh yeah for sure, if I can help it hardware isn't going to be doing much other than presenting storage to the OS _as it is_.
-
ForeverNoob[m]
Admittedly I'm unfamiliar with enterprise IT, so I have absolutely no idea what to look for in such a card. All I know is the IBM ServeRaid M1015 flashed in IT mode is pretty much the most compatible one with FreeBSD / ZFS, but those cards are EOL now from what I'm seeing. The other thing what I know is what you just told me, so that's another thing I'll be watching out for.
-
mason
ForeverNoob[m]: Four drives would be entirely reasonable to do straight off your motherboard. Lower power consumption, entirely reasonable performance.
-
ForeverNoob[m]
Straight off as in bypass the backplane and just do SATA to the mobo? Not sure I can do that with that case.
-
rwp
Agreed. If you have the onboard SATA ports then just use those. Unless you want access to SAS drives.
-
rwp
That NAS case has up to 8x bays though so not sure why you want it if you only want 4x drives. I would just use a standard deskside case with 4x front bays.
-
rwp
For only 4x drives then coupling some deskside case with something like this trayless hotswap bay.
newegg.com/startech-com-hsb100satbk/p/N82E16817998020
-
ForeverNoob[m]
For now I'm going to just use 4 drives, but I'd like a bit of expansion options in the future.
-
rwp
I have several of that exact hot swap bay model and they work great. The only caution is they don't have locking SATA nubs and rely upon friction. I have not had any trouble though.
-
rwp
-
rwp
I have similar Supermicro motherboards and they have been very reliable. The network IPMI control is good. I think you will be happy.
-
ForeverNoob[m]
So if I'm understanding this correctly this thing allows me to have 1 hot-swappable 3.5" per 5.25" bay? So I'd need some kind of a mega tower that has 4x 5.25" bays (or more if I would like to expand in the future) ?
-
rwp
I look around my office and within sight of me in my office are 4 deskside cases all with 4 front bays able to take a 5.25" hot swap bay. Removing the DVD/CD drive, sure, but have you used a CD in a machine recently?
-
rwp
Aren't those types of cases just common as dirt? Maybe they are not these days. I only know what I have around me.
-
rwp
Meanwhile... Don't let me talk you out of that super nice NAS case. I didn't see a price for it but I imagine it is not cheap for something new like that.
-
ForeverNoob[m]
At most I've seen cases that have max 2x 5.25" bays. That case isn't cheap no, but it fits juuust right under my bed :p
-
ForeverNoob[m]
But all of that of course is moot if I find out FreeBSD / ZFS doesn't gel well with that backplane.
-
rwp
And doubles as a whitenoise generator for sleeping too. Probably will generate some heat though. So possibly you might get warm.
-
ForeverNoob[m]
Great, functions as a room heater too!
-
ForeverNoob[m]
(Though with the types of loads I'm doing... which is pretty much just having sshd running on there, I think we'd better describe it as warmth instead of heat)
-
ForeverNoob[m]
Would be nice if I could cut total amount of cables required for HDDs to just 1.
-
ForeverNoob[m]
But I'd have to find a M1015 on the 2nd hand market for that probably.
-
SponiX
ForeverNoob[m]: I only have one cable to my computer for the drives
-
SponiX
-
rwp
Are all 72 bays populated? I think that would deserve a big wow!
-
ForeverNoob[m]
Yeah, that's no longer a white noise generator, but instead an angry wasps generator.
-
ForeverNoob[m]
(Unless you've populated them with SSDs and turned off the fans?)
-
SponiX
rwp: roughly 70…
-
SponiX
ForeverNoob[m]: no, all spinning rust
-
rwp
That's definitely a WOW! :-)
-
ForeverNoob[m]
Roughly 2 more to go! You're almost there! :p
-
rwp
And you have a 2nd one offsite to provide full backup to it too. :-)
-
SponiX
I have a few out of commission and will be tracking them down soon
-
SponiX
I’m doing new arrays soon and am debating what OS I want to use for it this time
-
ForeverNoob[m]
So I'm guessing if it works on those backplanes, it has a pretty good chance of working with mine as well :)
-
SponiX
ForeverNoob[m]: these are NetApp DS4246 disk shelves with a cable between each of them and then one going into an expansion card in the server tower
-
ForeverNoob[m]
Must be one hell of a cable.
-
SponiX
I run them each off of only one PSU and I/O module so they produce half the noise. They are in my bedroom
-
ForeverNoob[m]
Now that's a definite WOW from me as well this time.
-
SponiX
ForeverNoob[m]: I’m just on my phone now. But if you want I can get you the equipment list for what I’m using when I’m at home
-
ForeverNoob[m]
Do you underclock stuff? Do you let HDDs only wake up when they have to?
-
ForeverNoob[m]
I would very much like that yeah.
-
SponiX
No, sleep and wake cycles are actually hard on electronics. I keep them all spinning and my systems running fully 24/7
-
SponiX
I do a soft reboot every few weeks for OS updates. But I only power the shelves off when they get loud enough my wife complains lol
-
ForeverNoob[m]
lol
-
ForeverNoob[m]
"Nag-driven energy profile selection"
-
SponiX
That ends up being about every 6 months. But she swears every time that I must start doing it monthly
-
ForeverNoob[m]
HDDs keep spinning but at minimum RPM when not used, right?
-
SponiX
lol… Not used?
-
SponiX
Why would I have drives that I don’t use. That’s silly
-
ForeverNoob[m]
Haha I meant when no R/W operations are happening :p
-
SponiX
I know what you mean