TurnKey Linux Virtual Appliance Library

[Webmin+virtualmin] Change /home to other partition

Hi All,

 

I am pretty new to linux/virtualmin/webmin/tomcat.

I have setup a new webserver which currently hosts 5-10 websites.

Setup:

Webmin

Virtualmin

Apache

Mysql

Tomcat

 

Now one of my websites has uploaded so much data, that the default homefolder location(/home) has used 100% of the available space.

More info:

Filesystem                      1K-blocks    Used Available Use% Mounted on
/dev/sda3                         2922628  574032   2202116  21% /
udev                              5112444       4   5112440   1% /dev
tmpfs                             2048600     304   2048296   1% /run
none                                 5120       0      5120   0% /run/lock
none                              5121500       0   5121500   0% /run/shm
/dev/sda2                         5842452 1262056   4287432  23% /usr
/dev/sda5                         1495816 1420856         4 100% /home
/dev/sdb2                         1332188   52716   1212708   5% /tmp
/dev/mapper/vol_data-lv_var     101870948 1604140  95099628   2% /var
/dev/mapper/vol_data-lv_var_log   1459032  195272   1190648  15% /var/log

 

I want to move /home to:
/dev/mapper/vol_data-lv_var

 

How can I do that, and how can I make sure that all the websites keep running correctly?

 

Please help!

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)