[gobolinux-users] Mounting /Programs on another partition
Jonas Karlsson
jonka750 at student.liu.se
Sun Mar 4 22:58:39 UTC 2007
2007/3/4, Aitor Pérez Iturri <atuin at phreaker.net>:
> El Sun, 4 Mar 2007 14:41:14 -0300
> "Lucas C. Villa Real" <lucasvr at gobolinux.org> escribi__:
>
> > The best approach is to use unionfs in this case, as some programs
> > need to be in the root filesystem (BootScripts, Bash, CoreUtils, Glibc
> > and possibly others). Just put the extra programs in a separate
> > partition and then merge them with /Programs. Should work pretty fine.
> >
>
> I was thinking on unionfs as a possible solution, but it has some
> drawbacks; my original problem is that i'm getting out of space in hda1
> (/ partition) so i have prepared another one.
> With unionfs i will have hda1 mounted as root partition and hda2 (with
> all Programs) merged with it. When i write a new program, it will come
> to hda2, fine, but if i remove a file in /S/S (in hda1) for example and
> after that i write a new one, it will come to hda2, if that file was a
> file involved in boot process i could have problems when booting.
>
> I'm not very used with unionfs and maybe this behaivor can be changed,
> any with experience with unionfs could get me some tips on how to do
> that.
>
I think Lucas idea was to mount the new partition over /Programs and
not over /. This way /S/S is still on hda1 but all new programs are
written on hda2.
But when I think about it, if you upgrade any application that is
involved in the boot process things may break,
> On the other hand i was thinking also on lvm (i'm preparing a recipe for
> lvm2), but this involved too much work, create new volumes and move all
> my data.
>
Yes, I've been looking at lvm, but haven't had the time to integrate
it with GoboLinux. You're welcome to try and share your wisdom
afterwards :)
--
/Jonas
More information about the gobolinux-users
mailing list