ubuntu at tigershaunt.com
Wed Sep 14 14:57:23 UTC 2011
On 09/14/2011 10:00 AM, R Kimber wrote:
> My /usr partition is getting fairly full (86% use) and I wondered if there
> was anything simple that I could do to extend its effective size before any
> problems arise. I have plenty of space on other partitions, including one
> that is unused.
> Of course, I could re-install, or I could use LVM, but I was wondering
> whether there was a simpler approach - e.g. by making a link (hard or soft?)
> between /usr and a directory on the empty partition? Would the system see
> that as just one larger /usr?
> I'm not looking for the ideologically purest way of doing it - in the long
> run I shall re-install and re-partition - just the simplest and quickest to
> avoid any immediate problems while I get on with other stuff.
> - Richard.
Making a soft link if a directory in /usr to a space in another
partition should work jut fine.
In theory, /sbin should have everything you need to have a working shell
you can use to recover if something goes wrong with the link. In
practice, you might find yourself using a live distro to fix any
oopses. You'll probably want to use the live boot system to move/link
the directory in the first place.
More information about the ubuntu-users