Disk space shortage

30 views
Skip to first unread message

Don Johnston

unread,
Jun 22, 2012, 3:47:44 AM6/22/12
to auc...@googlegroups.com
I installed Linux Mint 13 LTS on my EeePC 901. "/" is on the 4 Gb SSD
and /home is on the 16 Gb SSD. The 4 Gb SSD ran out of space when I
tried to install some software.

I would like to continue to use the 4 Gb SSD for "/". I want to allow at
least 8 Gb for the /home partition if possible.

Suggestions would be appreciated.

Don Johnston

Kennedy Skelton

unread,
Jun 22, 2012, 4:29:12 AM6/22/12
to auc...@googlegroups.com
Make a separate partition for /usr on the 16gb drive, and assign 8gb to /usr and 8gb to /home
 
Or perhaps more realistically, about 6gb for /usr and 10 for /home. Depends how much you expect to use.
 


Don Johnston

--
You received this message because you are subscribed to the Google Groups "AuckLUG" group.
To post to this group, send an email to auc...@googlegroups.com.
To unsubscribe from this group, send email to aucklug+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/aucklug?hl=en-GB.


Jethro Carr

unread,
Jun 22, 2012, 6:02:10 AM6/22/12
to auc...@googlegroups.com
hi Don,

Assuming you'll always have both SSDs connected at the same time, you
should create:

- A 200MB /boot partition on the primary SSD.
- An LVM physical volume across the rest of the primary SSD.
- An LVM physical volume across the entire secondary SSD.


You then define a single LVM volume group that includes both physical
volumes, which will give you a pool of storage of around 20GB.

You can then create LVM logical volumes of any size you like within that
20GB - if you want 6GB of / and 8GB for /home, you can do so. :-)


Note:

* This is assuming that both SSDs have comparable performance - this
setup isn't so good with drives of differing performance as it can slow
the faster drive down.

* Assuming both SSDs are always connected, you won't be able to remove
either SSD without breaking the filesystems. (without going to the
effort of LVM downsizing anyway)

* LVM is amazing, once done you can add, delete, shrink and grow
partitions at will, without any of the normal annoying partition table
issues.


regards,
jethro

--
Jethro Carr
www.jethrocarr.com
signature.asc

Don Johnston

unread,
Jun 22, 2012, 6:21:48 AM6/22/12
to auc...@googlegroups.com
Sounds good except that the 4 Gb drive is substantially faster than the
16 Gb drive. For that reason, I will probably use Kennedy's suggestion
of putting /usr on the 16 Gb drive. This will involve shrinking of /home
which contains data.

Don Johnston

Reply all
Reply to author
Forward
0 new messages