SOLVED: Question about moving shares folder to new HDD

Epedrego
Posts: 21
Joined: Fri Nov 25, 2016 6:40 pm

SOLVED: Question about moving shares folder to new HDD

Postby Epedrego » Fri Nov 25, 2016 7:04 pm

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)

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

Re: Question about moving shares folder to new HDD

Postby bigfoot65 » Mon Nov 28, 2016 8:21 am

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

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

Epedrego
Posts: 21
Joined: Fri Nov 25, 2016 6:40 pm

Re: Question about moving shares folder to new HDD

Postby Epedrego » Mon Nov 28, 2016 11:50 am

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!

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

Re: Question about moving shares folder to new HDD

Postby bigfoot65 » Mon Nov 28, 2016 12:17 pm

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

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

Epedrego
Posts: 21
Joined: Fri Nov 25, 2016 6:40 pm

Re: Question about moving shares folder to new HDD

Postby Epedrego » Mon Nov 28, 2016 1:30 pm

Resolved. Thank you

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

Re: Question about moving shares folder to new HDD

Postby bigfoot65 » Mon Nov 28, 2016 2:53 pm

No problem.

Marking as solved.
ßî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 26 guests