Page 1 of 1

CLOSED: Moving shares

Posted: Tue Aug 08, 2017 3:30 pm
by rickym
I am new to both linux and Amahi. Got Fedora 25 and latest Amahi installed no problem and in general going well. Only worked with windows servers before so this is a little confusing. When I installed originally I just had the one hd which I was really just planning on using it for system. I have added another 2 tb drive now and it's mounted and all looks ok. I see where you can add shares in the dashboard but confused on how to designate which drive they go to as I want everything on the new large drive. I am an old man so be patient. :lol: Thanks in advance.

Re: Moving shares

Posted: Tue Aug 08, 2017 5:11 pm
by bigfoot65
First of all, how did you mount the second drive?

To move the shares to the other drive, you would need to do the following:

Code: Select all

sudo mv /var/hda/files/sharename /path/to/new/drive
The /path/to/new/drive would be replaced with the path to your new drive.

Once you have moved them, you would then need to update the path in the dashboard, Shares tab to reflect the new path.

Make sense?

Re: Moving shares

Posted: Wed Aug 09, 2017 9:14 am
by rickym
Ok since I am new and though I have read a lot it's still confusing. I used disk wizard to add a second drive through the gui and it added no problem. What I am confused about is when I go to add a share and have 2 drives I don't see a setting in the gui to say which drive the share goes on.

Re: Moving shares

Posted: Wed Aug 09, 2017 10:23 am
by bigfoot65
when I go to add a share and have 2 drives I don't see a setting in the gui to say which drive the share goes on.
All shares will default to your OS drive.

Ensure you have enabled Advanced Settings. Also in the dashboard, you click on the share to expand the window and show additional properties (see match shares with users for an example).

Re: Moving shares

Posted: Thu Aug 10, 2017 8:16 am
by rickym
Ok then I need to make sure I understand. With disk manager installed do all moving and also creating of shares have to be done by command line or can it be done in the web gui? That's whats hanging me up on moving my shares. Thought I could do it in gui.

Re: Moving shares

Posted: Thu Aug 10, 2017 8:30 am
by bigfoot65
With disk manager installed do all moving and also creating of shares have to be done by command line or can it be done in the web gui?
All has to be done command line. disk-wizard App only formats and mounts drives. The actual moving of files/folders needs to be done via command line for this scenario.

Where did you get the indication you could do it via the web UI? For MS Windows you could, but not in Linux with a headless server.

Re: Moving shares

Posted: Thu Aug 10, 2017 8:35 am
by rickym
Always been a windows user so thought it might actually be easy. I guess when I get experienced it will become easy. Thanks so much for clearing that up. Really appreciate it.

Re: Moving shares

Posted: Thu Aug 10, 2017 8:41 am
by bigfoot65
No problem.

It's not bad, just have to learn the basics to make it easier.

Should we consider this resolved?

Re: Moving shares

Posted: Thu Aug 10, 2017 11:19 am
by rickym
Consider this resolved as I tried command line and was unsuccessful. So now I am running openmediavault and having much more success.

Re: Moving shares

Posted: Thu Aug 10, 2017 12:08 pm
by bigfoot65
Sorry to hear you were unsuccessful.

If you would like to have your accounts deleted, please email support.

Marking this as closed.