Illustration of a squid holding a GameBoy

8bit's weblog

Adding a new drive to a Linux server

What does every homelab server need? Storage! And this time I was lazy, connecting the drive and packing up before actually setting up the drive. Doing so took a little bit of digging, so I'm making a note of the steps for the next time I need to do this.

This is based on a wonderfully detailed post on the GNU Parted warning: "The resulting partition is not properly aligned for best performance", found here.

This assumes the newly mounted drive is at /dev/sda, check your path or you might overwrite your boot drive!



Recent posts