Awesome, go for it! ansible (more or less) is directed ssh. inventory, role, playbooks + templates, etc; for learning, definitely go for it! if you were to roll your own automation framework, you’d end up w/ansible.
Awesome, go for it! ansible (more or less) is directed ssh. inventory, role, playbooks + templates, etc; for learning, definitely go for it! if you were to roll your own automation framework, you’d end up w/ansible.
Are you crossing a physical boundary?
If you have rw on dest but not src “Moves” (copy=>delete) can look like this
All it takes is for a lone soldier deep in a nest to have r - -
could be a perm issue
how many devices do you need to update?
ansible wants to have a home base and an inventory of devices to manage. for example, if you have a flock of Rasberry Pi’s and a server stashed under a desk somewhere, yes, ansible is 100% going to simplify your life.
ansible mgmt from a device to that same device… It might be just as easy to make backups and track your file deltas. the temptation is to use ansible so you remember what changes you made, but it can be a pia when you need to do a quick shift and have to go thru the playbook (unless you have playbooks on the ready).
what you are attempting is called high availability; it might not be worth it; usually would need three different physical devices (in a homelab situation)…a load balancer to route traffic, and two nodes to handle said traffic. to perform your storage upgrade, you pull one device out of the load balancer, do your upgrade, and then add it back in. then, you do the same for the other load balancer. this would have 100% service availability…but this is a lot of work for a one-person show!
do that for fun - you do you. however, if you can handle a few hours of downtime and don’t want to burden yourself with the long time care+feeding the above setup will require…
remember you can use USB boot, mount both your drives, and then if you are lucky, your distro (on USB) will have a disk management/cloning utility.
click click click, boom…you have bit perfect copy of small M2 on to large M2.
Do not change your small M2! power down, swap 'em, and power on! if it doesn’t work, you still have your OG M2 to boot from.
there are backup/restore utilities and other ways, each taking more and more time…but M2 is pretty quick.
Leave ‘em behind.
What should be and why it is, two diff questions…
A terminal renders a single glyph in a grid. That’s it. This stems from the days from before - when there was no graphics instruction to render anything different, and link speeds could be, on bad days, slower than typing speeds.
Terminal rendering evolved to include ANSI instruction to manipulate the rendering-color, grid position, etc.
However, at its core, is this limitation…a glyph in a grid…and this limitation is due to how slow terminals are.
Terminals originally operated at a serial baud rate where one could nearly type faster than the transmission speed.
X windows…was designed…to not have these limits.
Terminal emulation is handy, but … it is limited. By definition retro. If a terminal doesn’t work…move on…and make something that does :)
Excellent. It is very very very tweakable.
Enlightenment says:
“Welcome”
For sure.
My point was more … first time, ever, you boot a raw device, a display can be handy unless you know what you are doing. Once it survives a reboot…
After that, if you need a GUI — just run an x windows server on your main rig; interact with your remote server as the client without the need of a display.
Nothing wrong with that, right? As Bob Dylan says, everyone serves someone.
if OP doesn’t have the passion or time for DIY, the reality is an ecosystem awaits.
Sometimes you just want to pop a QR code, screw your light in and then have your smart speaker / phone just so it’s thing.
the key is who will offer what OP needs without farming data for resale, or, worse, criminal enterprise.
Apple home kit is the way to go imo for those who don’t want to DIY
Usually it’s handy to have a display during initial setup and cfg. Also, with x windows port forwarding … you access your server gui over a network like god intended :)
Whaaa? The web service provider?
A NAS serves data to clients; I know this is tilting conventional wisdom on it’s head but hear me out: go for the most inexpensive, lowest power storge-only-NAS that you can tolerate, and instead…put your money into your data transport (network) and into your clients..
As much as possible, simplify your life - move processing out of middle tiers, into client tiers.
Microsoft: “first time?”
Sony: “god hates idiots.”
No trackball? Tsk ram :)
Great pic
you could probably roll your own pretty easily, just prowl around /proc etc
https://tldp.org/LDP/Linux-Filesystem-Hierarchy/html/proc.html
Actually…for a NAS, your network link is your limit.
You could have 4xPCIe5 M.2’s in full-raid, saturating your bus w/64Gb/s of glory, but if you are on 1Gb/s wifi, that’s what you’ll actually get.
Still, would be fun to ssh in and dupe 1TB in seconds, just for the giggles. Do it for the fun!
Remember, it is almost always cheaper and fast enough to use a Thunderbolt / high-speed USB4/40Gbs flash drive for a quick backup.
why is youtube the vehicle for this message?
whaat…c arrays are safe, just make sure to avoid bugs & use cases that make them unsafe! ;P
imo, when safety is required, use a diff language with in grammar options.
https://ziglearn.org/chapter-1/#runtime-safety