[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: splitting root partition into root, usr, var etc.
From: |
Albannach |
Subject: |
Re: splitting root partition into root, usr, var etc. |
Date: |
Wed, 4 Dec 2002 20:30:45 +0000 |
On Tuesday 03 December 2002 22:59, Andrew Clausen wrote\n%s:
> On Tue, Dec 03, 2002 at 12:22:52PM +0100, Sven Hartrumpf wrote:
> > Hi all.
> >
> > We have some Linux boxes (SuSE 7.2 and 8.1) sitting around that do not
have
> > separate partitions for /, /usr, /var etc. :
> >
<snip>
>
> > 2. Has anybody tested/documented a safe method to split "/" in a way
described
> > above? (Without reinstalling, of course.)
>
> Yes and no. There aren't any simple point-and-click methods, though.
> You can use convertfs, but this is really only targetted at experienced
> users / hackers. (Yes, we should incorporate this into parted, but
> it isn't really obvious how this should be done)
>
> You can find out more about convertfs here:
>
> http://members.optusnet.com.au/clausen/ideas/convertfs
>
> Cheers,
> Andrew
If you have suffecent free space,
you can shrink / to the minimum size, create the partitions you want,
then drop to the shell, and move the files into the new partition(s).
If / is almost full this might not be possible, or might take several passes,
one per partition.
This was the approach I used when I split of /usr and /home from my main
partition.
One common partitioning system is
/
/var
/usr
/home
with /tmp pointing into /var/tmp/
This of course assumes you trust your users not to fill /var/tmp/
If not, it will need its own partition (a lot of daemons get unhappy if you
fill /var/spool or /var/log ).
HTH
CS Miller
>
>
>
> _______________________________________________
> Bug-parted mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-parted
>
>