Partition Table / ZFS Volume Corrupt

My Volume was connected to my vSphere Environment.
While is migrating some VMs from another storage to TrueNas one of the ESXi-Hosts crashed.

So now on the volume only 2 small partition are visible and have a filesystem.
The rest of the volume 24TB partition hasn’t a filesystem.
The partition table type is currently on msdos. it should be GPT.

Currently i run a scan with Testdisk for lost partitions / partition tables etc.
I don’t if i’m on the right way.

Maybe someone can help me, how i can get my vmfs-partition back

I think we need a better description of your setup and hardware :slight_smile:

Are you using CORE or SCALE? You write “volume connected” - is it a zvol, and iscsi? or are you hosting the ZFS on top of ESXi ?

1 Like

I have a physical RAID6 Volume running on HPE Server ML350.
On this volume i created with TrueNAS Scale a ZVOL which i presented via ISCSI to my 4 ESXi Hosts.

The ZVOL was add to the ESXi Host(s), created and format a Datastore (VMFS).

Textbook example of why hardware RAID should not be used with ZFS…
Your VMFS is most likly lost for good because the ZFS structure was corrupted “from under” when the ESXi host, and its RAID6 array, crashed.

1 Like

The RAID6 is configured on the TrueNAS-Server not on the ESXi-Host.
So you mean there is no change to repair the ZFS Structure ?

Is it Raid6 or RaidZ2?

1 Like

Raid6

There’s no RAID6 in ZFS.

2 Likes

I have an HPE ML350 Server, the Hardware-Raid in configured as Raid6. The ZFS Volume/ Dataset was created on the Raid6.

Another Questions.
I should BE able to make Screenshot of the Dataset before i start to repair the Partition table?
If Something will gets wrong, i could restore the snapshot or?

I’m sorry I have to agree with @etorix - using raid6 is a big no-no.
short version: ZFS relies on control over the physical disks to ensure data integrity.
Using any kind of hardware raid effectively removes the safeguards you have with ZFS (here: TrueNAS) :frowning:
I hopy you have a good backup - with the info available here, my best guess are the hw-raid messed up and your data is gone.

regarding snapshot before trying to recover - sounds like it’s a feature you have to hope the hw-raid provides.

1 Like