[SOLVED] I want some advice about partition schemes on 1 SSD, and 2 HDDs.
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've used Linux with 1 SSD and 2 HDDs (1TB each).
And today I suddenly had a question about partition schemes.
For a long time, I partitioned my disks as below.
Code:
/dev/sda - 256G SSD.
- /dev/sda1: EFI System: 512M
- /dev/sda2: for root: rest
pv: /dev/sdb, /dev/sdc
vg: linux with /dev/sdb, /dev/sdc
lv: linuxswap: 8G
lv: linuxhome: rest
Now, are there any other good options for me?
or is it bad in some way?
Nobody here can advise if it's good or bad because for you because we don't know your use case.
Looks ok for a desktop system, as I'm assuming you're mounting the linuxhome lv on /home and want the space to store your user files.
Partitioning scheme questions are like What's your favourite distro?EVERYONE will have an opinion and none of them are right for every single use case!
Distribution: Mainly Devuan, antiX, & Void, with Tiny Core, Fatdog, & BSD thrown in.
Posts: 5,493
Rep:
Basically, as long as your files are kept separate from the O/S, so that the O/S can be upgraded without affecting them, it boils down to how you want to work with them.
Me, I give / about 5~10GB, depending on distro & usage of machine, because I don't add a lot of extra software, & the rest is for my stuff. Sometimes it is just /home, other times it is /home & /data, others have /music & /media or /videos on a separate partition.
Partitioning scheme questions are like What's your favourite distro?EVERYONE will have an opinion and none of them are right for every single use case!
Thanks for your reply! I was worried about whether that scheme has technical flaws or not. If it's all right, then I'll stick to these.
Thanks again!
Since your data is spread over two disks sdb and sdc, the MTBF of the whole setup is shorter than a single disk. In other words, your data is a little bit more at risk than if it were on a single disk.
Since your data is spread over two disks sdb and sdc, the MTBF of the whole setup is shorter than a single disk. In other words, your data is a little bit more at risk than if it were on a single disk.
Therefore, don't forget backing it up.
OK! I also worried about that and thinking about writing some script and tarball the important directories.
Thanks!
I've used Linux with 1 SSD and 2 HDDs (1TB each).
And today I suddenly had a question about partition schemes.
For a long time, I partitioned my disks as below.
Code:
/dev/sda - 256G SSD.
- /dev/sda1: EFI System: 512M
- /dev/sda2: for root: rest
pv: /dev/sdb, /dev/sdc
vg: linux with /dev/sdb, /dev/sdc
lv: linuxswap: 8G
lv: linuxhome: rest
Now, are there any other good options for me?
or is it bad in some way?
Putting SSD as root and boot disk is a good idea. But, if you want fast reaction times I would also recommend to put /home/userx on the SSD. Then you can mount /dev/sdbx under /home/userx/folder where you expect alot of data, or just for convenience. And perhaps /home (/dev/sdbx)
Other than that there are considerations such as making a separate /boot (/dev/sdax) and /opt (/dev/sdbx) as well and even things like /tmp and /var could be considered. You could drop the SWAP if you have enough RAM as well. 8 or more GB ram I would definetely not use Swap, probably not at 4gb either, depending.
If you use SSD and sdb (hdd) like this, SDC would be ideal for aditional distroes etc and raw storage (/mnt?). Like someone said, it depends on your own needs and preferences. But here is how I would do it personally:
SSD
/dev/sda1 EFI
(/dev/sda2 /boot if I need, 2-5gb)
/dev/sda2 / (50-75gb)
/dev/sda3 /home (200gb)
512M for the EFI System sounds a bit excessive to me. I'm thrifty with my disk space. 100 to 200MB should be enough.
I definitely think 8G for swap is too much unless you want to use hibernate to disk. I have been using exactly none for longer than I can remember and my machine performs very well.
I use suspend to RAM every day. I reboot my box about five or six times a year. I never needed hibernate to disk.
TenTenths said it best. There is not one right answer for that.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.