Re: disk upgrade

"Steven J. Yellin" <[email protected]> Tue, 26 Aug 2003 18:10:23 -0700 (PDT)
Newsgroups gmane.linux.redhat.release.seawolf
Message-ID <[email protected]>
On Tue, 26 Aug 2003, Chris Swenson wrote:

> I have almost run out of room on my /var partition.  I installed a new disk, 
> mounted and formated it as /var1.  I dropped to run level one, backed up var 
> to tape, rolled it out to the new disk.  All permissions are correct and so 
> forth.
> 
> I cannot umount the var partition.  I tried booting with a floppy, and some 
> other things, but no luck.  I tried a few variations in the fstab, but no 
> luck.  It still insists it has files in use.
> 
> I obviously need to do a mv of var1 to var, but I am missing something in my 
> logic here.
> 
    I don't understand the problem.  When you reboot, by toggling the
power switch if necessary, all partitions start off unmounted; so there
can be no problem with "files in use".  Right now you mount the old
partition on /var and the new one on /var1.  If you change fstab so that
it mounts the new partition on /var and mounts the old partition on /var1,
instead of the other way around, the next time you boot everything should
be as you want it.

-- 
Steven Yellin