• 6 Posts
  • 443 Comments
Joined 3 years ago
cake
Cake day: June 12th, 2023

help-circle
  • Immich itself is running on docker, so it’s the same than every other setup. For me it just makes more sense to run that on a separate VM than keeping all the docker containers in a same operating system due to backups, manageability, access control and so on, even if it costs a bit of memory to run a full operating system. Biggest consumers on the host process list are immich-api, postgres-processes and immich. Actual used memory is around 2,5GB for the whole system with ~5GB on buffers/cache.

    But I often import hundreds of raw photos at a time from DSLR and/or 4K video footage from my drone and processing those takes quite a lot of memory. With less memory and slower drives the whole thing crashed when importing bigger batches to out of memory erros, but I suppose it could run just fine with even less than 4GB of memory, if the usage pattern is just to upload photos from your cellphone in a relatively slow pace.


  • It’s a full VM, so OS and docker creates some overhead, but before I upgraded the server it ran on far less resources and specially big imports were painfully slow. Also that’s just the number from proxmox console, so there’s likely some cache included, but stats show that the VM pulls over 10G every now and then with shorter spikes over 20GB of consumed RAM.

    As I mentioned, it can run on way less, but it feels a lot more responsive when it has enough resources.


  • 16GB of ram is a bit low for the load you’re planning. That can work, but Nextcloud and Immich are pretty hungry for memory. My immich instance right now is using 7GB of RAM and nextcloud uses a bit over 4. I have the hardware to give them pretty much all the memory they want, so those are not absolute minimum amounts, but I wouldn’t try to run either with less than 6GB allocated memory on my load (few users, about a terabyte of data on both).

    With 16GB you can pretty much forget using ZFS, but that’s not a big loss. LVM works just fine and with thin provisioning you can use snapshots too just fine. Bigger SSD/NVME for drive cache would be good. And of course all-SSD setup would be nice, but that gets expensive pretty fast. Second ethernet port might be nice to have, depends on how you’re planning to build your setup. Otherwise that hardware looks pretty good, altough I’d search for something second hand. CPU is most likely a bit overkill for what you need, I have Xeon E5-2620 v3 @ 2.40GHz and it’s running on around 10% load most of the time.


  • You’re of course correct on that, but Mullvad the company gave (somewhat) clear news release that their company is against far right (or left or any ‘far’ direction) politics. I’m not a customer and I couldn’t care less about Mullvad, but I think it’s worthwhile to keep in mind that company isn’t the same than one of it’s founders.

    Of course if that is a breaking point to you, feel free to vote with your wallet and I can very much understand the decision, but there’s very few fully reputable companies around so I can also understand if that’s not a hill to die on.


  • Don’t send spam, behave nicely, have proper configuration on postfix and dovecot, set up SPF and preferably DKIM, keep your domains reputation clean and so on. You’ll likely still end up on some lists, so you need to manually dig them trough and ask nicely for removal.

    Self hosting email has a pretty bad reputation and many will strongly advice against it, but in reality it’s really not that bad. But email as a whole is more complex beast to manage than simple website or running Jellyfin for your family and friends. You need to understand how the mail routing side of things work (SMTP itself, authentication for it encryption included and so on) and also you need to understand how DNS works and how various entries are related to mail transport. Then you’ll likely want at least some kind of spam filtering and so on. And with email you’ll need to have proper backup scenario too so that you don’t lose the likely pretty important data. All of that is perfectly doable and it’s not as difficult as many claim it to be, but there’s a bunch of stuff you need to understand and implement all of them correctly.



  • Fines are just the cost of doing business.

    In theory fines in EU don’t have a ceiling. 10% fine of companys turnover with OpenAI (or any other company running on borrowed money) would be a pretty steep cost of doing business and I don’t think all (if any) of AI-hype entities could actually swallow that.

    Obviously that’s just in theory, so far the fines have been a slight slap on the wrist, but mechanisms are in place to give actually meaningful fines for unethical practices. No one will go to jail tho, as EU doesn’t really have the power to jail US citizens.




  • It’s interesting piece of technology, but it’s not ‘radical’. The company behind the storage has done their homework and they seem to be well engineered, but the “technology” itself is pretty much as old as bonfires, people have used hot rocks to heat up tents for ‘a while’.

    But sand has pretty good thermal properties and size of these new iterations of old tech makes them pretty decent solution for energy storage with renewables. I’ve been following various ‘sand battery’ products for our own house, but the main problem with all of them tends to be the size required. In practise for our own house we’d need a sand battery roughly the size of 6m storage container (with heat pumps and all the other hardware) and that’d be so expensive that the investment wouldn’t pay itself back in my lifetime.


  • As others have said, this is something software can’t do, so there’s no linux tools for it. There is charge profiles which may help in the long run, similar than what your smartphone likely has. But that absolutely requires that your charger outputs the voltage and current your laptop requires.

    If the physical connector ‘kind of fits’ I personally wouldn’t use it, even if the voltage was correct as it’ll likely damage the connector on the motherboard and then you’re looking for a much more complex repair. Laptop power bricks are pretty cheap.





  • Don’t put words in my mouth. I didn’t say anything about not needing to be concerned, I was just interested on what kind of virus they cooked in the datacenter-incubator and how that might affect on a general population. “Deadly bacteria”, while not incorrect, is a bit clickbait-y, as it doesn’t just kill everyone and their dogs.

    Of course there are reasons to be concerned and Meta should absolutely throw boatloads of money to clean up their mess. I was just interested about the bacteria in general, where it came, how it works and so on, nothing more and nothing less. I’m across the big pond and in here environmental regulations actually work, so I personally am not the one who should get angry about the situation, but it doesn’t mean that no one should, even if I don’t explicitly say so.



  • Apparently that particular bacteria is basically everywhere on the environment and amounts of it around is pretty harmless. Datacenter just offered a nice and warm environment for it to prosper and then dumped the shitload of bacteria into water treatment system and the treatment plants can’t manage that much of it properly.

    Also, while it could be deadly, it’s more likely that you’ll have couple of miserable days on the porcelain throne. But almost any underlying condition (being old, having any kind of gut issues, having flu…) can tip the scale and instead of literally shitty ilness you’ll end up in a box.

    While Meta is of course guilty here on multiple things one might argue that local government is equally responsible since they allowed Meta to connect their sewer pipe in the first place without proper precautions. But maybe Zuck just had to have a new limousine or whatever so responsibility part was skipped.


  • Oops. I had a wrong command there at the start on text, vgcreate is for creating volume group, not lvcreate. I edited it. That would just be a syntax error of sorts, nothing would happen with a wrong command.

    USB GUI method is called ‘installer’ ;) Messing around with partitions is inherently a dangerous thing to do, no matter if you use a GUI or CLI. Today tools like fdisk or parted are pretty good at protecting yourself from yourself, but it’s still just one wrong command and your partition table is broken which will be a pain in the rear to fix.

    About the default setting, there’s plenty of reasons to not choose LVM, even if it is pretty neat. For example if you have a smaller drive on a laptop it usually doesn’t add much to even have multiple partitions at all. And also LVM has a small overhead compared to ‘raw’ partitions, so if you need to squeeze the last drop of disk-io out of the system LVM might not be the right choise. Or you might prefer zfs or brtfs. All solutions have their own pros and cons.


  • i still need to find a way to setup a simple sambashare via a web gui and a good backup solution.

    I’m running openmediavault as an VM for file shares and backups with proxmox backup server. Works pretty well. I’ve got a physical backup server in detached garage and another in a VPS which syncs the most important parts to remote location.


  • IsoKiero@sopuli.xyztoLinux@lemmy.mlWiping Windows at last but how?
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 month ago

    Swapfile refers to a file at /. As long as you have rootfs there’s a place to put that swap file too, so no worries there. Usually there’s a separate partition for swap, but that works too.

    So, what you need to do is remove sda1 and sda2 windows partitions. That’ll leave you ~520GB of unallocated space at the start of the drive. Create a partition there and set it to ‘Linux LVM’ -type. Then create LVM ‘filesystem’ on that partition, or more accurately, assign that partition as an LVM physical volume with ‘pvcreate’. After that you need to create a volume group with ‘vgcreate’. Now you’ll have 520GB allocated to LVM. Create new partition for your home with ‘lvcreate’, use all the space if you like, but at least as big as your current consumption on /home. Then create an filesystem on it and mount it as /mnt/newhome (or whatever).

    Log out with your main user and make sure there’s no processes running on that user afterwards. Then you can copy data from current home to newhome and unmount the now old home (sda8). Change fstab so that your new home will be mounted on /home (blkid to get UUID and change that to fstab). Mount new home in it’s proper place, old home partition will be unmounted at this stage. Verify that everything works.

    Now you can change your current sda8, a.k.a. old home, to Linux LVM-type, assign that as LVM physical volume and extend your volume group with vgextend to include the another partition. And now with lvextend you can expand your brand new home directory to that ~850GB total.

    But, as I mentioned, make sure that you have your backups in good shape. These steps, if done incorrectly, will destroy your data. That’s also why I’m being somewhat vague on the instructions, you’ll need to understand what you’re doing. There’s plenty of information to push you in the right direction, but trust me, it’s better for you to take a minute or two and read documentation so that you’re actually confident on the steps.