Help understanding moving LZ.

da9els
Posts: 25
Joined: Wed Oct 13, 2010 12:18 pm

Help understanding moving LZ.

Postby da9els » Sat May 28, 2011 12:57 pm

Hey Gents

I'm trying to add a faster disk as landing zone and at the same time move LZ away from OS disk. But I'm having trouble understanding the procedure and need to have it explained as if I was had no idea whats going on (I don't have any idea of whats going on).
My main concern is the two steps I've marked with bold.
Procedure
· (This step is optional) First, you might want to wait until the Greyhole is done working on the latest changes. You can check that by looking at /var/log/greyhole.log: look for Sleeping...
log lines. Doing so will speed up the whole process of moving your LZ.
· Stop the Samba service. (If you're using Amahi, you'll want to turn off the Watchdog option in the Setup > Advanced > Servers page, and then stop the service.)
· Stop the Greyhole service. (If you're using Amahi, you'll want to turn off the Watchdog option in the Setup > Advanced > Servers page, and then stop the service.)
· Move the LZ from it's old path to the new path. You can do so using the file browser in X, or using the command line (eg. mv /var/hda/files/videos /var/hda/files/drives/drive1/videos)
Make sure the permission of the new directory is correct, especially if you created empty directory manually instead of moving old one. (eg. chmod 775 /var/hda/files/drives/drive1/videos)
· Edit the share path (Location on Amahi) to reflect the new path.

· Repeat the last two steps for all the shares you'd like to relocate.
· Restart the Greyhole service. (If you're using Amahi, you'll want to turn back on the Watchdog option in the Setup > Advanced > Servers page, and then start the service.)
· Restart the Samba service. (If you're using Amahi, you'll want to turn back on the Watchdog option in the Setup > Advanced > Servers page, and then start the service.)
· For good measure, you should run greyhole --fsck. While it shouldn't be required if you correctly moved the content of the old LZ into the new LZ, it won't hurt to check!
Move the LZ from it's old path to the new path. You can do so using the file browser in X, or using the command line (eg. mv /var/hda/files/videos /var/hda/files/drives/drive1/videos)
Do I add my new disk as eg. /var/hda/files/drives/drive1 and move /var/hda/files/*(all shares - including transmission torrent DL folder and Greyhole Recycle Bin) to this new mount, or how am I supposed to understand it?
Edit the share path (Location on Amahi) to reflect the new path.
How do i do that? Where do i do that?


I'm so freaked out that I'm considering reinstalling Amahi :o

/daniel

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Help understanding moving LZ.

Postby gboudreau » Sun May 29, 2011 4:09 am

Move the LZ from it's old path to the new path. You can do so using the file browser in X, or using the command line (eg. mv /var/hda/files/videos /var/hda/files/drives/drive1/videos)
Do I add my new disk as eg. /var/hda/files/drives/drive1 and move /var/hda/files/* (all shares - including transmission torrent DL folder and Greyhole Recycle Bin) to this new mount, or how am I supposed to understand it?
Yes. Move all shares from their old locations (/var/hda/files/*) to your new faster disk (/var/hda/files/drives/drive1 or similar).
Edit the share path (Location on Amahi) to reflect the new path.
How do i do that? Where do i do that?
In the Amahi Dashboard, go in the Shares page, and for each share that you moved to a new location (/var/hda/files/drives/drive1/something), change the value of the Location field from /var/hda/files/something to /var/hda/files/drives/drive1/something
- Guillaume Boudreau

da9els
Posts: 25
Joined: Wed Oct 13, 2010 12:18 pm

Re: Help understanding moving LZ.

Postby da9els » Sun May 29, 2011 7:26 am

Thanks for the answer :) It all seems so simple now... And thanks a million for Greyhole! It is probably my favourite piece of software since Tetris!

da9els
Posts: 25
Joined: Wed Oct 13, 2010 12:18 pm

Re: Help understanding moving LZ.

Postby da9els » Sun May 29, 2011 10:28 am

What about the 'drives' folder? Is that to be moved to? I'm not quite sure on the structure as you might have guessed.

EDIT: Nvm.. I've figured it is not a share :geek:

da9els
Posts: 25
Joined: Wed Oct 13, 2010 12:18 pm

Re: Help understanding moving LZ.

Postby da9els » Mon May 30, 2011 1:40 am

Now i'm at it again!
After moving my Transmission DL folder, Transmission still wants to put downloads in /var/hda/files/torrents. I've edited /etc/init.d/amahi-transmission and /var/lib/transmission/.config/transmission-daemon/settings.json and changed DL folder location. I've also changed the path inside Transmission via Transmission Remote GUI but when i add a new torrent it's default path is still /var/hda/files/torrents. What am I missing?

Ohh yeah. The Amahi-6.1-Express-v1-x86_64.iso reports "No tracker" but is still able to download?! (Yes I've decided to upgrade to 6.1 ;))

User avatar
gboudreau
Posts: 606
Joined: Sat Jan 23, 2010 1:15 pm
Location: Montréal, Canada
Contact:

Re: Help understanding moving LZ.

Postby gboudreau » Mon May 30, 2011 5:03 am

You should start a new thread in the apps forum about Transmission.
- Guillaume Boudreau

da9els
Posts: 25
Joined: Wed Oct 13, 2010 12:18 pm

Re: Help understanding moving LZ.

Postby da9els » Mon May 30, 2011 5:31 am

Right you are, again.

Who is online

Users browsing this forum: No registered users and 19 guests