I changed second path to '''''/var/hda/files''''' to enable all shared files to be stored on the secondary hard drive. This is the default path for ''//hda'' file storage system.
If you get the following error "bash: ./Diskmounter.sh: Permission denied" try executing the following without the commas:
'chmod 755 Diskmounter.sh' - After executing that command you should be able to execute the Diskmounter.sh script.
If you get "./Diskmounter.sh: line 48: pmount: command not found" try running the following without the commas:
'yum -y install pmount' - Then try again executing the Diskmounter.sh script.
If you get something similar like "Disk /dev/dm-0 doesn't contain a valid partition table" or "mount: unknown file system type 'lvm2pv'" its because you have LVM's that 'fdisk' cant recognise, (or something like that) its nothing to worry about if you get that when executed the Diskmounter.sh script.
(Credit to cpg)
=If the script doesn't work for you=