I have build a NAS4free Server with 3x3TB HDDs in a RaidZ1. I created a Zpool and some datasets and migrated my data from my old ReadyNAS Box.
When everything was configuered well I decided to add the old 1,5TB drives from the old NAS. The Goal was to add them as another RaidZ1 to the existing Zpool.
What I did:
- added the newly installed discs via Management
- formated them as Zpool device
- created RaidZ1 vdv
- added vdv to existing Zpool
During this the WebGUI gives only drives, which make sense. So I formatted only the drives which where suggested by the GUI etc.
After adding the vdv to the Zpool it display much more space than it should. And via Information it showed the wrong drives in the pool.
I thought a reboot will make it, but after the reboot my pool was gone.
I tried to boot with the newest NAS4Free Live-CD added the drives and trie to import, but it only says error when synchronising.
Now I think the GUI displayed the wrong drives for formatting because the ata0-5 changed somehow and I formatted the discs with my data
Is there something I can to like "unformat" them?
Do I have any chance to restore my data?
Where can I learn more about CLI commands for ZFS?
If something is not clear, please ask. I hope someone can help me...
-----
On the Live-CD with only the 3 disks with data connected I tried via CLI the command "zpool import" - it says:
Code: Select all
nas4free:~# zpool import
pool: GoelliZFS1
id: 13653737229427241151
state: FAULTED
status: The pool was last accessed by another system.
action: The pool cannot be imported due to damaged devices or data.
The pool may be active on another system, but can be imported using
the '-f' flag.
see: http://illumos.org/msg/ZFS-8000-EY
config:
GoelliZFS1 FAULTED corrupted data
raidz1-1 ONLINE
ada0 ONLINE
ada1 ONLINE
ada2 ONLINE
So I know at least, that there is a chance for my data...
Perhaps it is the "wrong" (and now missing) vdv in the pool, wich makes the pool being faulted...
---
I've read about a recovery mode with the option -F for "zpool import"
But it says "invalid option"
When I type "zpool import -f -a" It says I should destroy the pool and recreat it from a backup
Isn't there a way to get the data on the discs back?


