Hey everyone, I've got a Linux home server running, and it currently has three hard drives (1TB, 1TB, 640GB). The current partitioning scheme is as follows:
/dev/sda contains all of the stored data on the server.
/dev/sdb gets rsync'd from /dev/sda twice a week, copying/updating all data in case /dev/sda fails or an important file is deleted. It should be noted that rtorrent data is not backed up.
/dev/sdc is a dedicated hard drive for rtorrent.
I will soon be adding a 2TB WD20EARS hard drive to this system, and would like to do some re-partitioning while I'm at it. Here's the proposed scheme I've come up with:
In this scheme, I have decided to move all OS and root partitions to the same drive as rtorrent, sacrificing some space, but keeping all of the dynamic data away from the static data stored on larger drives. I would love to add a small OS drive into the mix, but unfortunately the server only has four HDD bays, and I'd prefer to use them all for data of some kind.
Backup regiment will be the same as before: twice a week, data will be copied/updated from the main drive to the backup drive. By adding a 2TB hard drive, I am essentially giving myself another 1TB of space for storage, and an additional 1TB of backup.
This partitioning scheme seems logical enough to me, but I was curious if any of the wiser and more experienced minds here at [H]ardForum had any advice for me on how to improve this scheme. I do have a 16GB USB flash drive I don't use, but I question its abilities to contain the operating system and run 24/7, so I don't think this solution is viable.
Advice on improving this partitioning scheme would be greatly appreciated! Thank you so much for your time.
Code:
Current:
* /dev/sda (1TB 32MB cache)
- /dev/sda1 - 8GB SWAP
- /dev/sda2 - 1GB /boot (ext4)
- /dev/sda3 - 20GB / (root) (ext4)
- /dev/sda4 - EXTENDED
- /dev/sda5 - 20GB /home (ext4)
- /dev/sda6 - 886GB /srv (XFS)
TOTAL: ~935GB
* /dev/sdb (1TB 8MB cache)
- /dev/sdb1 - 935GB /mnt/backup (XFS)
TOTAL: ~935GB
* /dev/sdc (640GB 16MB cache)
- /dev/sdc1 - 587GB /srv/rtorrent (ext4)
TOTAL: ~587GB
/dev/sda contains all of the stored data on the server.
/dev/sdb gets rsync'd from /dev/sda twice a week, copying/updating all data in case /dev/sda fails or an important file is deleted. It should be noted that rtorrent data is not backed up.
/dev/sdc is a dedicated hard drive for rtorrent.
I will soon be adding a 2TB WD20EARS hard drive to this system, and would like to do some re-partitioning while I'm at it. Here's the proposed scheme I've come up with:
Code:
Proposed:
* /dev/sda (640GB 16MB cache, formerly /dev/sdc)
- /dev/sda1 - 4GB SWAP
- /dev/sda2 - 0.5GB /boot (ext4)
- /dev/sda3 - 10GB /root (ext4)
- /dev/sda4 - EXTENDED
- /dev/sda5 - 20GB /home (ext4)
- /dev/sda6 - 552.5GB /srv/rtorrent (ext4)
TOTAL: ~587GB
* /dev/sdb (2TB 64MB cache, new drive)
- /dev/sdb1 - 1.81TB /srv (XFS)
TOTAL: ~1.81TB
* /dev/sdc + /dev/sdd [LVM] (1TB 8MB cache, 1TB 32MB cache, formerly /dev/sda + /dev/sdb)
- /dev/lvm1 - 1.81TB /mnt/backup (XFS)
TOTAL: ~1.81TB
In this scheme, I have decided to move all OS and root partitions to the same drive as rtorrent, sacrificing some space, but keeping all of the dynamic data away from the static data stored on larger drives. I would love to add a small OS drive into the mix, but unfortunately the server only has four HDD bays, and I'd prefer to use them all for data of some kind.
Backup regiment will be the same as before: twice a week, data will be copied/updated from the main drive to the backup drive. By adding a 2TB hard drive, I am essentially giving myself another 1TB of space for storage, and an additional 1TB of backup.
This partitioning scheme seems logical enough to me, but I was curious if any of the wiser and more experienced minds here at [H]ardForum had any advice for me on how to improve this scheme. I do have a 16GB USB flash drive I don't use, but I question its abilities to contain the operating system and run 24/7, so I don't think this solution is viable.
Advice on improving this partitioning scheme would be greatly appreciated! Thank you so much for your time.