Migrating what's in /var will kill any service that depends on what's in /var.
Consider checking (df -h and df -sh can give different results ) what's feeling your /var/www and moving that data to the extra storage. Cleanup logs. Clean up your temp folder. Clean up /var/cache/apt. Most likely, extra storage will also fill up if you have heavy logging.
Short shot: Backup/tar up var. Mount extra storage as /varx. Restore /var to /varx.
./bernard
Thanks Benard, Do you think some services might stop working if i completely migrate the entire var to the external hard disk?--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.
./bernardOn 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