I'm resending this... having a look at the archives it doesn't appear to have come out too well!
Chris On Wed, 2003-03-19 at 18:59, Chris Sherlock wrote: > I'm suprised no-one has suggested using parted. The best way I've found > for using parted is run linux in single user mode, unmount the /var > filesystem and from the command-line run parted. > > [EMAIL PROTECTED] root]# init 1 > . > . > . > > [EMAIL PROTECTED] root]# umount /var > [EMAIL PROTECTED] root]# parted > GNU Parted 1.4.24 > Copyright (C) 1998, 1999, 2000, 2001, 2002 Free Software Foundation, > Inc. > This program is free software, covered by the GNU General Public > License. > > This program is distributed in the hope that it will be useful, but > WITHOUT ANY > WARRANTY; without even the implied warranty of MERCHANTABILITY or > FITNESS FOR A > PARTICULAR PURPOSE. See the GNU General Public License for more > details. > > Using /dev/hda > Information: The operating system thinks the geometry on /dev/hda is > 9729/255/63. Therefore, cylinder 1024 ends at 8032.499M. > (parted) print > Disk geometry for /dev/hda: 0.000-76319.085 megabytes > Disk label type: msdos > Minor Start End Type Filesystem Flags > 1 0.031 1200.168 primary ext3 boot > 2 1200.168 51199.343 primary ext3 > 3 51199.343 61200.747 primary ext3 > 4 61200.747 76316.594 extended lba > 5 61200.778 63248.093 logical FAT lba > 7 63248.124 70001.982 logical ext3 > 6 75798.905 76316.594 logical linux-swap > > (parted) > > Just find out how to use the resize command, should be fine! Oh, you'll > need to know which is your /var partition. > > Simple... if you aren't sure about parted, the info file for parted is > *really* good, with lots of examples and everything. If you don't have > this, try www.gnu.org and look at their manuals section. Should be > there. > > Good luck! > > Chris > > > > > > >From here > > System is running RedHat 7.3. Below is the structure of my partitions > > currently. > > > > [EMAIL PROTECTED] root]# df -h > > Filesystem Size Used Avail Use% Mounted on > > /dev/sda6 372M 78M 275M 22% / > > /dev/sda1 45M 8.8M 34M 21% /boot > > /dev/sda5 20G 857M 18G 5% /home > > none 251M 0 251M 0% /dev/shm > > /dev/sda2 45G 854M 41G 2% /usr > > /dev/sda7 251M 191M 46M 81% /var > > > > Unfortunately during the install I let the installer automatically partition > > for me. This machine is a web server with Apache 1.3.27 and MySQL 3.23.54. > > Currently all the web files reside in /home/www/ which has plenty of room. > > However the MySQL data is on /var which is quickly running out of space. Is > > there a way that I can take space for the /usr partition and use it on /var? > > Or would it be easier (or my only option) to configure MySQL to store data > > on the /usr partition? Any help would be greatly appreciated! > > > > Regards, > > > > Billy -- Chris Sherlock <[EMAIL PROTECTED]> -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED] https://listman.redhat.com/mailman/listinfo/redhat-list