1

How to move/mount system folders to a new drive/partition (command-line)?

view story
linux-howto

http://askubuntu.com – I want to move / mount my Plesk webspace folder as well as my MySQL databases to another partition. (In this case its a newly isntalled raid partition to provider better performance and more storage) The raid partition is /mnt/bigraid (/dev/md11p1) The actual Plesk webspace folder is /var/www/vhosts The actual MySQL folder is /var/lib/mysql This is how my fdisk -ls looks: root@j064:/var/lib/mysql# fdisk -ls Disk /dev/sda: 128.0 GB, 128035676160 bytes 255 heads, 63 sectors/track, 15566 cylinders, total 250069680 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (log (HowTos)