Page 1 of 1
Howto import mirror from FreeNas into Nas4Free
Posted: 28 Oct 2013 04:33
by gjb
Hi all, following a system crash and a faulty usb stick I was forced to upgrade from FreeNas 0.7 to Nas4Free today.
My UDF disk imported alright, but my ZFS 2T mirror not so much.
I've recreated the zpool, using the 2 originals disks in the virtual device tab, but I'm stuck at the management windows: I've selected the virtual device but for some reason can't add it in the management tab.
My question is how do you add a zfs mirror from freenas 0.7 into a zfs mirror under nas4free? What are the steps I need to take?
TIA
Re: Howto import mirror from FreeNas into Nas4Free
Posted: 28 Oct 2013 07:33
by raulfg3
gjb wrote: I've selected the virtual device but for some reason can't add it in the management tab.
Do not use this path or you lose your data ( you are trying to CREATE a new pool, not to import an existing poool).
To import a existing pool, go to Disks|ZFS|Configuration|Detected and push import button, if first time do not work, try a second one ( second one use -f=force flag).
Once imported, you must sync, your detected pool and your current pool , go to Disks|ZFS|Configuration|Synchronize and push "Synchronize" button.
And please read more about ZFS and import / export function.
http://docs.oracle.com/cd/E19253-01/819 ... index.html
http://docs.oracle.com/cd/E19253-01/819 ... index.html
Re: Howto import mirror from FreeNas into Nas4Free
Posted: 28 Oct 2013 13:39
by gjb
THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU THANK YOU
the pool imported fine. Nice and clear instructions!
Funny you would point me to read more on ZFS, that was exactly what I was doing
https://flux.org.uk/tech/2007/03/zfs_tutorial_1.html at the time. BTW I had created 4 files of 240M to act as disks on a spare hd and was following that tutorial on how ZFS can repair itself after you inject some random data into it well the next thing I know the machine is off line, the boot process stop at : verifying DMI pool data and wont pass that BIOS step until I removed the offending disk. And then it stop recognizing the boot usb stick. And that's were I was yesterday. I can't believe that whatever was written on that HD destroyed it so that it can't pass a hardware test.
So off to a full rsync back up, a reformat to bring that mirror up to the latest ZFS format anf off I go.
Again thanks.