Old Server died, move drives to new server

warriorcookie
Posts: 10
Joined: Wed Sep 01, 2010 10:32 pm

Old Server died, move drives to new server

Postby warriorcookie » Mon Oct 11, 2010 10:11 pm

Ok, so my old server died and I have over 1tb of data greyholed across 3 1tb drives.

I bought a Dell PowerEdge 9500 ($300 used, wife is pissed at how big it is, I still haven't wiped the grin off my face hehe)
it has the perc 5i SAS raid card, but I'm thinking for data storage I still might want greyhole to handle the redundancy.

Either way, I need to know the safest way to get the data off the drives...

If I use greyhole can I just mount the drives to /var/hda/files/drives/sdb1, sdc1, etc, then enable greyhole on the same folders and voila? Do the drives have to be mounted in the same order as on the old system?

If I don't use greyhole, how can I get the data off my drives so I can perhaps set up a raid 5 using the perc 5i (which will obviously destroy the data when I set up the array and initialize the disks...) I guess I'm asking where everything is stored....

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

Re: Old Server died, move drives to new server

Postby gboudreau » Tue Oct 12, 2010 4:00 am

Yes, just remounting the drives and re-enabling Greyhole on your shares would be fine.

If you don't remount the drives at the same location where they used to be, Greyhole will still work, but it will require a fsck before your files appear correctly on your shares

Code: Select all

greyhole --fsck
As for copying the files off the Greyhole drives: mount them anywhere (on any computer that supports the format you used when formatting the drives), and look in the 'gh' folder you'll see in the root of the partition. You'll see a folder for each of your shares, and in each of those, your files, where you'd expect them to be (in the correct subdirectories).
Just rsync or manually copy.

Good luck.
- Guillaume Boudreau

Who is online

Users browsing this forum: No registered users and 10 guests