How to migrate from two disk stripe volume to one big HDD?

Status
Not open for further replies.

guglez

Explorer
Joined
Feb 21, 2014
Messages
56
Hi All,


I have a stripe made from two 1T disks. One disk is going to fail soon. I have one big HDD (3.5T) and I want to migrate the data to it. How can I achieve this?


Thank you!
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479
Assuming you can...
Within FreeNAS, use the larger drive and configure a second pool and copy
the data to the new pool.
But I must warn you that IF your "sick" drive dies at any time going forward,
you will lose your data on the striped pool...
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Replicate to the new pool and destroy the old one.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
Also, you shouldn't use a single hard drive and hopefully you are aware of the risks.
 

guglez

Explorer
Joined
Feb 21, 2014
Messages
56
Replicate to the new pool and destroy the old one.
I tried to do that. Failed. Here is what I did:


zfs snapshot -r black-wd1t-stripe@full-stripe-snapshot
zfs send -R black-wd1t-stripe@full-stripe-snapshot | zfs receive -Fdvu ext-green-4T

receiving full stream of black-wd1t-stripe@full-stripe-snapshot into ext-green-4T@full-stripe-snapshot
received 45.2MB stream in 2 seconds (22.6MB/sec)
receiving full stream of black-wd1t-stripe/images@full-stripe-snapshot into ext-green-4T/images@full-stripe-snapshot
.....
receiving full stream of black-wd1t-stripe/mmedia@full-stripe-snapshot into ext-green-4T/mmedia@full-stripe-snapshot
warning: cannot send 'black-wd1t-stripe/mmedia@full-stripe-snapshot': Input/output error


Or should I just copy the data with rsync? I'm ok ifsome files will be lost.
 

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Sure, but with two disks striped, the risk is doubled--if either of two disks fails you lose all your data. With a single disk, it's only that one disk that's critical. But, of course, a redundant arrangement is much safer.
 

joeschmuck

Old Man
Moderator
Joined
May 28, 2011
Messages
10,996
Ah, the "odds game". I just watched a movie about odds. It was more on card counting but odds was the scientific driver.
 
Status
Not open for further replies.
Top