I wasn't really sure what category this fitted into, I suppose it mostly concerns Greyhole but it was slightly more general than that so here it is! Feel free to move it.
My current system is has the following drives;
500GB Partitioned as 50GB root install with 450GB given to the storage pool
500GB all as storage pool
500GB all as storage pool
2TB all as storage pool.
The storage is starting to fill up and I'm left with a few problems/options.
My current motherboard only has 4 SATA ports so adding further drives is not straightforward. As I understand it, I could replace the 2 500GB storage drives with 2TB drives. As I understand it I would accomplish this by first running
. However I haven't found many details on this command. Surely it requires that I have sufficient space / redundancy on the remaining drives to reallocate files currently stored on the drive to be removed. Which could be a problem. (although as far as redundancy go I could temporarily reduce the number of copies for a share potentially?)
Code: Select all
I've been thinking about building a completely new system dedicated to amahi, rather than the cobbled together job I currently have. I notice that now the current release of amahi uses Fedora 14, ie more recent than the version I'm using.
I found this;
But it is talking about a reinstall on the same system. If I were to build a new system, install Fedora 14 / Amahi, connect the drives that currently make up my storage pool, and follow the above instructions - would this work? It seems so but I get understandably nervous when doing anything drastic to what basically constitutes all my storage. I try to touch the Amahi system as little as possible and it just sits there on 24/7 happily storing stuff.Reconnect the Greyhole storage pool after re-install of Fedora / Amahi
Disconnect all data drives before you reinstall. This will prevent you from destroying them by mistake during the Fedora/Amahi install!
Install Amahi per the regular instructions.
Connect the data drives, and use hda-diskmount to remount all of them.
Note that if you can, it would be faster if you can re-mount the drives in the same paths they used to have.
Example: If you have one 1TB and one 2TB, and the 1TB was mounted as /var/hda/files/drives/drive1, and the 2TB was mounted as /var/hda/files/drives/drive2, it would be better to re-mount that like that on your new HDA. If you mount them otherwise, it will still work, but Greyhole will work a while to re-build the links in your share before they can be usable.
Select the drives in the Amahi Dashboard: Setup > Shares > Storage Pool
Re-create your shares in the Amahi Dashboard: Setup > Shares.
Make sure to select 'Use Pool', and select the correct number of extra copies. If you don't remember all the shares you had, just check inside the 'gh' folder found at the root of your drives to get a reminder!
ls -1 /var/hda/files/drives/*/gh/ | grep -v : | sort -u
Launch a fsck to have Greyhole rebuild your shares.
Until this completes, some of your files will be missing from your shares.
Or if anyone has any other suggestions for what could be good things for me to do going forward then please, I'm all ears.