@bernard, my first option to solve this problem was to clean all the unnecessary data from the server including all the logs, the problem is that even after clean up the /var still remains full, i have actually done du -hs on almost all the folders in /var, their total space doesnt add up the total allocated to /var from the df -h results.
@wash i am about to test on creating a symbolic links as you indicated, only that i don't know whether the mysql.sock will work with this setting.

On Mon, Jun 4, 2012 at 11:44 AM, Odhiambo Washington <odhiambo@gmail.com> wrote:


On Mon, Jun 4, 2012 at 11:16 AM, Felix mwai <flxxmw@gmail.com> wrote:
Thanks Benard, Do you think some services might stop working if i completely migrate the entire var to the external hard disk?

Drop to single user mode
Mount the new filesystem on whatever mountpoint you wish (let's call it /bigstore)
mkdir /bigstore/var
cd /
dump -L0af - /var | (cd /bigstore/var; restore -rf -)
umount /var
vi /etc/fstab and comment it out
ln -s /bigstore/var /var
reboot into multiuser mode

I hope Linux supports growfs so you could reclaim the partition you just umounted into /




On Mon, Jun 4, 2012 at 11:13 AM, Bernard Mwagiru <bmwagiru@gmail.com> wrote:
I believe you can mount extra storage and soft link /var to it.
Or you can NFS share a network storage to /var.


./bernard



On Mon, Jun 4, 2012 at 11:10 AM, Felix mwai <flxxmw@gmail.com> wrote:
Hi Guys,
One of my web server runs ubuntu server 10.10. I installed it on a 200GB harddisk and assigned /var 70GB but now seems to be full, anyone know whether i can mount a 1TB external harddisk on var and manage to extend the space to 1070GB, i have tried using LVM in vain.



_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke



--
Regards
Felix Mwai
Software Developer.
Mobile 0720453684.


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke



--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
I can't hear you -- I'm using the scrambler.


_______________________________________________
Skunkworks mailing list
Skunkworks@lists.my.co.ke
------------
List info, subscribe/unsubscribe
http://lists.my.co.ke/cgi-bin/mailman/listinfo/skunkworks
------------

Skunkworks Rules
http://my.co.ke/phpbb/viewtopic.php?f=24&t=94
------------
Other services @ http://my.co.ke



--
Regards
Felix Mwai
Software Developer.
Mobile 0720453684.