Can I use external hard drive with laptop for self hosting? - eviltoast

Or is this a bad idea?

Reading through !selfhosted, I think I have found a new hobby. I have an old laptop HP ProBook 450 G5 4WU81ES.

16gb ram, solid CPU, shitty integrated gpu, and only 256gb ssd. Barely enough for system and some apps. Battery life maybe 30min unplugged so I take it as an UPS.

So the question again is, can I have permanently plugged external hdd to use as extension for this purpose?

  • 2xsaiko@discuss.tchncs.de
    link
    fedilink
    English
    arrow-up
    16
    ·
    1 year ago

    People host stuff on Raspberry Pis, so why not a laptop. One limit you might have is USB speeds, especially if you want to add more drives.

    • darkan15@lemmy.world
      link
      fedilink
      English
      arrow-up
      5
      ·
      1 year ago

      Just so you know it is possible, you can probably disable sleep or other things the laptop does by default when you close the lid, so you can leave it running while the lid is closed.

      Did this with my old Dell laptop (that is running Debian server now), and now I access it over ssh while the lid is closed and very rarely open the lid and do stuff on the actual device directly.

          • 2xsaiko@discuss.tchncs.de
            link
            fedilink
            English
            arrow-up
            1
            ·
            1 year ago

            Ah, okay! I remember this being discussed when I saw this image posted for the first time, and that’s where I got that info from.

        • valkyre09@vlemmy.net
          link
          fedilink
          English
          arrow-up
          1
          ·
          1 year ago

          I took the screen off my old dell laptop and turned it into a mini blade server with built in UPS. It ran for years. I have no doubt the battery was knackered by the end.

          The only reason I replaced it with a Mac Mini 2012 was because it didn’t support usb3 and 4K video saturated the usb bandwidth.

          Now my 2012 runs Ubuntu server + docker for those interested :)

    • baked_tea@sh.itjust.worksOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Yeah I know laptop itself is not a problem just wondering about stability of USB connected disk. Got some good replies already I will give it a shot

      • rarkgrames@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I don’t think it would be a problem. I have 4 usb drives hooked up to a Mac mini M1 that I use for coding and running Plex. Very rarely do I have any issues.