[ale] moving filesystems/resizing

John Wells jbwellsiv at yahoo.com
Wed Mar 20 14:20:50 EST 2002



Geoffrey,

Thanks again for the info.

Say I want to put both just /home on /dev/hda1.
After running mke2fs -j on the partition, do I simply
create a temporary mount point for it, copy the
contents of /home to this mount point, update
/etc/fstab to mount hda1 to /home on the next boot, mv
the old /home to /home_old (for safety), and then
remount /dev/hda1 to /home?

If so, what's the safest way to copy the full contents
of /home?  Can I just do something like:
tar -cvf - /home | (cd /tempmnt; tar -xvfp -)
?

Thanks!

John
--- Geoffrey <esoteric at 3times25.net> wrote:
> If I recall you said you had hda1 which was a
> windows partition you were 
> going to trash.  If this is correct, you could
> reformat that partition 
> for /home /var /, leaving your hda6 for /usr.  This
> is based on the 
> assumption that /usr is relatively large in
> comparison to the others 
> (/home /var /)
> 
> John Wells wrote:
> > Geoffrey,
> > 
> > My bad. We were in a bit of a rush when installing
> so I let the RH install
> > handle the partition (bad idea). This means that
> /boot is mounted on hda5
> > and everything else falls on hda6. What I'd like
> to do is slice the
> > existing filesystem on hda6 into a few separate
> filesystems (/usr /var
> > /home, etc.).
> > 
> > Thanks,
> > 
> > John
> > 
> > 
> > ---
> > This message has been sent through the ALE general
> discussion list.
> > See http://www.ale.org/mailing-lists.shtml for
> more info. Problems should be 
> > sent to listmaster at ale dot org.
> > 
> > 
> > 
> 
> 
> -- 
> Until later: Geoffrey		esoteric at 3times25.net
> 
> I didn't have to buy my radio from a specific
> company to listen
> to FM, why doesn't that apply to the Internet
> (anymore...)?
> 
> 
> ---
> This message has been sent through the ALE general
> discussion list.
> See http://www.ale.org/mailing-lists.shtml for more
> info. Problems should be 
> sent to listmaster at ale dot org.
> 
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be 
sent to listmaster at ale dot org.






More information about the Ale mailing list