breaking a mount point and setting up a new one

Scott H plug-discuss@lists.plug.phoenix.az.us
Sun, 8 Dec 2002 21:04:24 -0800 (PST)


> >From: George Toft <george@georgetoft.com>
> 
> > Scott H wrote:
> > I have a RH 7.3 box with a portion of the
> > partition table resembling this:
> > /dev/ida/c0d0p2 mounted at /
> > /dev/ida/c0d0p6 mounted at /var/spool
> > 
> > I want to reclaim the /var/spool partition
> for
> > other uses.  So I copy the contents of it to
> > /var/spool2 and edit /etc/fstab to remove the
> > mount of  /var/spool at boot time.  Now how
> do I
> > get spool2 renamed to spool so when it
> reboots
> > spool will be on  partition c0c0p2, under / ,
> and
> > c0d0p6 will be unused, so I can work with it?
>  (I
> > can't umount /var/spool, the device is always
> "in
> > use".  At least I can't find what is holding
> on
> > to it.  I shut down mail programs and anacron
> and
> > I'm not in the directory...
> > 
 
> Use the rescue disk and mount your filesystems
> under /mnt.  This uses a
> ramdisk so your hard drive is completely
> untouched.  I migrated an
> antire disk this way - /usr, /var, /boot, and
> /.

Thanks, George.  But I'm over an hour away from
this box, connecting via ssh.  Is there any way
to do this without a rescue disk? (I.e., without
being physically present at the server?)

Scott



.

__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com