Filesystem fun

Alan Dayley plug-discuss@lists.plug.phoenix.az.us
Mon, 26 May 2003 11:49:03 -0700


Using parted, you will probably end up doing this:

Delete hda2
Move hda3 (now knows as hda2, I think) to start where the old hda2 started
Resize hda3 to take in all 26 gigs.

Alan

On Monday 26 May 2003 11:36, Robert.Wultsch@asu.edu wrote:
> My system looks like this (although none of the mounting has been done):
> hda1: 3  gigs ext3  mounted at /
> hda2: 6  gigs vfat  empty
> hda3: 20 gigs ext3  mountes at /home
> hda4: .5 gigs swap  swap
>
> It is a laptop so I only have one hd and adding a raid controller, although
> something that I think that they should do on laptops, is not an option. I
> have already backed up everything so if I get a mushroom cloud it is not
> the end of the world.
>
> #man parted
> here I come!
>
> On Mon, 26 May 2003, Entelin wrote:
> > What you want is the program "parted"
> > http://www.gnu.org/manual/parted-1.6.1/ . Backup your data before you
> > use it. However if I were you I would either redo the whole hard drive
> > or take that 6 gigs, repartition it and mount it on /usr and /var
> > depending on your use.
> >
> > My guess is that your hda2 is mounted at / correct? and you dont have
> > anything split up anywhere? If thats the case I would take that and
> > split it into a .5 gig partition that you mount at /var, and take the
> > remaining 5.5 and mount it on /usr.
> >
> > -----------------------------------------------------------------
> >
> > I typed a bunch of stuff below this line before I realised you were only
> > using two partitions not two hard drives. However I will keep it there
> > as it might be useful to someone.
> >
> > -----------------------------------------------------------------
> >
> > You would need to configure RAID level 0, you can do that eather with a
> > hardware controller (which you probably dont have) or linux software
> > RAID. I have personaly never done it because when I have wanted to do it
> > its always been with a hardware raid controller. However keep in mind
> > that RAID 0 will decrease your reliability due to the fact that if you
> > loose one drive your whole system is hosed.
> >
> > For info on RAID goto www.tldp.org there are numerous documents there on
> > the subject.
> >
> > However under linux you normaly don't need to do this like you are
> > saying because you can simply mount the additional data in a different
> > location to free up that space on your other drive.
> >
> > On Mon, 2003-05-26 at 10:40, Robert.Wultsch@asu.edu wrote:
> > > More fun from me on filesystems. I am trying to ditched vfat, but as i
> > > do not have another unix box in the house and do not have the first
> > > clue about how to get samba working (that will wait for another day) I
> > > am copying my 6 gigs of stuff into a vfat partition, and then copying
> > > it into a ext3 partition.
> > >
> > > How do I get me hda2 (ext3, 20 gigs) to eat my hda3 (vfat, 6 gigs) so
> > > that it is one big hda2 (ext3, 26 gigs)?
> > >
> > > Or would this be easier with reiser or xfs?
> > >
> > > Thanks for any possible help...
> > > ---------------------------------------------------
> > > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > > To subscribe, unsubscribe, or to change  you mail settings:
> > > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
> >
> > --
> > Entelin <entelin@users.sourceforge.net>
> >
> > ---------------------------------------------------
> > PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> > To subscribe, unsubscribe, or to change  you mail settings:
> > http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>
> ---------------------------------------------------
> PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
> To subscribe, unsubscribe, or to change  you mail settings:
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss