0

I have two ssd disks, Disk B is devoted to /home, and disk A is the filesystem and is 90% empty.

So I made on disk A a partition /dev/sda3 with 80% of the free space. Now I am wondering what is the best way to somehow add the newly created partition to my /home which is located at /dev/sdb1?

2
  • Um, I'm gonna have to say that your question is quite unclear.. Please clarify it!! :)
    – SirCharlo
    Jul 19, 2012 at 16:33
  • Well, it may be open ended, since I am open to different suggestions, but unclear, I don't reckon :)
    – corev
    Jul 19, 2012 at 18:31

2 Answers 2

1

Add a line in /etc/fstab for that disk and it will be mounted automatically i.e.

/dev/sdXY /mnt/data   ext4 noatime,noexec

You can mount it somewhere else and create a soft link to a folder under your home with big files (say downloads or something) and spread the files between the two

ln -s /mnt/data /home/alifish/downloads

with

df /home/alifish/downloads

you should see the true location of the directory

0

You can't make /home point to 2 drives/partitions. What you could do, however, is move your largest /home subfolder to /dev/sda3, then mount that under /home.

3
  • Well, the problem is that actual /home is 120GB but the restored space is 80GB. I tried to chown the new partition to my user to use it as an extra partition available but each time it needs root password to open the partition. It is a rather dirty solution, so I hoped there is a better one.
    – corev
    Jul 19, 2012 at 17:09
  • add a line in /etc/fstab for that disk and will be mounted automatically. You can mount it somewhere else and create a soft link to a folder under your home with big files (say downloads or something) and spread the files between the two
    – jet
    Jul 19, 2012 at 17:36
  • jet, would you elaborate on the solution as a separate answer please. I'll choose it as it sounds quite good.
    – corev
    Jul 19, 2012 at 18:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .