Page 1 of 1

SOLVED: Question about moving shares folder to new HDD

Posted: Fri Nov 25, 2016 7:04 pm
by Epedrego
Just got my HDA up and running. I mounted a new HDD using Disk Wiz and am now trying to figure out how to move all my shares to the new drive. I went through this guide, https://wiki.amahi.org/index.php/Adding ... o_your_HDA, and thought to skip to the step after the drive mounting step, but you need to copy and paste some info from the disk mounting step step. Is there a way I can move all my shares to the new drive with Disk Wiz or without having to copy and paste from the hda-Diskmount command I didn't run? I feel like I missing something here.


Thank you,

Ed(Newb)

Re: Question about moving shares folder to new HDD

Posted: Mon Nov 28, 2016 8:21 am
by bigfoot65
Is there a way I can move all my shares to the new drive with Disk Wiz or without having to copy and paste from the hda-Diskmount command I didn't run?
NO. You have to move the share folders via command line to the new drive.

You would basically need to do:

Code: Select all

mv /var/hda/files/* /var/hda/files/drives/drive1/
Remember to replace the drive1 with whatever your new drive is named.

Hope that helps.

Re: Question about moving shares folder to new HDD

Posted: Mon Nov 28, 2016 11:50 am
by Epedrego
Thanks Bigfoot. That's what I ended up doing, but I didn't actually move anything since I haven't started moving my files over to the HDA yet. I just created a new directory in the files drives/drive1 directory then went and updated the path in my shares from the dashboard. That's really all I have to do right? There's nothing special about the one liner you posted up above, right? Thanks!

Re: Question about moving shares folder to new HDD

Posted: Mon Nov 28, 2016 12:17 pm
by bigfoot65
I just created a new directory in the files drives/drive1 directory then went and updated the path in my shares from the dashboard.
That is correct when creating a new share.
There's nothing special about the one liner you posted up above, right?
That command will move all existing shares, then all you have to do is update the dashboard. It's a quick solution.

Is this one considered resolved?

Re: Question about moving shares folder to new HDD

Posted: Mon Nov 28, 2016 1:30 pm
by Epedrego
Resolved. Thank you

Re: Question about moving shares folder to new HDD

Posted: Mon Nov 28, 2016 2:53 pm
by bigfoot65
No problem.

Marking as solved.