-
ngortheone
Did anybody have any success running FreeBSD on a MacBook Pro 2015 ?
-
ngortheone
I got a newer latptop for my better half, so this one is lying around. It is a solid piece of hardware, still runs pretty nicely, 8 years in, and going strong
-
ngortheone
I have no need for OSX, Linux runs OK on it
-
debdrup
asmc(4) is the only "secret" sauce I know of, but I don't know if that works specifically with that revision.
-
ngortheone
thanks debdrup, I didn't know that!
-
tehpeh
Running on Macs can be a bit hit-and-miss. Depending what's inside, for example if it's got a Broadcom wifi chip then you'll need a USB dongle for wifi.
-
ngortheone
good point, I need to check what wifi chip is in it. I think it should be Intel..
-
ngortheone
it has dual GPU, radeon and intel
-
ngortheone
is hard to disable a power-hungry descrete card?
-
ngortheone
argh, Broadcom BCM43602
-
debdrup
hw.pci.do_power_nodriver=3 should ensure that devices that don't have a driver attached will be powered off.
-
debdrup
You can also do this manually via devctl.
-
debdrup
Well, maybe devctl can do it. I don't remember.
-
ngortheone
-
VimDiesel
Title: bwn(4)
-
debdrup
That OID goes in /boot/loader.conf by the way.
-
ngortheone
this suggests that there is hope for broadcom wifi
-
debdrup
That's the softmac, there's a fullmac too, iirc.
-
debdrup
-
VimDiesel
Title: Landon Fuller: FreeBSD Broadcom Wi-Fi Improvements
-
debdrup
That has a full list of what's supported
-
ngortheone
the article suggests that I might have more luck running Open/Net BSD
-
» debdrup shrugs
-
debdrup
Finding a used ThinkPad was my solution, and I haven't regretted it.
-
mystic
hello anyone ? I have some problem to configure snort... my problem concern the "reputation.blacklist" and "reputation.whitelist". Simply snort cant start because cannot find the files.. I tried many differnt conf but nothing was changed
-
rtprio
drobban: tried to deploy to; didn't use flyctl on freebsd
-
rtprio
mystic: you installed the port and now are trying to configure it?
-
mystic
rtprio: no, I Installed the package because my pc is very old and building a package is to hard. I read an howto and I configured the /usr/local/etc/snort/snort.lua file. I have the following lines ---> "blacklist = BLACK_LIST_PATH .. '/ip-blacklist' - The same (but changed) is for whitelist. The file snort_defaults.lua has the following variables: WHITE_LIST_PATH = '../../intel' ---- and the same for
-
mystic
BLACK_LIST_PATH
-
mystic
the ip-blacklist file is under /usr/local/etc/snort/intel/ directory
-
mystic
but as I said snort cannot find the file..
-
futunebot
how does freebsd do regarding power saving features for laptops?
-
f451
meena: tbh the guidance on swap is a bit cloudy these days. 128GB RAM is p. common. Saying all that, i have a server in a datacentre with 4GB swap, 512GB ram. later had to add a 32GB swapfile. it only has one swap as a partition.
-
deadguy
hi, this is the sixth time i've tried to install this OS on my laptop and every single time, i can't seem to boot it. install goes fine, i remove the usb stick, dead in the water. is the bootloader broken/not installing? i've looked at several threads in the forum but the outlined solutions have yet to work for me. i'd appreciate some help
-
f451
deadguy: is your laptop disk nvme or m.2 ssd ?
-
f451
also which installer
-
deadguy
f451: no. this is a dell laptop from 2012 with an msata disk. tried both bootonly and dvd1
-
f451
which version
-
deadguy
13.1
-
f451
snapshot or release?
-
deadguy
release
-
f451
also in the dell bios, is there anything in there like 'secure boot' or anything specific to windows
-
f451
cos if thats not turned off then booting wont work on some systems
-
deadguy
there's a secure boot option but it's disabled. this machine hasn't seen windows in a while, used to run one flavor of linux or another in it
-
f451
i'd try a 13-stable snapshot in that case, lor 14-current
-
f451
apart from that, if it doesn't work then freebsd mailing lists
-
f451
on reboot, whats the error?
-
deadguy
i suppose i could. i think i've tried every combination of zfs, ufs, gpt, and mbr i could think of. don't think this machine is new enough for uefi
-
deadguy
it's "operation system not found"
-
f451
so its not writing the boot partition possibly
-
f451
try latest -stable and/or -current
-
deadguy
i boot back into the installer and try gpart show. and sure enough there's a freebsd-boot partition. i've tried a number of commands from the forums but still no luck
-
f451
sounds like bios or installer prob to me, other than that i dunno
-
deadguy
def an installer problem. i guess i'lll try current
-
f451
is the boot part set bootable, active
-
deadguy
it's marked as bootme
-
f451
huh
-
f451
mailing list may help id -current doesnt
-
deadguy
i have a little bit of time, i'll try current
-
f451
good luck
-
polyex
im trying to make ungoogled-chromium my default browser but the "set as" button in settings doesn't work. xdg-settings get default-web-browser returns ungoogled-chromium.desktop even tho
ungoogled-software/ungoogled-chromium #1929 implies it should be different. when i try xdg-settings set default-web-browser xdg-settings
-
polyex
set default-web-browser com.github.Eloston.UngoogledChromium.desktop like the issue says, xdg-settings get ... still returns ungoogled-chromium.desktop! how can i fix it?
-
VimDiesel
Title: I can't set Ungoogled-Chromium as default browser · Issue #1929 · ungoogled-software/ungoogled-chromium · GitHub
-
VimDiesel
-
polyex
wtf paste error sorry. fixed it...
-
polyex
im trying to make ungoogled-chromium my default browser but the "set as" button in settings doesn't work. xdg-settings get default-web-browser returns ungoogled-chromium.desktop even tho
ungoogled-software/ungoogled-chromium #1929 implies it should be different. when i try xdg-settings set default-web-browser
-
polyex
com.github.Eloston.UngoogledChromium.desktop like the issue says, xdg-settings get ... still returns ungoogled-chromium.desktop! how can i fix it?
-
VimDiesel
Title: I can't set Ungoogled-Chromium as default browser · Issue #1929 · ungoogled-software/ungoogled-chromium · GitHub
-
VimDiesel
-
deadguy
f451: the image for 14-current tells me "distribution checksum failed". so much for that i guess
-
tehpeh
Is there a recommended way to run daemons or other long running processes as the current user? (this is for a desktop system running XFCE or KDE)
-
tehpeh
Both of those DEs have an "autostart" feature, but there isn't a clear way to restart things that were autostarted on login, for example
-
deadguy
f451: looks like i got the proper packages the second time around. and i've even booted to a working system, so here's to you
-
ultramage
question, daily pkg check is complaining that all python .pyc files have mismatched checksums. This started sometime this month after I upgraded ports. What's the deal? Did pkg mix up the order of operations?
-
parv
Perhaps you had updated python?
-
ultramage
I mean, I just rebuilt devel/meson and then reran pkg check -s meson, and it's still complaining. It's like it's not recording the checksums of the freshly compiled scripts during install
-
ultramage
oh hm. there's always script.pyc, script.opt-1.pyc, and script.opt-2.pyc. It's complaining about the first two. Hm. Is this tracking 3 different, older versions for older python?
-
ultramage
one of the build's steps said it was removing previous stale versions <_<
-
ultramage
(this is the first time in 15+ years that something like this has come up)
-
parv
What does "pkg info -x python" say?
-
ultramage
no, all 3 versions have current timestamp, so they were all freshly built, so they can't be older
-
parv
Ok
-
ultramage
python3-3_3 python-3.9_3,2 python39-3.9.16_1 huh.
-
ultramage
should I ditch the metaports?
-
ultramage
I don't think they do anything, although the fact that each shows a different version number is concerning
-
parv
You could; have not seen any ill effect here
-
parv
Currently I am using 3.11 as the default version (when installed via ports); in /etc/make.conf: DEFAULT_VERSIONS+= python=3.11 python3=3.11 ; USE_PYTHON= concurrent
-
ultramage
oh they actually are needed. python39 installs bin/python39, python installs the 'python' symlink
-
ultramage
python=3.9 python3=3.9
-
parv
What is the purpose of "python3-3_3"?
-
ultramage
installs symlink /usr/local/bin/python3 and several other alternatives
-
ultramage
seems like it's a middle step when you want python 3 but don't care about specific subversion
-
ultramage
I am not sure, but maybe the version number on the metaport is just from the last time the maintainer had to touch that metaport
-
ultramage
anyways, one guide I found just sidesteps the whole issue and re-registers the new pyc files... but I feel like that just covers up a defect in the build system
-
parv
Very plausible
-
ultramage
I'm not sure what the deal is, I just ran portmaster -a like usual. some recent ports system change might be causing this problem
-
ultramage
ah, python39 port changelog and discussion on the recent commits explains it
-
ultramage
a dev is working on a structural change, the checksum mismatches were a todo for later, yesterday the change was reverted due to additionally discovered issues.
-
parv
ultramage, Much appreciate the update
-
parv
.oO( Ooh. "uname" says last world install was c 202211; time to update seems )
-
ultramage
that's not so bad. I'd wait for march/april freebsd point release
-
parv
I suppose I could wait to update -STABLE. On -CURRENT, the dreaded "IGNORE_OSVERSION" prompt from "pkg upgrade" makes me take a wild guess at relatively safe commit to reinstall world.
-
parv
Instead of being hounded by "pkg upgrade", I should likely plan, switch to -STABLE
-
» parv admits sheepishly that is the cost of laziness he is paying now for not downloading a 13 image to install
-
parv
Some time ago, I had installed a 13 world (on 14 host) in a new boot environment but there were issues with booting. (Just remembered that)
-
ultramage
bsd.to/dV8n - trying to reinstall py-setuptools makes it crawl into old python port subdirectories, which do not exist since it's a sparse checkout. there is explicit code saying it handles sparse checkouts.
-
VimDiesel
Title: dpaste/dV8n (Plain Text)
-
parv
eww
-
ultramage
# Mk/Uses/python.mk includes this file, don't remove it!
-
ultramage
what I don't get is that it starts crawling 3.8, but ports start at 3.7 (which I also don't have) and setuptools makefile USES python:3.7+
-
ultramage
also ignoring that my forced default is 3.9
-
ultramage
_PYTHON_VERSIONS= 3.9 3.8 3.7 3.10 3.11 2.7 # preferred first
-
ultramage
this makes it seem like it's going to check all of them in this sequence, and it's erroring on the 2nd step. But I never had to have all these ports directories before.
-
ultramage
sigh. well, I patched uses/python.mk to always check path before including, never require it to exist. hopefully that doesn't change any other logic
-
antranigv
Anyone here can explain to me how to get started with NetGraph? I want to replicate my epair/bridge network using ng
-
meena
antranigv: i'd start from the example scripts, study what they do, then move them slowly over to something more familiar
-
meena
-
VimDiesel
Title: freebsd-src/share/examples/jails at main · freebsd/freebsd-src · GitHub
-
meena
-
VimDiesel
Title: freebsd-src/VIMAGE at main · freebsd/freebsd-src · GitHub
-
meena
all of that stuff is in GENERIC by now
-
antranigv
meena yeah, they all are. altho we've been using VIMAGE before 10.0-RELEASE.
-
antranigv
meena dteske's code is awesome, but it's not as simple as it feels :D
-
antranigv
meena are you using epair/bridge or netgraph?
-
meena
it's really dense
-
meena
epair
-
meena
your code mostly ;)
-
meena
if you find ng to be better, I'll jump ship
-
meena
I need to change my code to always generate vnet0, vnet1 instead of epair126, epair156 etc device names
-
antranigv
meena the only use for ng for me right now, is for bhyved jails. since bhyve supports netgraph, and netgraph interfaces can be vnet'd, it would be the ideal situation.
-
antranigv
meena however, I am modifying jail.conf.d so support /etc/jail.conf.d/www0.conf to be run, while ignoring /etc/jail.conf.d/www_old.conf.disabled to be ignored. without the need to specify jail_list in rc.conf
-
antranigv
s/to be ignored//
-
antranigv
also, in Jailer, I'll be either using `ifconfig epair create` without the need to specify the epair ID, OR just set names and be done with it :D
-
antranigv
i.e vnet.inetface = ${name}0b and ${name}0b stays at the host
-
meena
while ignoring /etc/jail.conf.d/www_old.conf.disabled ⬅️ don't do that
-
meena
only include /etc/jail.conf.d/*.conf to begin with
-
antranigv
meena yeah! that's what the code does :D what I meant to say, that instead of playing around with jail_list, if jail_list == "", then it will boot everything in jail.conf and jail.conf.d/*.conf
-
meena
hmmmm… re: "dteske's code is dense" — i wonder if that's why she favours forth / if forth influences her other programming style
-
meena
antranigv: good.
-
vext01
is there a way to make the daily and weekly emails only be sent if there's a problem, like in openbsd?
-
V_PauAmma_V
What is or isn't "a problem" is best defined by the person reading the emails, I think.
-
V_PauAmma_V
But see -n in crontab(5).
-
V_PauAmma_V
Oh, wait. periodic, not cron. I need more caffeine, looks like.
-
V_PauAmma_V
See periodic(8) and specifically *_show_info and *_show_badconfig.
-
vext01
V_PauAmma_V: thanks
-
antranigv
Does anyone here use `jail_parallel_start` ?
-
debdrup
Most of my jails have some sort of dependency graph, so it doesn't help me. :/
-
meena
love finding more bugs, while trying to debug one bug… or discovering a lot more bugs after fixing one, but especially, i love both of those things at the same time
-
debdrup
isn't that the nature of software
-
antranigv
debdrup you were the one who reported that depends doesn't work with jail.conf.d, right?
-
debdrup
antranigv: as far as I remember, first time I heard of it was from you
-
antranigv
ah, I see
-
antranigv
well, I fixed the directories issue, so no need to specify jail_list anymore. have a final bit to fix as well
-
debdrup
Oh, nice!
-
debdrup
What about being able to specify common values in jail.conf and only per-jail values in the jail.conf.d?
-
debdrup
As in, is that something anyone has brought up? Because I've noticed that that could simplify a lot of things.
-
antranigv
debdrup yes, many people did bring that up. that is unfortunately part of jail(8), and not rc.d/jail. I'm trying to understand if it would be better to either "hack" that feature with rc.d/jail or actually patch jail(8)
-
debdrup
antranigv: ah, okay - I had the thought that if it's jail(8) that needs the patch, maybe it could be solved by having jail.conf include the jail.conf.d?
-
debdrup
So it essentially gets treated as one file, rather than several files that get loaded sequentially.
-
antranigv
jail can read from stdin, so that might be an option, lemme check
-
debdrup
I'm just throwing stuff at a wall to see what sticks, so don't worry too much about it :)
-
antranigv
yeah, `cat /etc/jail.conf.d/* /etc/jail.conf | jail -f - -c` seems to be a thing ;;)
-
debdrup
Now the question is, will that cat make it so that the common values in jail.conf also work for the jails in jail.conf.d ?
-
debdrup
mwl defines them as "default settings" in this slide:
youtu.be/S3u8OtjfGFE?t=811
-
VimDiesel
Title: 20 Years of FreeBSD Jails (2019) - YouTube
-
debdrup
the variables outside of the brackets are what i'm talking about
-
antranigv
yes it does.
-
debdrup
oooo
-
antranigv
I think I will rewrite rc.d/jail to support pipe
-
antranigv
it will make everything easier
-
antranigv
debdrup thanks for the tip <3
-
debdrup
it absolutely will
-
debdrup
being able to define a jail just by including the name, its ip address, and optionally its depdends variable would be absolutely fantastic
-
debdrup
path and hostname variables in the mwl example can also be made into globally scoped variables by using $name if memory serves
-
debdrup
oh right, he covers that very thing a few seconds later:
youtu.be/S3u8OtjfGFE?t=863
-
VimDiesel
Title: 20 Years of FreeBSD Jails (2019) - YouTube
-
antranigv
debdrup run `jail -f /etc/jail.conf.d/j20.conf.disabled -e '%' | tr '%' '\n'` and watch the magic :D
-
antranigv
4 lines of change
-
antranigv
I wonder if this fixes depends
-
antranigv
Well, it does.
-
polyex
for like 6 months there's been a bug in the ansible zfs module on freebsd,
termbin.com/vlffa anyone else run into that?
-
antranigv
For those who want to test the latest changes in rc.d/jail that fixes many issues. The complete script at
reviews.freebsd.org/P562 and the patch/diff at
reviews.freebsd.org/P561
-
VimDiesel
Title: ✎ P562 rc.d/jail by antranigv
-
polyex
omfg ty for working on jails!! i'm not using them yet but reading everything i can find and trying to learn
-
pertho
VVD: hey is that you responding in
QW-Group/mvdsv #120 ? If so, thanks for the support. I imagine a solution would have to be cobbled together for the FreeBSD port as well as the OpenBSD port I maintain as well.
-
VimDiesel
Title: Source tarball missing protocol.h · Issue #120 · QW-Group/mvdsv · GitHub
-
VVD
pertho, yes, it's me
-
debdrup
antranigv: woot!
-
mason
antranigv: I love the notion of inheriting base configs. Good deal.
-
debdrup
mason: it's a thing that's been percolating in my brain for quite a while
-
pertho
VVD: ahh.. the FreeBSD port for games/mvdsv looks a little old..
-
debdrup
I tried getting some people interested in it during lockdown thinking someone might have time for it, but no dice
-
debdrup
So it's nice that I finally got someones attention :P
-
antranigv
polyex your welcome :) least I can do
-
VVD
pertho, yes, but maintainer is danfe
-
debdrup
antranigv: those are pastes, not reviews though
-
debdrup
-
VimDiesel
Title: FreshPorts -- devel/freebsd-git-devtools: Simple Git tools from the FreeBSD src tree
-
pertho
VVD: git submodules are horrible :/
-
VVD
pertho, ye, I create several patches for other ports with sources from gh with submodules
-
VVD
hardcoded in Makefile 10+ lines with "GH_TUPLE="
-
debdrup
antranigv: I'd suggest getting a git patch (or a review, or a pull request on github - just something more than diff(1)) and sending a message about it to freebsd-hackers@
-
debdrup
antranigv: that's also much easier to signal boost than a couple of pastes.
-
debdrup
Ideally most of the testing instructions you need done should go into the body of the email rather than the diff, along with an explanation of what everything you're trying to accomplish
-
f451
github.com is still ipv4 only *grumble*
-
f451
means that if theres something pkg wants to fetch and it's not in freebsd distiles, it tries to fetch it from github then fails, on an ipv6-only poudriere
-
vext01
is there a way to have vm-bhyve wait for nfsd to come up before starting vms?
-
vext01
ah, boom, it's right there
-
vext01
vm_delay="5"
-
vext01
maabye
-
vext01
actually i dont think that's it
-
vext01
that's time between starting vms
-
debdrup
a rc.d script that has a REQUIRE: NFSD
-
debdrup
well, with appropriate caps
-
vext01
i think i'm talking nonsense actually
-
vext01
its the guest that needs to wait before starting docker images
-
vext01
wrong channel, wrong everything :)
-
luca
Hi, has anyone tried running a kind of NAS on a raspberry pi (3b+)? I am interested in hosting a small server for my family using ZFS, but I have doubts on whether it is powerful enough or not.
-
vext01
will usb attached disks be too slow?
-
luca
Too slow? ...yeah I guess an hdd passed through usb is pretty slow
-
rwp
Having had general bad experiences with USB attached disks I now avoid them. USB disk adaptors just has not been reliable for me. Always a source of problems.
-
luca
rwp: How bad were your experiences? Is your deployment something large like a company or just a home lab?
-
f451
luca: nextcloud on freebsd runs well with zfs on external usb3-connected disk with rpi4(8GB)
-
f451
by 'runs well' i mean also clocked to 2.1GHz and postgresql and nginx
-
luca
f451: Nextcloud sounds heavy. Could I get away with setting up everything by hand with the cli? Also my rpi3(1GB) kinda pales in comparission to yours ;)
-
f451
things requiring fast maths like ssl and encryption are going to be slower because theres no aesni in hardware, but it's fine for file storage
-
f451
id not run it on a pi3 not unless you like waiting, though there is a nextcloud for the pi, think it's linux based tho
-
f451
but yes on the pi4 everything was set up in cli
-
luca
Thanks, I'll try it and hopefully everything will work fine
-
f451
nextcloud will be slow on a pi3 cos of lower overclock, less ram and usb2-only external hd
-
f451
if you google for picloud or similar im sure you'll find it
-
luca
I have one last worry though. I don't run FreeBSD on my main machine. If the rpi dies will I get locked out of my files (at least until I get another FreeBSD device)=
-
f451
if the rpi dies then swap out the microsd
-
f451
not sure if you can mount ufs on linux, it depends i guess on what distro
-
luca
But if I cared most about portability I probably shouldn't use ZFS, right? Maybe NTFS or FAT32 would be better
-
f451
for freebsd?
-
luca
Portability of the HDD
-
luca
So I can use it on other devices adhoc
-
f451
yeah fat32 or ntfs
-
f451
so - boot from microsd, access the ext device via usb2
-
f451
it'd be fine for that. i have pi2b+ configured that way
-
f451
no nextcloud ;)
-
luca
Glad to hear it's been tried in the field :)
-
f451
you might want to run nfs server on the pi. not tried that, always used either nfs client or sftp for low-end rpis running freebsd as servers
-
luca
How is nfs/sftp support for windows hosts?
-
f451
no idea really. sftp you can get something like winscp or putty. but it's been over 20 years since ive used windows
-
luca
That's fair. It seems like samba works really well on FreeBSD though
-
f451
for windows access no idea about nfs, samba server on the fbsd host would be used for that. no idea of overhead though
-
f451
also will it be internal behind a firewall or exposed to the internet cos if the latter you'll want to configure a firewall
-
luca
Internal. Only inside my house
-
f451
-
VimDiesel
Title: Samba fileserver on FreeBSD (Update FreeBSD 12) - davd.io
-
f451
says nothing of requirements. still, if it's only running sshd and samba server id guess it's enough
-
luca
yeah, I've followed that. Got Samba working really well actually. I haven't connected any HDD to the pi yet though
-
luca
(side note, webmin is a good tool)
-
f451
yeah. after all this time im mmore comfy with the cli. also dont need to worry about a webserver
-
dch
after a binary is compiled, what makes it "decide" to choose, at runtime, a particular libstdc++.so.6 version?
-
dch
nb not ports, just a pre-built binary
-
luca
Thanks for the help everyone. I'll head off now o/
-
dch
somebody reports that the wrong gcc version is being chosen
-
dch
I am guessing something like this -Wl,-rpath=/usr/local/lib/gcc10 is missing?
-
rwp
Drat! I see I just missed getting back before luca left. :-(
-
rwp
My problems were that about monthly I would find USB storage would need a full power cycle. On two different bits of hardware over time.
-
rwp
So... Things worked. But infrequently the USB adaptor or drive would glitch out and need a power cycle.
-
rwp
On the other side of USB I have found USB network adaptors to be rock solid. Go figure. Though I expected problems there they have worked great.
-
rwp
I haven't been running on RPis though I was running x86 systems.
-
rwp
For the USB network adaptors those were in random airport office locations around the state with a service product.
-
rwp
So just sitting there and periodically USB storage would fritz out and need a power cycle.
-
rwp
For the USB storage that was in my home on the server shelf untouched by me and I don't have cats to get into them either.
-
f451
rwp: whats your make of power adapter?
-
f451
also rpi2/3/4?
-
rwp
The USB storage power adaptor? Those were all no-name chinese manufacture random enclosures.
-
rwp
f451, Sorry but I was using x86 hardware not RPis.
-
f451
are you using a UPS?
-
rwp
No UPS but our power here is all underground and very reliable and none of my other systems noticed anything.
-
f451
id be looking at the power adaptor 1st as it's a noname version
-
f451
swap it out for something known that has a guarantee
-
rwp
I'd be looking at the USB adaptor as those are all no-name versions. And USB is a terrible non-standard, standard.
-
f451
heh
-
f451
so many standards
-
rwp
One of the USB enclosures had a funky PS2 style round DIN connector for power. And one must be cautious of those because the pin out is non-standard there too.
-
rwp
I burned one up by mixing up two that had the same power connector but had power and ground flipped on the pins.
-
f451
i guess the only way of proving it would be to monitor output under load. ive known 12v adaptosupplies to decide to either go bang and completely fail (good) or just not regulate the voltage enough and it breaks what is being supplied, like a scanner (bad)
-
rwp
If you are using an RPi then for storage of course you must use USB storage. And then it is what it is.
-
rwp
But when I mentioned my experience there hadn't been a mention of RPis in the conversation yet.
-
f451
sorry was talking with luca before hence rpis
-
rwp
Strangely I have used USB network adaptors of different vendors very reliably. I expected trouble there but instead they have been rock solid over years in random service locations.
-
f451
but in my experience the most likely cause for yr usb disk issues would be power
-
f451
yeah NICs are better
-
f451
i have ext disks on 2x rpi4s but they are powered by the pis. made sure to get the recommended psu
-
f451
on x86 ive lost 5 disks due to power issues (brownouts and powercuts) which is why i was asking if you had a ups
-
f451
i put off getting a ups way too long lol
-
rwp
We literally go for years without power interruptions here. When I had UPSes the batteries would not last as long. Had more UPS failures than power events. So at the house I just don't bother.
-
rwp
On the other hand at the airport offices that I mentioned those are always located out on rural electric power and if those go a month without a power outage then it has been a good month. Those always get a UPS.
-
n30
hi, i have some ssd in my server. to get out full performance on those drives do i need to reconfigure anything in fbsd ? or it should work out of the box ?
-
n30
i do not run any zfs or simular
-
rwp
n30, I think everything should work out of the box. No need to do anything.
-
n30
rwp: i thought so... then i probably need to order home some new drives then ... mine is probably not healthy anymore
-
rwp
Are you having problems with an SSD at this time?
-
rwp
Some vendors are better than others. Backblaze is a useful resource of public data on different devices.
backblaze.com/b2/hard-drive-test-data.html
-
VimDiesel
Title: Backblaze Hard Drive Stats
-
rwp
They mostly have data on spinning drives but I recall SSDs being in there too.
-
rwp
-
VimDiesel
Title: New Backblaze Data Confirms SSDs Are More Reliable Than Hard Drives | Tom's Hardware
-
rwp
I have never had a good Intel or Samsung SSD fail for me but just in the last month a laptop running, ahem, windows, on a no-name SSD failed to boot.
-
rwp
Lacking other options I booted a live-boot image and ran ddrescue across the entire device until it read successfully.
-
rwp
Then used dd to rewrite the image back onto itself. And then it was able to boot again and all seems to be fast now.
-
rwp
Since I have a full image backup and therefore no risk, this is used for a flight training program only, I put the laptop back to do that task with the original SSD and it is still running.
-
rwp
The accepted wisdom is that SSD firmware is important and sometimes poor quality firmware won't refresh marginal bit storage on its own but we can trick poor quality firmware to refresh marginal storage back to health.