• 5 Posts
  • 229 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.



  • 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.



  • 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.



  • Well, moving partitions is at least a bit tricky and somewhat unreliable. So, unless you do a full repartitioning you will have sda1 with 520GB(ish). Current /home partition you can extend to fill the ~550MB from end of the drive.

    Then it’s up to you what you want to do with that 520GB. One option would be to build LVM (or zfs if you wish, LVM likely makes more sense on your case) setup from that and current /home partition and that way you could have ~850GB logical partition for home. Or you can just format the new sda1 as ext4 and mount it to /home/youruser/Media or whatever and have your home directory data split to two different partitions.

    But whatever you decide, when messing around with partitions make absolutely sure that your backups are in good shape. One small error somewhere and your data might be gone, or at very least you need to learn how to rebuild partition tables. Also when changing partitions check that your fstab uses UUIDs instead of device paths or your system may not boot cleanly. Broken fstab is fairly simple to fix, but it’s easier to check that while the system is up and running.


  • I definitely didn’t suspect there to be a whole new standard of wireless communication to that.

    There’s multiple. Some devices are on wifi, some on z-wave and as zigbee is getting quite a lot of support from vendors I’ll likely add that to the mix soon-ish. Also I could use bluetooth for some automations, but at least for now I don’t really see any advantages over that.

    As for pihole, it’s main DNS server for devices in my network and rest of the family uses the net quite a lot too (IPTV and streaming services included) so any longer downtime would cause at least annoyance for them so it’s nice to have an option to keep things running and take my time to maintain hardware or whatever. I of course could change DHCP server to offer something else too, but it’s simpler and faster to just migrate a VM to another host.


  • Is there a benefit for splitting your services on 2 hosts?

    I don’t know about OPs situation, but I have a mini-PC as proxmox hypervisor too addition to my main server. Mini-PC is located middle-ish of the house as it’s running home assistant with ZWA-2 and the location helps a lot with Z-wave coverage. But added benefit is that I can (within the pretty strict resource limits) move VMs to the mini-pc when doing maintenance on main server. It’s pretty handy to move PiHole and some other small stuff to another host so that everything on network still functions even if one hypervisor is down.


  • I don’t have Fedora around, but in general just install all the desktop environments you wish from package manager. Most (if not all) login managers support changing the environment on every login. I don’t remember exactly how that works on plasma login manager, but there should be a pretty obvious menu item to pick from before inputting your password.

    You obviously need to have autologin disabled in order to see the selection screen.


  • Would spamming low effort comments to fill a quota then fall under the spam bit, not necessarily self promotion bit?

    Possibly, but there’s equally gray area that what counts as low effort spamming and what actually contributes to the conversation. For example I’ve replied to comments “I’m using X to do Y” with “I’m using X too and I’m happy with it” to give an opinion to possible solutions. That kind of comments are easy enough to throw out and, if the “10% rule” is interpreted strictly, it isn’t really obvious if they should be considered as “improving your ratio” or as a part of actual conversation.


  • I disagree that it would be the same than no rule at all, in my opinion that gives a pretty clear position on what’s allowed and what’s not without setting any strict limits so there’s some room for interpretation for community/mods to act.

    Maybe rephrasing a bit helps: “This community is not an advertising platform. Self promotion is allowed only from active members of this community. Excessive promotion will result on post removals and/or ban from the community.”

    What I’m afraid is that if there’s a strict rule then someone will argue that “only 9,87% of my posts are promotion, I don’t deserve a ban” even the rest of their content has little to no value for the conversation. And, since it’ll be a rule for the community, I personally think it should apply as it’s written, so it should have some kind of option to weed out smartasses trying to game the system in place.

    But I’m not likely to promote anything around here, so for me it doesn’t really matter, just trowing out my thoughts about the matter.


  • I worry a bit that its getting unwieldy, so feel free to suggest options to clean up the language a bit.

    I would just keep it simple: “Self promotion for your product is allowed, but this is not an advertising platform. Be sensible and participate to community. Abuse will result in post removal.”

    I don’t think it really helps to place any arbitary limit as it might just result on spamming low-effort comments so that your “quota” stays under the 10% rule and also posting about your fantastic FOSS project daily could be equally annoying. That 10% rule could be useful when deciding if something should be removed and obviously free projects should have more relaxed “limits”, but in general what counts as abuse can be decided by community feedback.


  • I personally have installed Mint (Debian edition) with similar needs. Absolutely zero input might be a bit much to ask, since user should be aware of that something is going on before shutting everything down, but when that’s taken care of the unattended upgrades work just fine. Just recently I had to fix a laptop with mint to friend of a friend because upgrade was interrupted. Just running ‘dpkg --configure -a’ followed by apt upgrade and apt dist-upgrade did the job, so not big of a deal for me, but for the owner of the machine that would’ve been pretty much impossible task since they just refuse to learn even the slightest amount of their computer and have a very short temper on anything like that. And I can kind of understand that too, at least up to a point. There are things which I just can’t be arsed to learn which are equally easy to different people.