Koozali.org: home of the SME Server

Question regarding mounts in /etc/fstab

Offline StuartTaylor

  • *
  • 18
  • +0/-0
Question regarding mounts in /etc/fstab
« on: September 20, 2007, 01:59:59 AM »
After having read the guide on add another HDD to SME I have been wondering if its is possible to move users home directories by mounting /home/e-smith/files/users to another folder on a larger disk in /etc/fstab

I have been mounting files in ibays to a large disk using this technique and it works a treat, however I have found moving e-smith user home directories breaks their email. 

Is there a way to move the Maildir/ that doesn't involve breaking email altogether?

Offline StuartTaylor

  • *
  • 18
  • +0/-0
Re: Question regarding mounts in /etc/fstab
« Reply #1 on: September 20, 2007, 08:20:14 AM »
Reading a little further,  The mount wont move files for you, you have to move the files to the target folder and then mount


so for example

first copy the files in /home/e-smith/files/users/ to you large disk say /mnt/bigdisk/

Then add the line in the /etc/fstab to mount the users dir to the bigdisk and everything should work ok.