Hello,

I¹m using ZFS to export some iscsi targets for the virtual box iscsi
initiator.

It works ok if I try to install the guest OS manually.

However, I¹d like to be able to import my already prepared guest os vdi
images into the iscsi devices but I can¹t figure out how to do it.

Each time I tried, I cannot boot.

It only works if I save the manually installed guest os and re-instate the
same as follows:

dd if=/dev/dsk/c3t600144F07551C20000004D619D170002d0p0 of=debian.vdi
dd if=debian.vdi  of=/dev/dsk/c3t600144F07551C20000004D619D170002d0p0

fdisk /dev/dsk/c3t600144F07551C20000004D619D170002d0p0

       Total disk size is 512 cylinders
             Cylinder size is 4096 (512 byte) blocks

                                               Cylinders
      Partition   Status    Type          Start   End   Length    %
      =========   ======    ============  =====   ===   ======   ===
          1       Active    Linux native      0   463     464     91
          2                 EXT-DOS         464   511      48      9

I¹m wondering whether there is an issue with the disk geometry hardcoded in
the vdi file container ?

Does the VDI disk geometry need to match the LUN size ?

Thanks,

Thierry.


-- 
The University of Westminster is a charity and a company limited by
guarantee.  Registration number: 977818 England.  Registered Office:
309 Regent Street, London W1B 2UW, UK.

_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to