Starting again, best way to clear Greyhole Pool

kcossabo
Posts: 36
Joined: Sat Mar 05, 2011 11:42 am

Starting again, best way to clear Greyhole Pool

Postby kcossabo » Wed Mar 16, 2011 4:48 am

I am going to re-start my file server, and want to wipe out the Greyhole pools.

Ideally I would like to just delete the contents of each file share, but remember reading about a 'attic' or something, and want to make sure I get as much storage as possible to start re-transferring the data. Also I did the convert to MySQL, and want to make sure that the database is OK after the cleaning.

1) on each share stop using the pool
2) stop Greyhole,
2) remove all drive from the pool,
3) reformat drives,
4) start Greyhole,
5) add drives

Since the shares are pointed at the Landing Zone will at step 1 Greyhole move the files from the /
var/hda/files/drivex to the LZ?

any thought, thanks.

User avatar
lrevxl
Posts: 82
Joined: Fri Mar 04, 2011 7:23 pm
Location: Chicago, IL, USA
Contact:

Re: Starting again, best way to clear Greyhole Pool

Postby lrevxl » Wed Mar 16, 2011 3:53 pm

Deleting the gh folder from the drives and removing the paths from the greyhole.conf file are sufficient to really clear out all that greyhole cares about. But as far as moving files to the landing zone, that won't happen, at least not through any mechanism of greyhole's. When you switch the share off from using greyhole, all it really does it tell samba to stop talking to greyhole about changes to this share. So you're left with a landing zone full of symlinks still pointing to the greyhole drives. If you format the greyhole drives those symlinks will break and the files are lost. If you add something else to the landing zone, greyhole won't know, etc. If you want to save the data that's on your greyhole drives before formatting them, you'll need to copy it off first.

Who is online

Users browsing this forum: No registered users and 14 guests