Todd Marimon
Dabbler
- Joined
- Dec 31, 2013
- Messages
- 19
I am currently in the "playing around with" mode for FreeNAS (and ESXi), so no data is at risk here, but I still ultimately want to put this setup into production. So far, I haven't gained confidence that it will work, though.
I have just installed FreeNAS 9.2.0 on ESXi with the following stats:
4 vCPU
LSI M1015 (IT Mode) Passthrough to VM
12GB of of RAM (Host has 24GB)
8GB HDD
2x750 Samsung HD753LJ SATA HDDs
I did not have the following problem with FreeNAS 9.1.0 when I was playing with that prior to realizing 9.2.0 was out.
Every time I create a new zfs volume on the 750GB drives, everything works perfectly. I can create zvols and map them via iSCSI and I'm happy. But then.... I reboot the VM. Upon start-up, I see errors scroll by for the 2 drives:
I have tried the following, without meaningful success:
I'm kind of at a loss with this one-- I have no idea what is wrong. I have a feeling it is something to do with the 512B vs 4KB sectors, but why is this suddenly an issue? And what can I do to troubleshoot it? I've tried running 'gpart recover' commands, but they do not work:
Any help on this would be greatly appreciated.
I have just installed FreeNAS 9.2.0 on ESXi with the following stats:
4 vCPU
LSI M1015 (IT Mode) Passthrough to VM
12GB of of RAM (Host has 24GB)
8GB HDD
2x750 Samsung HD753LJ SATA HDDs
I did not have the following problem with FreeNAS 9.1.0 when I was playing with that prior to realizing 9.2.0 was out.
Every time I create a new zfs volume on the 750GB drives, everything works perfectly. I can create zvols and map them via iSCSI and I'm happy. But then.... I reboot the VM. Upon start-up, I see errors scroll by for the 2 drives:
Code:
Dec 31 15:35:22 freenas kernel: da1 at mps0 bus 0 scbus3 target 2 lun 0 Dec 31 15:35:22 freenas kernel: da1: <ATA SAMSUNG HD753LJ 1112> Fixed Direct Access SCSI-6 device Dec 31 15:35:22 freenas kernel: da1: 300.000MB/s transfers Dec 31 15:35:22 freenas kernel: da1: Command Queueing enabled Dec 31 15:35:22 freenas kernel: da1: 715404MB (1465149168 512 byte sectors: 255H 63S/T 91201C) Dec 31 15:35:22 freenas kernel: da2 at mps0 bus 0 scbus3 target 3 lun 0 Dec 31 15:35:22 freenas kernel: da2: <ATA SAMSUNG HD753LJ 1112> Fixed Direct Access SCSI-6 device Dec 31 15:35:22 freenas kernel: da2: 300.000MB/s transfers Dec 31 15:35:22 freenas kernel: da2: Command Queueing enabled Dec 31 15:35:22 freenas kernel: da2: 715404MB (1465149168 512 byte sectors: 255H 63S/T 91201C) Dec 31 15:35:22 freenas kernel: GEOM: da1: the secondary GPT table is corrupt or invalid. Dec 31 15:35:22 freenas kernel: GEOM: da1: using the primary only -- recovery suggested. Dec 31 15:35:22 freenas kernel: GEOM: da2: the secondary GPT table is corrupt or invalid. Dec 31 15:35:22 freenas kernel: GEOM: da2: using the primary only -- recovery suggested. Dec 31 15:35:22 freenas kernel: GEOM_MIRROR: Device mirror/system launched (2/2). Dec 31 15:35:22 freenas kernel: GEOM: mirror/system: corrupt or invalid GPT detected. Dec 31 15:35:22 freenas kernel: GEOM: mirror/system: GPT rejected -- may not be recoverable.
I have tried the following, without meaningful success:
- Followed in http://forums.freenas.org/threads/gpt-table-is-corrupt-or-invalid-error-on-bootup.12171/ to set 'sysctl vfs.zfs.vdev.larger_ashift_minimal=0'
- Disabling the default Swap of 2G on each drive
- Zeroing out both drives entirely (had to set 'sysctl kern.geom.debugflags=16')
- Not rebooting (obviously, this one is not a feasible solution, but it works!)
I'm kind of at a loss with this one-- I have no idea what is wrong. I have a feeling it is something to do with the 512B vs 4KB sectors, but why is this suddenly an issue? And what can I do to troubleshoot it? I've tried running 'gpart recover' commands, but they do not work:
Code:
[root@freenas] ~# gpart recover /dev/da1 gpart: arg0 'da1': invalid argument
Any help on this would be greatly appreciated.