Hello, I installed ISPConfig following the 'perfect guide' for Ubuntu 14.04 LTS and everything is working great for months. Now I have a problem of space on / . There is the configuration of my server: Code: # fdisk -l WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sda: 2000.4 GB, 2000398934016 bytes 255 testine, 63 settori/tracce, 243201 cilindri, totale 3907029168 settori Unità = settori di 1 * 512 = 512 byte Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Identificativo disco: 0x00000000 Dispositivo Boot Start End Blocks Id System /dev/sda1 1 3907029167 1953514583+ ee GPT WARNING: GPT (GUID Partition Table) detected on '/dev/sdb'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sdb: 2000.4 GB, 2000398934016 bytes 255 testine, 63 settori/tracce, 243201 cilindri, totale 3907029168 settori Unità = settori di 1 * 512 = 512 byte Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Identificativo disco: 0x00000000 Dispositivo Boot Start End Blocks Id System /dev/sdb1 1 3907029167 1953514583+ ee GPT Disk /dev/md3: 1978.9 GB, 1978886193152 bytes 2 testine, 4 settori/tracce, 483126512 cilindri, totale 3865012096 settori Unità = settori di 1 * 512 = 512 byte Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Identificativo disco: 0x00000000 Il disco /dev/md3 non contiene una tabella delle partizioni valida Disk /dev/md2: 21.0 GB, 20970405888 bytes 2 testine, 4 settori/tracce, 5119728 cilindri, totale 40957824 settori Unità = settori di 1 * 512 = 512 byte Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Identificativo disco: 0x00000000 Il disco /dev/md2 non contiene una tabella delle partizioni valida # df -h File system Dim. Usati Dispon. Uso% Montato su /dev/root 20G 17G 1,2G 94% / devtmpfs 7,9G 4,0K 7,9G 1% /dev none 4,0K 0 4,0K 0% /sys/fs/cgroup none 1,6G 792K 1,6G 1% /run none 5,0M 0 5,0M 0% /run/lock none 7,9G 4,0K 7,9G 1% /run/shm none 100M 0 100M 0% /run/user /dev/md3 1,8T 295M 1,7T 1% /home #fstab # <file system> <mount point> <type> <options> <dump> <pass> /dev/md2 / ext4 errors=remount-ro,relatime,usrjquota=quota.user,grpjquota=quota.group,jqfmt=vfsv0 0 1 /dev/md3 /home ext4 defaults,relatime 1 2 /dev/sda4 swap swap defaults 0 0 /dev/sdb4 swap swap defaults 0 0 proc /proc proc defaults 0 0 sysfs /sys sysfs defaults 0 0 devtmpfs /dev devtmpfs rw 0 0 /var/log/ispconfig/httpd/xxx.it /var/www/clients/client0/web1/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxx.org /var/www/clients/client0/web5/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxx.org /var/www/clients/client0/web7/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxx.it /var/www/clients/client0/web8/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxx.it /var/www/clients/client1/web9/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxx.it /var/www/clients/client3/web12/log none bind,nobootwait,_netdev 0 0 /var/log/ispconfig/httpd/xxx.it /var/www/clients/client4/web14/log none bind,nobootwait,_netdev 0 0 ... more sites So basically the problem is that I haven't enough space to run the server and all the services associated so I want to give to /var (that is taking the most of the space in / ) the space (almost 2 TB ) that is on /dev/md3 . What I got so far (asking on other forums too ) is to do as following: 0) stop apache service(useless ? ) 1) create a new directory /tmpmd3 2) backup /home on my pc (even if the data are useless for me ) 3) umount /dev/md3 and mount it on /tmpmd3 4) move /var to /tmpmd3 5) umount /dev/md3 and mount again to /var (also changing fstab file) 6) restore backup of /home 7) reboot system Do I do wrong if I do as described above ? I don't want to keep the server down for a long time and I obviously don't want to lose anything . I have a lot of emails, domains and websites on this server and I can't risk anything. So please can you let me know if this is the correct way of doing what I'd like to do ? Thank you very much in advance
An easy and safe way is this: https://www.howtoforge.com/use_moun...ctory_of_a_ispconfig_server_to_a_new_location
Thank you very much! it seems to be exactly my case. I try it asap and I'll let you know . EDIT: I followed the guide and everything went ok. Now the server is working great again! Thank you very much!