Hi everyone I'm creating this thread because my reply on another old thread failed and I've got no answers.
I have the exact same problem as described here :
http://forums.freebsd.org/showthread.php?t=20941
I'm no FreeBSD nor ZFS expert, I've been using FreeNAS 8 for a year now; my set up is the following:
Virtualized FreeNAS on ESXi, FreneNAS is installed on a 8GB vdisk, my storage pool is 3 x 1TB HDD, configured as Raw Direct Access (RDM) so FreeNAS accesses them directly bypassing the vKernel of VmWare.
Explanation of the problem:
Lately I could not reach my CIFS share, tried to reach the webGUI, unreachable, tried to reboot the system within vSphereClient, no luck. So I did a reset in vSphere (the hard way then) and the system went back to normal.
Couple of weeks after that, same symptoms, tried the first two solutions, same results, so I reset the VM, like last time, and I lost my ZFS pool according to the FreeNAS WebGUI.
After some talk on the FreeNAS forum I ended up doing some commands and here's what I got:
Looks ok to me.
Also ok.
My data are of great value (mostly personal, pictures and stuff) and I have to say this thread gave me some hope.
One of the first advices I had on the other forum is to try another ZFSv28 implementation as FreeNAS uses v15. But according to the thread I mention I understand I have to recover or recreate my GPT first, right?
Before going any further, I'm planning to buy a new set of 3 HDDs to make a raw copy of everything. I read quite a few things about ZFS structure and GPT but it's still a bit blurred in my mind. And especialy when I read in this thread that a GPT entry exists at the begining of each HDD AND a another one created by ZFS for itself. I don't really get it.
Some many questions, I'm sorry
I hope someone will answer me and save my life. Thanks for your help!
I have the exact same problem as described here :
http://forums.freebsd.org/showthread.php?t=20941
I'm no FreeBSD nor ZFS expert, I've been using FreeNAS 8 for a year now; my set up is the following:
Virtualized FreeNAS on ESXi, FreneNAS is installed on a 8GB vdisk, my storage pool is 3 x 1TB HDD, configured as Raw Direct Access (RDM) so FreeNAS accesses them directly bypassing the vKernel of VmWare.
Explanation of the problem:
Lately I could not reach my CIFS share, tried to reach the webGUI, unreachable, tried to reboot the system within vSphereClient, no luck. So I did a reset in vSphere (the hard way then) and the system went back to normal.
Couple of weeks after that, same symptoms, tried the first two solutions, same results, so I reset the VM, like last time, and I lost my ZFS pool according to the FreeNAS WebGUI.
After some talk on the FreeNAS forum I ended up doing some commands and here's what I got:
Code:
[root@freenas] ~# camcontrol devlist
<NECVMWar VMware IDE CDR10 1.00> at scbus1 target 0 lun 0 (cd0,pass0)
<VMware Virtual disk 1.0> at scbus2 target 0 lun 0 (da0,pass1)
<ATA SAMSUNG HD103SI 1AG0> at scbus2 target 1 lun 0 (da1,pass2)
<ATA SAMSUNG HD103SI 1AG0> at scbus2 target 2 lun 0 (da2,pass3)
<ATA SAMSUNG HD103SI 1AG0> at scbus2 target 3 lun 0 (da3,pass4)
Looks ok to me.
Code:
[root@freenas] ~# sysctl kern.disks
kern.disks: da3 da2 da1 da0 cd0
Also ok.
Code:
[root@freenas] ~# gpart show
=> 63 16777152 da0 MBR (8.0G)
63 1930257 1 freebsd [active] (943M)
1930320 63 - free - (32K)
1930383 1930257 2 freebsd (943M)
3860640 3024 3 freebsd (1.5M)
3863664 41328 4 freebsd (20M)
3904992 12872223 - free - (6.1G)
=> 0 1930257 da0s1 BSD (943M)
0 16 - free - (8.0K)
16 1930241 1 !0 (943M)
My data are of great value (mostly personal, pictures and stuff) and I have to say this thread gave me some hope.
One of the first advices I had on the other forum is to try another ZFSv28 implementation as FreeNAS uses v15. But according to the thread I mention I understand I have to recover or recreate my GPT first, right?
Before going any further, I'm planning to buy a new set of 3 HDDs to make a raw copy of everything. I read quite a few things about ZFS structure and GPT but it's still a bit blurred in my mind. And especialy when I read in this thread that a GPT entry exists at the begining of each HDD AND a another one created by ZFS for itself. I don't really get it.
- Could you give me some advices?
- What to check first to be sure of the issue?
- What to do?
- What NOT to do to protect my data?
- What is the "dev/gpt/wdgreen label"?
- Is it wise to use a tool for partition recovery? I mainly use TestDisk (http://www.cgsecurity.org/wiki/TestDisk) which is able to find and recover GPT partition table, but as I saw in your post maybe it's more effective to recreate a new one?
- The person in the other thread was using a single HDD at the time, I use 3, does it make a difference in the recovery process?
Some many questions, I'm sorry
I hope someone will answer me and save my life. Thanks for your help!