Confirm Action

Are you sure you wish to do this?

Confirm Cancel
Member Login

Site Notices
Posted: 8/27/2015 1:21:51 PM EDT
I have Ubuntu 15.04 x64 installed on my home computer,

the boot is already a SSD, but the /home directory is getting full

I bought a larger SSD drive today(Samsung 850 Pro Series 256GB SATA III 6Gb/s 2.5" Internal Solid State Drive (SSD) MZ-7KE256BW),
thinking I would just clone the old to the new

coworker mentioned just doing a fresh install of Ubuntu on the new SSD and copy the old /Home directory onto it, but getting all the right drivers to get this thing up and running
has me a bit shy of doing a fresh install.. everything is working just fine...I want as little down time as possible.

here is what I have:

red_5@arfcom:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev             16G     0   16G   0% /dev
tmpfs           3.2G  9.3M  3.2G   1% /run
/dev/sda1        39G   16G   22G  42% /
tmpfs            16G   96M   16G   1% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs            16G     0   16G   0% /sys/fs/cgroup
/dev/sda5        71G   63G  4.1G  94% /home
/dev/sdb2        15G  2.4G   12G  17% /var
tmpfs           3.2G   52K  3.2G   1% /run/user/1000
/dev/sdd1       1.8T   48G  1.7T   3% /media/red_5/leia
/dev/sdc1       917G  791G   81G  91% /media/red_5/r2d2
/dev/sdb5       901G  483G  373G  57% /media/red_5/c3po

View Quote

I've got 32gb ram and an i7 3770k cpu and a high-end video card, so this thing performs quite well as is.

Link Posted: 8/27/2015 2:13:38 PM EDT
Originally Posted By RED_5:
View Quote


i expect that your "home PC" has an available SATA port?

if so, why don't you just add the new SSD, partition it, and mount it as /home-tmp, copy all of your /home files over, unmount it, unmount /home, and remount the new SSD as /home and do whatever you want with the old /home partition space...

Link Posted: 8/27/2015 3:59:17 PM EDT
the new ssd is much faster

I do have one more sata port available and was entertaining reusing the 'old' ssd when the new one was up and running.
Link Posted: 8/27/2015 4:09:21 PM EDT
[Last Edit: 8/27/2015 4:14:09 PM EDT by ar-jedi]
Discussion ForumsJump to Quoted PostQuote History
Originally Posted By RED_5:
the new ssd is much faster
I do have one more sata port available and was entertaining reusing the 'old' ssd when the new one was up and running.
View Quote

the OS will be on the "old" SSD.  (mount point /)
your data will be on the "new" SSD.  (mount point /home)

your OS is on the slower, older SSD.  there is not a lot of downside to this.
your data is on the faster, newer SSD.  this is good.
your reads/writes are now spread across two SATA interfaces, which will be faster.

separation of OS and data makes recovery easier.
old SSD fails?  no data lost.  get new SSD, install OS, mount /home, you are back in business.
new SSD fails?  no problem.  get new SSD, restore data from backup using the tools on your current OS.  you are back in business.

just remember,
1) if you have enough RAM (4-8GB should do it), don't use swap on an SSD.
2) enable either continuous or periodic TRIM on the SSD; i am a fan of periodic.


Link Posted: 8/31/2015 12:44:42 PM EDT
found this and almost got it to work


worked fine until I got down to the "Moving /home into /old_home"

finally said fkit and remarked the appropriate line in fstab.

winner winner chicken diner

thanks for the suggestion
Top Top