Originally Posted by nanda22
Thank you for your kind reply, can you be please bit more clear on how to create loopbacl file on /home and mounting it with loop option
To create a file of a given size you can use dd, for example:
dd if=/dev/zero of=/home/myloopfile.img bs=1M count=1024
Will create a file full of zeros as big as 1024 MB. You then just format it:
And mount it:
mount -t ext3 -o loop /home/myloopfile.img /var/lib/mysql
Or wherever. Then you just need to add the relevant entry on the fstab file to make it permament, don't forget to include the "loop" option.