[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] disk usage



I'm not sure you can. However, most likely, the reason
your /var partition is nearly full, is that is where
your MySQL databases are kept. If that is correct, use
the following commands to move the data directories:

mysqladmin -u root -p[password] shutdown
mv /var/lib/mysql /home
ln -s /home/mysql /var/lib/mysql
/etc/rc.d/init.d/mysql start

This will shutdown mysql, move the mysql data
directory to /home, create a symlink to the new
directory, and then start mysql again.


--- Rahadul Kabir <rkabir@xxxxxxxxxx> wrote:
> The following is the status of my RaQ4 system.
> 
> [admin admin]$ df -ah
> Filesystem            Size      Used     Avail    
> Use%     Mounted on
> /dev/md1              726M  665M   61M      92%     
>   /
> none                     0          0           0
> -          /proc
> /dev/md3              194M  16M      177M    9%     
>    /var
> /dev/md4              26G    22G       3.5G     86% 
>       /home
> none                     0             0          0
> -          /dev/pts
> 
> how can I add more disk space on  /dev/md1 (/
> partition),  /dev/md4
> (home partition)?
> please be detail, as I'm pretty new doing these
> stuff. thanks so much
> 
> 
> 
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES,
> go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users


__________________________________________________
Do You Yahoo!?
HotJobs - Search Thousands of New Jobs
http://www.hotjobs.com