Move Landing Zone, SOLVED

Vertigo500
Posts: 54
Joined: Tue Mar 22, 2011 7:09 am

Move Landing Zone, SOLVED

Postby Vertigo500 » Tue Mar 22, 2011 7:26 am

I started using Amahi, and is has at lot of great ideas. But, is has som big drawbacks.
I am a first time linux user, and a little bit confused.


The documentation can be a lot better regarding landing zone. And why not a clear warning about size limitations. In a big fileserver its very important to know! I tried, but could not move the landing zone. Why not have a check box to choose where to have landing zone, or better yet, put it on the biggest disk. Why is default on the boot disk? That is dangerous, as i now know(twice).

I have the following problems i need help solving:

1. My bootdisk is full. SOLVED. After several restarts with and without livecd, it suddenly started working again. Moved all files where they should be.

2. Unnacounted for space. I started another tread for this.

3. Move landing zone. SOLVED. When/if i get it up and running again, i will make a last attempt to move landing zone to the 450Gb. if not, i will reformat Disk0 to 500Gb, and use it for fedora and landing sone. But i think its not the best solution to have operating system on the same disk as anything else. I have tried to serch, but did not find a solution. If anyone can point me to some info about this, please do so.

Sorry for my english.

Please help me!
Last edited by Vertigo500 on Wed Mar 23, 2011 3:21 am, edited 1 time in total.

rbmattis
Posts: 100
Joined: Fri Mar 18, 2011 8:37 am

Re: Moving Landing Zone, please help

Postby rbmattis » Tue Mar 22, 2011 12:49 pm

I'm having the same issue, I have a 6 gig /var/hda/files partition on my boot drive and it's constantly filling while transfering. If I could move that to another drive (perhaps one of my empty 2 TB drives) that would be ideal.

Thanks.

afrik
Posts: 3
Joined: Sun Mar 20, 2011 4:24 pm

Re: Moving Landing Zone, please help

Postby afrik » Tue Mar 22, 2011 2:13 pm

+1

I'm also looking for info on how to move the landing zone to the new drive on a 'live system', in my case.

thanks,
a

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

Re: Moving Landing Zone, please help

Postby gboudreau » Tue Mar 22, 2011 2:36 pm

I'll document exactly how to do this on the Amahi wiki tonight. I'll post a link when I'm done.
- Guillaume Boudreau

Vertigo500
Posts: 54
Joined: Tue Mar 22, 2011 7:09 am

Re: Moving Landing Zone, please help

Postby Vertigo500 » Tue Mar 22, 2011 4:05 pm

Great news. Thank you.

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

Re: Moving Landing Zone, please help

Postby gboudreau » Tue Mar 22, 2011 5:10 pm

http://code.google.com/p/greyhole/wiki/ ... andingZone

Let me know if something is not clear, if a page I mention is somewhere else (I've document the Amahi pages from memory), or if I missed a step.
- Guillaume Boudreau

rbmattis
Posts: 100
Joined: Fri Mar 18, 2011 8:37 am

Re: Moving Landing Zone, please help

Postby rbmattis » Tue Mar 22, 2011 5:40 pm

Sorry, even this is tough. i looked at the greyhole log, it was sleeping. then i went to amahi, turned of samba watchdog, then tried to stop it. clicked confirm, arrow spins, then nothing... still running. I go into terminal and try
# service smb stop

Shutting down SMB services: [FAILED]

thats as far as I got.

Later, when I'm moving the LZ... i'd like to put it on one of my 2 tb drives...unfortunately both are formatted as one physical partition, and both have 99 gb of files. Is there any way to turn one into the LZ for my pool without reformatting?

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

Re: Moving Landing Zone, please help

Postby gboudreau » Tue Mar 22, 2011 5:53 pm

Problem stopping the smb service: you'll need to ask about that in another forum, or on IRC. This is more a general Amahi thing that is not Greyhole-related.

Two drives, one partition: you mean you used LVM to merge both drives into one ?
You shouldn't do that if you use Greyhole.
LVM and Greyhole are not compatible; Greyhole can't see the two distinct drives if they are merged together by LVM, so you wouldn't be able to get redundancy with that.
You should start your own thread about this if you want to discuss this further. This thread is about moving the LZ; let's keep it about that.
- Guillaume Boudreau

rbmattis
Posts: 100
Joined: Fri Mar 18, 2011 8:37 am

Re: Moving Landing Zone, please help

Postby rbmattis » Tue Mar 22, 2011 7:29 pm

I was unclear, i'm not using LVM near my greyhole pool.

okay i umounted my ssd and SMB now stopped. it still shows green in Amahi, but in the terminal it shut down okay.

Now I'm at this step:
"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)
Edit the share path (Location on Amahi) to reflect the new path.
Repeat the last two steps for all the share you'd like to relocate."

I have five SATA hard drives. I formatted them all as ext4 then added them to the storage pool in Amahi. I see them as:
/var/hda/files/drives/drive*
where * is 1-5

One of the big 2TB drives is drive4... I followed your instructions " mv /var/hda/files/videos /var/hda/files/drives/drive4/videos"

and repeated for all my greyhole shares (movies, books, music, etc) and edited their location in amahi to reflect the new path.

i started greyhole and samba and restarted.

first nothing worked. Then I realized then all the pools with nothing in them didn't create a folder. so i did mkdir. then i could access the shares, but i couldn't copy anything to them. I found out my user didn't have permissions, so i used chmod to give users write access.

Now things seem copasetic... file transfers over the LAN are ~40 MB/s which is about 10 times faster than before (my LZ was full).

Now my question is... when I copy files to my /movies folder, they are physically going on to my drive4. When Drive4 fills up, won't I encounter the same problem with having an insufficient landing zone?

thanks

Vertigo500
Posts: 54
Joined: Tue Mar 22, 2011 7:09 am

Re: Moving Landing Zone, please help

Postby Vertigo500 » Wed Mar 23, 2011 3:20 am

Thank you again. Fast response on an important topic. Looks like i managed to move the landing zone.

Who is online

Users browsing this forum: No registered users and 14 guests