Uploaded image for project: 'XenServer Org'
  1. XenServer Org
  2. XSO-507

Support for 4K block sector size disks

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Unresolved
    • Major
    • None
    • All
    • Storage
    • None

    Description

      Hello Everyone;

      We have a large deployment with over 2 PB storage and we are using 8TB SAS disks in each storage pool.

      I did contact Citrix support and they informed me that the current XenServer 6.5 does not support creating SR on storage with 4K block size disks

      This is the SR that I have created.

        --- Volume group ---
        VG Name               VG_XenStorage-9718b48c-46e6-6776-bd00-6e3d9af0651d
        System ID
        Format                lvm2
        Metadata Areas        1
        Metadata Sequence No  4
        VG Access             read/write
        VG Status             resizable
        MAX LV                0
        Cur LV                1
        Open LV               0
        Max PV                0
        Cur PV                1
        Act PV                1
        VG Size               14.52 TB
        PE Size               4.00 MB
        Total PE              3807228
        Alloc PE / Size       1 / 4.00 MB
        Free  PE / Size       3807227 / 14.52 TB
        VG UUID               Wp9K7p-yJtt-d5dG-hEWy-6b7o-UbKC-fG0W2U
      
      

      and when I do fdisk -lu, I see all disks showing the following message

      Disk /dev/sdd: 15968.6 GB, 15968688406528 bytes
      255 heads, 63 sectors/track, 242676 cylinders, total 3898605568 sectors
      Units = sectors of 1 * 4096 = 4096 bytes
      
      Disk /dev/sdd doesn't contain a valid partition table
      Note: sector size is 4096 (not 512)
      
      Disk /dev/sde: 15968.6 GB, 15968688406528 bytes
      255 heads, 63 sectors/track, 242676 cylinders, total 3898605568 sectors
      Units = sectors of 1 * 4096 = 4096 bytes
      
      Disk /dev/sde doesn't contain a valid partition table
      Note: sector size is 4096 (not 512)
      

      And when I try to create a VM or add a Disk, it's failing with SR_BACKEND_FAILURE_78

      Apr 20 10:14:52 AJA-XENSERVER02 vhd-util: libvhd::vhd_write: /dev/VG_XenStorage-9718b48c-46e6-6776-bd00-6e3d9af0651d/VHD-6fbbbb66-972f-4181-b436-3c56972ca55c: write of 131072 returned 0, errno: -22
      Apr 20 10:14:52 AJA-XENSERVER02 vhd-util: libvhd::vhd_write_batmap: /dev/VG_XenStorage-9718b48c-46e6-6776-bd00-6e3d9af0651d/VHD-6fbbbb66-972f-4181-b436-3c56972ca55c: failed writing batmap: -22
      Apr 20 10:14:52 AJA-XENSERVER02 vhd-util: libvhd::vhd_write: /dev/VG_XenStorage-9718b48c-46e6-6776-bd00-6e3d9af0651d/VHD-6fbbbb66-972f-4181-b436-3c56972ca55c: write of 4194304 returned 0, errno: -22
      Apr 20 10:14:52 AJA-XENSERVER02 xapi: [ info|AJA-XENSERVER02|423625 UNIX /var/xapi/xapi|sm_exec D:962968e2309c|xapi] Session.destroy trackid=62bc67e5a3b83a413dc171b71c597926
      Apr 20 10:14:52 AJA-XENSERVER02 xapi: [error|AJA-XENSERVER02|423625 UNIX /var/xapi/xapi|VDI.create R:cb2667891af2|storage_access] Re-raising as SR_BACKEND_FAILURE_78 [ ; VDI Creation failed [opterr=error 22];  ]
      Apr 20 10:14:52 AJA-XENSERVER02 xapi: [ info|AJA-XENSERVER02|423635 UNIX /var/xapi/xapi|session.logout D:7335e8e77475|xapi] Session.destroy trackid=bbcef362321214c76aef22f45d8b178f
      

      I think this is very important feature that should be added to xenserver as 8TB disks are now common in the market.

      Btw: VMware ESXi will be supporting it as it's on their roadmap for this year 2016!

      Thanks

      Attachments

        Activity

          People

            enzo enzo raso
            adam.mkk@gmail.com Adam Kamali
            Votes:
            8 Vote for this issue
            Watchers:
            9 Start watching this issue

            Dates

              Created:
              Updated: