Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 605  / 2 Years ago, thu, january 20, 2022, 2:02:14

I have an EEE PC 901 that has 2 SSD drives 4 GB and 8GB.



I Installed "Ubuntu 10.04 LTS - the Lucid Lynx", and I'm very happy with it.



My only problem is that If I go to my home/ or "File System" I only have 168MB, but if I go to "16 GB File System" (mounted in /media/) I have 8.4 GB.



My question is, Is it possible to join (something like unpartitioning, if that's even a word) the 2 disks?



Or is it possible to put some parts of linux on one disk and others on the other?



Additional Info:
Result from ">df -h"



Filesystem            Size  Used Avail Use% Mounted on
/dev/sda1 3.5G 2.8G 606M 83% /
none 493M 272K 493M 1% /dev
none 497M 1000K 496M 1% /dev/shm
none 497M 88K 497M 1% /var/run
none 497M 0 497M 0% /var/lock
none 497M 0 497M 0% /lib/init/rw
/dev/sdb1 15G 5.7G 8.4G 41% /media/9c9235be-7475-4448-9b05-b9222dce7660

More From » 10.04

 Answers
2

During the Ubuntu installation you can choose to do manual partitioning, and then you can tell it to put /home on a different disk/partition immediately.



If you want to do it after installing, you can move everything in /home on sda1 (including hidden files!) to the root of the 8 (or 16?) GB disk sdb1, and then add something like the following line to /etc/fstab:



/dev/sdb1        /home           ext4    relatime        0       2


(Of course if you formatted the second SSD as another type of filesystem, make sure you replace 'ext4' by the right one!)



Moving those files is best done from a live CD/USB because moving them while running the system is probably not going to be liked by some applications... But make sure you change fstab on the first SSD and not on the system running from the USB stick (or CD) then!






BTW: "joining" multiple physical disks to 1 virtual disk can be done with LVM, but that's probably more complicated than you want right now... (And RAID 0 is for joining two disks of the same size, so not really useful here.)


[#41525] Thursday, January 20, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
istmasted

Total Points: 287
Total Questions: 130
Total Answers: 153

Location: Burkina Faso
Member since Thu, Dec 23, 2021
2 Years ago
istmasted questions
;