Hello,
I think I need to reinstall Amahi and Fedora.
From reading this Forum, I believe it's possible and requires disconnecting the storage drives completely, recreating the system drive and then reconnecting the storage pool drives.
What are the steps required to recreate the storage pool and shares?
Many thanks
Ralf
How to reconnect Greyhole storage pool after Amahi rebuild
How to reconnect Greyhole storage pool after Amahi rebuild
best,
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Re: How to reconnect Greyhole storage pool after Amahi rebui
Once re-installed, you need to re-create the same shares you had before (with the same names), and make sure all your data drives are connected, and included in the storage pool.
Then launch a "greyhole --fsck" to re-create the symlinks in the landing zone (/var/hda/files/*)
Then launch a "greyhole --fsck" to re-create the symlinks in the landing zone (/var/hda/files/*)
- Guillaume Boudreau
Re: How to reconnect Greyhole storage pool after Amahi rebui
Thanks,
Just so I'm clear:
1) After amahi rebuild, remount all storage drives as per wiki and add to fstab.
(http://wiki.amahi.org/index.php/Adding_ ... o_your_HDA)
2) Look at /var/hda/files/drive1 (from my memory) et al and check share names
3) Enable advanced options in amahi storage dashboard and add drives to storage pool
4) recreate share names in Amahi dashboard and assign shares to greyhole storage pool
5) Run greyhole --fsck
One thing I noticed when looking at the shares mounted locally, each share had two folders, one each Music and music (no caps) Movies and movies (no caps) and the content was the same.
When recreating the share in amahi, should I use caps like 'Sharename' or no caps like 'sharename'?
many thanks
Ralf
Just so I'm clear:
1) After amahi rebuild, remount all storage drives as per wiki and add to fstab.
(http://wiki.amahi.org/index.php/Adding_ ... o_your_HDA)
2) Look at /var/hda/files/drive1 (from my memory) et al and check share names
3) Enable advanced options in amahi storage dashboard and add drives to storage pool
4) recreate share names in Amahi dashboard and assign shares to greyhole storage pool
5) Run greyhole --fsck
One thing I noticed when looking at the shares mounted locally, each share had two folders, one each Music and music (no caps) Movies and movies (no caps) and the content was the same.
When recreating the share in amahi, should I use caps like 'Sharename' or no caps like 'sharename'?
many thanks
Ralf
Last edited by ralfb on Sat Jan 22, 2011 9:13 am, edited 3 times in total.
best,
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Re: How to reconnect Greyhole storage pool after Amahi rebui
When recreating the share in amahi, should I use caps like 'Sharename' or no caps like 'sharename'?
best,
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Re: How to reconnect Greyhole storage pool after Amahi rebui
The exact same name that you see in drives/drive#/gh/
That would probably be Movies, not movies.
That would probably be Movies, not movies.
- Guillaume Boudreau
-
- Posts: 39
- Joined: Fri Jun 11, 2010 3:40 am
- Location: East Germany
Re: How to reconnect Greyhole storage pool after Amahi rebui
Wouldn't it be a good idea to have this information in the wiki?
I'd be willingto write it, I just don't know if it should be there, if it should be on the greyhole page or elsewhere.
I'd be willingto write it, I just don't know if it should be there, if it should be on the greyhole page or elsewhere.
Celeron G530, 8GB RAM, Intel SDD 80GB system, 8TB Storage. Fileserver and Mediaserver.
Re: How to reconnect Greyhole storage pool after Amahi rebui
ok,
I've completed steps 1 - 4 above:

I'll let you know how it goes.
Ralf
I've completed steps 1 - 4 above:
Now for the moment of truth, Step 5:1) After amahi rebuild, remount all storage drives as per wiki and add to fstab.
(http://wiki.amahi.org/index.php/Adding_ ... o_your_HDA)
2) Look at /var/hda/files/drive1 (from my memory) et al and check share names
3) Enable advanced options in amahi storage dashboard and add drives to storage pool
4) recreate share names in Amahi dashboard and assign shares to greyhole storage pool
Cross your fingers5) Run greyhole --fsck

I'll let you know how it goes.
Ralf
best,
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Re: How to reconnect Greyhole storage pool after Amahi rebui
So far I can connect to the HDA from my Mac and I can access the shares which are empty at the moment.[root@padme ralf]# greyhole --fsck
fsck of all shares has been scheduled. It will start after all currently pending tasks have been completed.
[root@padme ralf]#
Lets see what occurs.
I'll let it run overnight.
best,
Ralf
best,
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Re: How to reconnect Greyhole storage pool after Amahi rebui
Ok so far I've also mounted my shares locally using the wiki instructions here:
http://wiki.amahi.org/index.php/Mount_Shares_Locally
That worked and I can access the shares locally now too.
Next: http://forums.amahi.org/viewtopic.php?f=39&t=2408
Fixing the reserved space on the storage drives.
So far I can not access any files in the shares.
How long should I expect:
require to complete?
Thanks
Ralf
http://wiki.amahi.org/index.php/Mount_Shares_Locally
Code: Select all
[root@padme ralf]# curl -o /etc/init.d/mount_shares_locally http://dl.dropbox.com/u/3022105/Amahi/mount_shares_locally
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
101 1324 101 1324 0 0 1116 0 0:00:01 0:00:01 --:--:-- 1955
[root@padme ralf]# chmod +x /etc/init.d/mount_shares_locally
[root@padme ralf]# chkconfig --add mount_shares_locally
[root@padme ralf]# chmod 777 /etc/init.d/mount_shares_locally
[root@padme ralf]# chmod +x /etc/init.d/mount_shares_locally
[root@padme ralf]# service mount_shares_locally start
Mounting Samba shares locally: [ OK ]
That worked and I can access the shares locally now too.
Next: http://forums.amahi.org/viewtopic.php?f=39&t=2408
Fixing the reserved space on the storage drives.
So far I can not access any files in the shares.
How long should I expect:
Code: Select all
Run greyhole --fsck
Thanks
Ralf
best,
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Ralf
_______________________________________
Gigabyte GA-965G-DS3 Motherboard
Intel Pentium E2180 Processor @ 2.66MHz
Corsair 2 x 2GB xms2 DDR2 RAM
4 x 2T Western Digital Green Power HDD
Who is online
Users browsing this forum: No registered users and 18 guests