Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Encrypted disk - Change /home

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
arivar
Posts: 4
Joined: 2018-05-05 21:38

Encrypted disk - Change /home

#1 Post by arivar »

Hi,

I have successfully installed debian 9, but I want to make a change in my configuration. At the moment all the partitions are on my SSD driver:

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 119.2G 0 disk
├─sda1 8:1 0 512M 0 part /boot/efi
├─sda2 8:2 0 244M 0 part /boot
└─sda3 8:3 0 118.5G 0 part
└─sda3_crypt 254:0 0 118.5G 0 crypt
├─debian--vg-root 254:1 0 28G 0 lvm /
├─debian--vg-swap_1 254:2 0 15.9G 0 lvm [SWAP]
└─debian--vg-home 254:3 0 74.7G 0 lvm /home
sdb 8:16 0 931.5G 0 disk
sdc 8:32 1 30G 0 disk

I would like to change /home to a new (encrypted) partition on my sdb driver, which is HDD and larger. Any one know how can I do that?

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Encrypted disk - Change /home

#2 Post by p.H »

Yes, but are you sure you want to move all /home from the SSD to a hard disk ? It will slow down access to everything in /home (browser cache, mailboxes, config files...).

arivar
Posts: 4
Joined: 2018-05-05 21:38

Re: Encrypted disk - Change /home

#3 Post by arivar »

You're right. Would you kind suggest a better setup ? Thanks

arzgi
Posts: 1185
Joined: 2008-02-21 17:03
Location: Finland
Been thanked: 31 times

Re: Encrypted disk - Change /home

#4 Post by arzgi »

p.H wrote:Yes, but are you sure you want to move all /home from the SSD to a hard disk ? It will slow down access to everything in /home (browser cache, mailboxes, config files...).
Has some measured time difference between ssd and hd?

A few years ago computer magazines wrote, that best thing to speed up system is to change to ssd. So I bought one, installed / threre, /home, /var and /tmp on own partitions, but did not notice any difference. Boot is even slower, because my pc run out of sata connections, and had to buy pci-card, which sata connectors. Boot is slower, because bios does not see root partition.

Or maybe it is just my brains, which I should soon replace :D

p.H
Global Moderator
Global Moderator
Posts: 3049
Joined: 2017-09-17 07:12
Has thanked: 5 times
Been thanked: 132 times

Re: Encrypted disk - Change /home

#5 Post by p.H »

arivar wrote:Would you kind suggest a better setup ?
Leave /home on the SSD and store big data files on the hard disk.

Post Reply