Mounting second drive

Gary67
Posts: 27
Joined: Sun Jan 08, 2012 11:15 pm

Mounting second drive

Postby Gary67 » Sun Jan 08, 2012 11:21 pm

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

Gary67
Posts: 27
Joined: Sun Jan 08, 2012 11:15 pm

Re: Mounting second drive

Postby Gary67 » Mon Jan 09, 2012 12:48 am

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

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Mounting second drive

Postby bigfoot65 » Mon Jan 09, 2012 5:49 am

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.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 19 guests