John Wolford wrote:
>
> Many a howto have i read.
>
> Here's the situation: My /usr partition has become
> full. I would like to simply create a lager partition
> and then copy over all the files from /usr and make
> the necessary changes in fstab and remount.
>
> I tried 'cp -a' and um...tarballing with permissions
> etc, and ....i'm not sure if i tried anything else.
> (Why? Because i had this problem a while ago and
> finally i gave up and reinstalled with a larger
> partition. This of course seems absurd but i was
> pressed for time and couldn't get any help from my
> local linux gurus)
>
> I would be "successful" but when i would boot up and
> log in, almost any program i ran from /usr would cause
> a segmentation fault and result in a core dump. I
> tried reinstalling the offending packages but that was
> a very limited solution and didn't always work (that
> gcc or make wouldn't work didn't make things any
> easier). I looked through for any symbolic link
> problems and i didn't have a lot (or any, that i can
> remember) dead links. I'm wondering if there is
> somewhere a reference to /dev/hdx (x=a1,b5,c, etc)
> that also needs to be changed.
>
> By the way, i also considered maintaining a /usr2
> directory (like in, oh, say, Windows...) but one of my
> local linux-gurus advised me that doing that would
> result in an administrative nightmare.
>
It's possible you had a fluke situation. I've done the
procedure myself many times. Add a new drive, cp -a some
of the old tree to it, update fstab and run with it. I've
moved entire systems to new drives that way with no
problems.
I usually take a running system, partitiona nd format the
new drive make a temp mount under /mnt and cp -a the data
over. Remove the old section of tree (leaving a directory
to mount to), remount the new partion in place and make
everything permanent in fstab.
Just some insight,
Woody ([EMAIL PROTECTED])
---------------------------------------------------------------
Gatewood Green Web Developer
http://www.linux.org/ The first stop for Linux info on the Net
Email: [EMAIL PROTECTED]
---------------------------------------------------------------
All opinions expressed by me are my own and not necessarily
endorsed by Linux Online, Inc. or Linux Headquarters, Inc.