Hi, Upgraded yesterday from 111b to 117 and all zvols are no more recognized on COMSTAR target, oh, oh !
If I understand correctly, before COMSTAR metadata was stored in the first 64k block of zvol and COMSTAR exported zvol starting with second 64k block, or at offset 0x10000, so total volume size visible on COMSTAR target was zvolSize-64k. Somewhere between 111b and 117 there was a change and now COMSTAR stores its metadata in ZFS metadata or file, so COMSTAR is now exporting entire zvol starting at offset 0x00 and including the first 64k block, however, if zvol was previously formatted and used by a client on COMSTAR target, it is now invisible for that client, because partition data starts in second 64k block now. That's what I see with vmware ESX hexdump on snv_117 COMSTAR target: * 000101b0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 02 |................| 000101c0 03 00 fb fe ff ff 80 00 00 00 74 c0 ff 4a 00 00 |..........t..J..| 000101d0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * Is there an way to recover these zvols in 117 ? Maybe a "dd bs=65536 skip=1 .." to a new zvol with size=original_zvol_size-64k ? But that would take hours on big volumes. Thanks, -- This message posted from opensolaris.org _______________________________________________ storage-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/storage-discuss
