----- Original Message -----
From: "dfox" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, April 23, 2002 10:05 PM
Subject: Re: [newbie] moving /var partition


> > My /var partition is getting full (http server and discussion board). I
have
> > new 30GB hard drive to add and want to move the /var partition to the
new
> > drive.
>
> How big is your existing /var, and do you have /var/spool mounted under-
> neath it or on a separate partition? Here, I had run out of space on
> /var and /var/spool/news. I originally dedicated a spare 1.6 meg drive to
> house both, but that's nowhere near enough. I dedicated a 5 meg slice
> for news and all of my 1.6 gig spare for /var (news logs are *huge*).
>
> Anyhow, if you partition that 30 gig drive beforehand you might have
> some extra space to throw tarballs of the existing /var partition. I have
> 10 gig or so left on / so I just throw the tarballs into /tmp. That way
> I don't have to use the tape drive :).
>
> Archiving /var is a little tricky. Since processes may write to it, or own
> files on it, you really need to shutdown (telinit 1) to single-user mode
> before proceeding. Next, figure out how much room to give /var, and
> tar up /var somewhere:
>
> # tar cvf /tmp/var.tar /var
>
> Then you can unmount /var:
>
> # umount /var
>
> redo a file system (I use reiserfs here) with reiserfs, remount /var over
> on the new partition (i.e., mount /var /dev/hdb1) and untar your archive
> you created in step 1. All that's remaining is to redo your /etc/fstab
> so that /var points to the proper drive & partition, and it has the
> proper filesystem.
>
> I've done this numerous times with success. Having the available space to
> store the partition data before you mess with anything makes it a lot
> easier, of course.
>
>
>
I'm going nuts with this:
No matter what I do it takes several hours to get my system back to sorta
the way it was.
hda was not used before (unplugged old Win HD not used in 2 years) :)
hdb Nothing
hdc current harddrive with /root, home
hdd cdwriter
Mandrake has been running for over a year on this conf. 8.0, upgrade to 8.1,
upgrade to 8.2. The problem started with the 8.1 to 8.2. In 8.1  I had
partitions for /root, etc, home, var,  usr and swap. after 8.2 I have root ,
home, and swap but swap looks like it is mounted under /. Var was folded
into root and the var space on the disk was given to home. The end result:
root still is ok, Home is 15G and Var is part of root with almost nothing.
1) and most inportant and seems to be the biggest problem: How do I get the
currrent hdc to be hda (the old win drive is removed)
2) add a new drive as hdb (then put the /var part on it)
3) make the CD writer hdc
4)kiss ms goodbye, opps did most of that many years ago, No inportant info
stored or used on a ms machine, only games.



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to