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

help-circle
  • 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
    4 days 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.


  • Find two more selfhosters and they will criticize both of us!

    Absolutely. However I’d argue that some BSD variant is at the other end, not Gentoo, so there’s at least some critics to you ;).

    I’m running proxmox and (mostly) Debian on top of that, and I’m sure that there’s someone thinking I’m doing things the wrong way.

    With Windows Servers I think the bigger problem is that there’s way less people running things on top of it, so there’s less knowledge about problems and solving them. However, many of us are on corporate IT jobs too and thus have to work with Windows, so that might somewhat cancel out the difference in popularity.



  • In the grand scheme of things the only thing on my server stack that’s really worth anything is immich. The rest will have very little value to anyone once I’m gone. Plan is to create printed books from the photos and those should stay accessible for the future generations, our archive just needs a ton of work on creating those photos and possibly adding descriptions on who’s on the pictures and when they’re taken.

    I don’t really plan for ww3 nor solar flare frying half of the planet, but one thing that’s a real problem is that if something happens to myself. My wife or kids don’t know how to manage/access a majority of the stuff there is even if their everyday digital life is using network and services in it I’ve built. They’ll be just fine without pihole or jellyfin, but data in immich/nextcloud is valuable and bus factor for the digital environment is pretty low.

    I should at least verify that all server passwords are on my bitwarden vault and set up dead mans switch on that. Then they can at least get someone to pull the data out of the systems or even hire someone to maintain them. Best option would be if one of the kids would learn the ropes, but so far it doesn’t seem like they’re interested on anything like that.


  • Obviously there’s a ton in successful email hosting since it’s not just configuring few services. Proper DNS-records and privilege controls are mandatory, you need to occasionally clear up your domain/IP from spamlists (specially at the start) and single mistake can ruin your DNS reputation quite quickly which then takes time to build back.

    But it’s still perfectly doable and, when you have proper knowledge on how the whole circus actually runs, not too difficult either. Only problem is that there’s no longer money on just email hosting since cloud hosting offers much more than just emails for the price a small gamer can’t just compete with. At least around here.


  • I flagree that hosting email servers on residential IPs is a recipe for being filtered and blocked

    Unless your ISP gives you a static address and agrees to change PTR record to your server address. Then it’s no different than any other server on the internet. Obviously odds are that you’re not getting one or if it’s an option they’ll likely charge more than VPS is going to cost you, but it’s not unheard of.

    But for the actual topic, I don’t get the myth either. I’ve got a good old postfix+dovecot setup running and the only problem I have is that spam filtering isn’t quite as good as with commercial providers, but the handful of trash coming trough is easy enough to take care of manually.


  • IsoKiero@sopuli.xyztoLinux@lemmy.mli have a few questions
    link
    fedilink
    English
    arrow-up
    12
    ·
    1 month ago
    1. You likely don’t need any of those with linux

    2. Generally not in a way that windows has. Windows installers tend to have libraries and everything they need to run and that’s why they can work over generations of operating systems. Some linux packages and executables are self-contained, but vast majority is not. Some applications work with newer versions of shared libaries, some do not. It really depends on application and hoarding them isn’t really something you generally need to do as package manager on your distribution will have up-to-date versions available anyways.

    3. I’m not quite sure what you mean, but I’m going to say no.

    4. Wine and proton work just fine without steam

    5. Yes and yes

    6. Yes

    7. Yes, normal applications don’t rely on internet access. With hoarding, look for 2nd answer.

    8. Yes


  • Sounds reasonable approach to me. Also I’d include VPS and other cloud services too. “Is this VPS enough to run NextCloud” is a perfectly reasonable question for this community just like “is my old thinkpad good for…”. I don’t think there should (nor can) be a hard rule about what hardware to use. Questions obviously outside of self hosting (e.g. “what GPU I should by to play minecraft”) should go elsewhere but otherwise I don’t think there’s even a real need to limit activity.

    And also there’s a half a dozen of posts here daily (unless mods remove posts really efficiently). My opinion is that even if the post could go to some other community but leans to self-hosting side of things it can stay. Maybe if there was tens or hundreds of posts daily it would make more sense to limit what goes, but as things are now I don’t think any kind of (in a lack of a better word) gatekeeping is beneficial to this community nor anyone else.