Raidz2 pool mailfunction

Status
Not open for further replies.

Sergius

Cadet
Joined
Dec 9, 2013
Messages
3
I've got a similar problem to thread http://forums.freenas.org/threads/unable-to-import-zpool.14858/ But server is a vm running under proxmox. Vm got 5 disks, 4x400GB was given to zfs raidz2 pool. A few days ago vm suddenly rebooted and started throwing fatal trap 12 each time it tried to mount the pool. Small research with Solaris 11 and OpenIndiana showed nothing interesting (but OI rebooted just like any FreeBSD derivative). Also I extracted labels and found out, that the last succeded transaction (txg) was not among transaction in uberblocks.

zdb -l output from one of the disks
Code:
--------------------------------------------
LABEL 0
--------------------------------------------
    version: 28
    name: 'r1'
    state: 0
    txg: 4273868
    pool_guid: 4651652232851139502
    hostname: ''
    top_guid: 5698945487837190948
    guid: 5103665716231737406
    vdev_children: 1
    vdev_tree:
        type: 'raidz'


Manually editing txg to the namber of the first transaction didn't help either. Before that only Solaris imports pool with -Vf flags, but says UNAVAILABLE for everything in zpool status, any other dist just rebooted. After editing FN 8.3 also opens pool and states UNAVAILABLE for every entry.

zdb -l after

Code:
--------------------------------------------
LABEL 0
--------------------------------------------
    version: 28
    name: 'r1'
    state: 0
    txg: 4401792
    pool_guid: 4651652232851139502
    hostname: ''
    top_guid: 5698945487837190948
    guid: 5103665716231737406
    vdev_children: 1
    vdev_tree:
        type: 'raidz'
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
Holy freakin' Batman!

You edited the txg yourself? You have balls of steel if you did that!

Yeah. The fact that they are out of sync likely means "game over". This is why we don't recommend VMs for FreeNAS.

How did you share your disks with the VM? Did you run virtual disks, did you pass through the disks themselves, or did you passthrough the PCIe controller the disks were on?
 

Sergius

Cadet
Joined
Dec 9, 2013
Messages
3
Well, I've got a few copies now, so I experimented a bit.

Disks are just files with raw data, so every starts and ends with two labels. But there should be any chance to extract data from the pools, shouldn't it?
 

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,526
I was wrong? You are hilarious.. since I never said anything would or wouldn't work. I said "likely" as in fairly sure. I always say that because I assume that the average user doesn't have the knowledge to interpret all of the data presented or they'd have fixed it without help.

Glad you got your data back.
 
Status
Not open for further replies.
Top