Page 1 of 1

Mounting second drive

Posted: Sun Jan 08, 2012 11:21 pm
by Gary67
Hi there,

I have just installed an Amahi headless system at home here, all went well and it's up and running and the HDA shares show up on my Windows7 desktop. However I then mounted a second drive that already has data on, the drive shows up once mounted in my dashboard but I cannot work ou how to access any of the data on it.

On another train if I do a reboot the second drive doesn't stay mounted.

Thanks for the help

Re: Mounting second drive

Posted: Mon Jan 09, 2012 12:48 am
by Gary67
I think this is what I should be doing

The hda-diskmount command will also give you the line you need to add to /etc/fstab to automatically have the drive mounted every time the server is turned on.
Use nano to edit your fstab file as root
nano /etc/fstab
and add the suggested line from the hda-diskmount command to the bottom of the file.

Could someone confirm this please.

Thanks

Re: Mounting second drive

Posted: Mon Jan 09, 2012 5:49 am
by bigfoot65
That is correct, you must add it to /etc/fstab. To access the files on it once mounted, you need to create a share and point it to that drive. For example, if its mounted at /var/hda/files/drives/drive1 then make that the path of the share. You can call it anything you like.

Then you will have access from the client to the files. For Windows, \\hda will do it.