Hi all, after scouring the forms and wiki I am still not clear on how to remove a disk from a pool and migrate data on it to the other disks.
I've got an external USB drive (silly, I know) which I had added to my pool, that I now would like to remove. Therefore, all data on it needs to go somewhere.
What are the steps I need to take and in what order?
Thanks.
How to remove a disk from pool and migrate data?
- wiredfutureman
- Posts: 11
- Joined: Fri Jul 30, 2010 3:49 pm
- Location: United Kingdom
- Contact:
How to remove a disk from pool and migrate data?
My Amahi system: Core2Duo E4500 2.20Ghz, Asus P5B-Plus, 2x Samsung 250GB (s-RAID1), 3x 1.5TB Samsung, 4x Samsung 1TB, H/W RAID0 2x 80GB to be added soon (Samba shares / Greyhole scratch disk)
Read about my experiences on my blog: (tag) amahi, greyhole
Axel Segebrecht - Freelance lighting cameraman, photographer and web designer
Read about my experiences on my blog: (tag) amahi, greyhole
Axel Segebrecht - Freelance lighting cameraman, photographer and web designer
- wiredfutureman
- Posts: 11
- Joined: Fri Jul 30, 2010 3:49 pm
- Location: United Kingdom
- Contact:
Re: How to remove a disk from pool and migrate data?
Answering my own question here:
1. Go to the Greyhole directory on the drive
eg. ls /var/hda/files/drives/drive1/gh/
2. Have a look what's in there and copy the files somewhere else (do NOT copy them to another drive in your pool! copy them somewhere completely different for the meantime!)
3. Untick the box next to the drive in the Amahi dashboard, to remove the drive from the pool
eg http://hda/setup?sub=disk_pooling&tab=share
4. Dismount the drive and do with it as you please, then copy the data you saved from your temporary place to a share of your choosing.
This is what I did and it worked
1. Go to the Greyhole directory on the drive
eg. ls /var/hda/files/drives/drive1/gh/
2. Have a look what's in there and copy the files somewhere else (do NOT copy them to another drive in your pool! copy them somewhere completely different for the meantime!)
3. Untick the box next to the drive in the Amahi dashboard, to remove the drive from the pool
eg http://hda/setup?sub=disk_pooling&tab=share
4. Dismount the drive and do with it as you please, then copy the data you saved from your temporary place to a share of your choosing.
This is what I did and it worked

My Amahi system: Core2Duo E4500 2.20Ghz, Asus P5B-Plus, 2x Samsung 250GB (s-RAID1), 3x 1.5TB Samsung, 4x Samsung 1TB, H/W RAID0 2x 80GB to be added soon (Samba shares / Greyhole scratch disk)
Read about my experiences on my blog: (tag) amahi, greyhole
Axel Segebrecht - Freelance lighting cameraman, photographer and web designer
Read about my experiences on my blog: (tag) amahi, greyhole
Axel Segebrecht - Freelance lighting cameraman, photographer and web designer
Re: How to remove a disk from pool and migrate data?
In a Terminal, as root:
Wait for that to finish, then de-select that drive from the Amahi dashboard (Setup > Shares > Storage Pool).
Code: Select all
greyhole --going /var/hda/files/drives/drive1/gh/
- Guillaume Boudreau
- wiredfutureman
- Posts: 11
- Joined: Fri Jul 30, 2010 3:49 pm
- Location: United Kingdom
- Contact:
Re: How to remove a disk from pool and migrate data?
Would I have broken anything if I had not run that command first and copied stuff manually?
So far I'm not missing anything as in my case I just wanted to remove the external HDD and re-use it. The only file on it was a 100GB image of another computer, which I trashed (the image, not the comp)
So far I'm not missing anything as in my case I just wanted to remove the external HDD and re-use it. The only file on it was a 100GB image of another computer, which I trashed (the image, not the comp)

My Amahi system: Core2Duo E4500 2.20Ghz, Asus P5B-Plus, 2x Samsung 250GB (s-RAID1), 3x 1.5TB Samsung, 4x Samsung 1TB, H/W RAID0 2x 80GB to be added soon (Samba shares / Greyhole scratch disk)
Read about my experiences on my blog: (tag) amahi, greyhole
Axel Segebrecht - Freelance lighting cameraman, photographer and web designer
Read about my experiences on my blog: (tag) amahi, greyhole
Axel Segebrecht - Freelance lighting cameraman, photographer and web designer
Re: How to remove a disk from pool and migrate data?
Doing it manually is fine; it's just more work for you, and somewhat error-prone.
- Guillaume Boudreau
Who is online
Users browsing this forum: No registered users and 12 guests