I'm not a complete noob, but recent hardware changes meant having to deal with some unfamiliar issues
I don't have a dual boot system - just a single install of Kubuntu 14.04 [64bit] on a desktop PC I put together myself
A new UEFI capable motherboard, an SSD disk and the desire to run a backup to an old HDD have led me into unfamiliar territory
Using "GParted-Live" installed on a pen drive I successfully set up my drives with GPT partitioning and then installed Kubuntu 14.04, again from a pen drive
I decided to follow the convention for ssd's and create separate areas for /home, /var and /tmp
This is how my disks are partitioned [approximately]:
ssd 128Gb
sda1 /boot/efi FAT32 550Mb
sda2 / EXT4 32Gb
hdd 500Gb
sdb1 swap linuxswap 32Gb
sdb2 /var EXT4 24Gb
sdb3 /home EXT4 400Gb
hdd 150Gb
sdc1 /mnt/backup EXT4 150Gb
this is my fstab [uuids blurred]:
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=88888888-4444-4444-444-cccccccccccc / ext4 noatime,errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=4444-4444 /boot/efi vfat defaults 0 2
# /home was on /dev/sdb3 during installation
UUID=88888888-4444-4444-444-cccccccccccc /home ext4 defaults 0 2
# /var was on /dev/sdb2 during installation
UUID=88888888-4444-4444-444-cccccccccccc /var ext4 defaults 0 2
# swap was on /dev/sdb1 during installation
UUID=88888888-4444-4444-444-cccccccccccc none swap sw 0 0
# tmp file moved post install
tmpfs /tmp tmpfs defaults,mode=1777 0 0
# /mnt/backup on sdc1 put here post install
UUID=88888888-4444-4444-444-cccccccccccc /mnt/backup ext4 defaults 0 2
my questions are:
- what options should I use in fstab for my drives to optimize performance and security, particularly with the way I have the /var and /tmp partitions set up
- what are the optimal sizes for my partitions
Some suggestions I have seen on the Internet can cause system instability - such as System Updates being unable to run properly.
In my ignorance I also worry about system security and am unsure what options I should be using, especially with the /tmp area
Is the way I have things set up somewhere near correct, in my version shown above, or do I need to make radical alterations?
I would appreciate some advice as my Google searches haven't turned up anything that seems reliable and I don't have the competence to feel confident about my setup.
[I'm using rdiff-backup as a cron.hourly job to provide my backups]
I don't have a dual boot system - just a single install of Kubuntu 14.04 [64bit] on a desktop PC I put together myself
A new UEFI capable motherboard, an SSD disk and the desire to run a backup to an old HDD have led me into unfamiliar territory
Using "GParted-Live" installed on a pen drive I successfully set up my drives with GPT partitioning and then installed Kubuntu 14.04, again from a pen drive
I decided to follow the convention for ssd's and create separate areas for /home, /var and /tmp
This is how my disks are partitioned [approximately]:
ssd 128Gb
sda1 /boot/efi FAT32 550Mb
sda2 / EXT4 32Gb
hdd 500Gb
sdb1 swap linuxswap 32Gb
sdb2 /var EXT4 24Gb
sdb3 /home EXT4 400Gb
hdd 150Gb
sdc1 /mnt/backup EXT4 150Gb
this is my fstab [uuids blurred]:
# <file system> <mount point> <type> <options> <dump> <pass>
# / was on /dev/sda2 during installation
UUID=88888888-4444-4444-444-cccccccccccc / ext4 noatime,errors=remount-ro 0 1
# /boot/efi was on /dev/sda1 during installation
UUID=4444-4444 /boot/efi vfat defaults 0 2
# /home was on /dev/sdb3 during installation
UUID=88888888-4444-4444-444-cccccccccccc /home ext4 defaults 0 2
# /var was on /dev/sdb2 during installation
UUID=88888888-4444-4444-444-cccccccccccc /var ext4 defaults 0 2
# swap was on /dev/sdb1 during installation
UUID=88888888-4444-4444-444-cccccccccccc none swap sw 0 0
# tmp file moved post install
tmpfs /tmp tmpfs defaults,mode=1777 0 0
# /mnt/backup on sdc1 put here post install
UUID=88888888-4444-4444-444-cccccccccccc /mnt/backup ext4 defaults 0 2
my questions are:
- what options should I use in fstab for my drives to optimize performance and security, particularly with the way I have the /var and /tmp partitions set up
- what are the optimal sizes for my partitions
Some suggestions I have seen on the Internet can cause system instability - such as System Updates being unable to run properly.
In my ignorance I also worry about system security and am unsure what options I should be using, especially with the /tmp area
Is the way I have things set up somewhere near correct, in my version shown above, or do I need to make radical alterations?
I would appreciate some advice as my Google searches haven't turned up anything that seems reliable and I don't have the competence to feel confident about my setup.
[I'm using rdiff-backup as a cron.hourly job to provide my backups]
Comment