I hope someone is going to say that the answer to this problem is obvious...
Scenario: FreeNAS running under ESXi 5.0 (so I can run other VMs on the same box, obviously).
Storage: One SSD, containing the FreeNAS OS as a VM. Six 3TB SATA disks, each containing two vmdk virtual disks, inside each of which is a ZFS virtual disk and file system, managed by the FreeNAS VM, and containing two zpools of ~12TB and ~3TB raidz striped across all six disks.
It's not an ideal setup, I know, so I plan to migrate the smaller of the two zpools to a pair of separate mirrored disks, and migrate the 12TB zpool onto the remaining disks using direct access, one at a time, and allowing the zpool to resilver. Yes, I have a backup.
My question is this: how can I discover which of the FreeNAS disks is contained in which vmdk? Using the Web GUI and the terminal, I get two different identifications for each vdev. The Web GUI calls them da1, da2....dax. The 'zpool status' command shows this (the other pool is the same for this purpose):
Only da7 (for a reason I don't quite understand) corresponds to the Web GUI's name for one of the vdevs. And I see no correspondence between any of the names and the vmdk files (unsurprisingly) but can't find out which FreeNAS disk is in which vmdk. 'zdb list' doesn't help.
Is it a case of pulling a disk and seeing which vdev ZFS reports as missing?
Thank you.
Scenario: FreeNAS running under ESXi 5.0 (so I can run other VMs on the same box, obviously).
Storage: One SSD, containing the FreeNAS OS as a VM. Six 3TB SATA disks, each containing two vmdk virtual disks, inside each of which is a ZFS virtual disk and file system, managed by the FreeNAS VM, and containing two zpools of ~12TB and ~3TB raidz striped across all six disks.
It's not an ideal setup, I know, so I plan to migrate the smaller of the two zpools to a pair of separate mirrored disks, and migrate the 12TB zpool onto the remaining disks using direct access, one at a time, and allowing the zpool to resilver. Yes, I have a backup.
My question is this: how can I discover which of the FreeNAS disks is contained in which vmdk? Using the Web GUI and the terminal, I get two different identifications for each vdev. The Web GUI calls them da1, da2....dax. The 'zpool status' command shows this (the other pool is the same for this purpose):
Code:
NAME STATE READ WRITE CKSUM data ONLINE 0 0 0 raidz1-0 ONLINE 0 0 0 gptid/9bf6eb4d-df8c-11e0-8143-000c29e91528 ONLINE 0 0 0 da7 ONLINE 0 0 0 gptid/9c8f6085-df8c-11e0-8143-000c29e91528 ONLINE 0 0 0 gptid/9cda300f-df8c-11e0-8143-000c29e91528 ONLINE 0 0 0 gptid/9d27ef95-df8c-11e0-8143-000c29e91528 ONLINE 0 0 0 gptid/42f8319d-f70b-11e3-8c9e-000c29e91528 ONLINE 0 0 0
Only da7 (for a reason I don't quite understand) corresponds to the Web GUI's name for one of the vdevs. And I see no correspondence between any of the names and the vmdk files (unsurprisingly) but can't find out which FreeNAS disk is in which vmdk. 'zdb list' doesn't help.
Is it a case of pulling a disk and seeing which vdev ZFS reports as missing?
Thank you.
Last edited: