Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-1163

Raw disks with more than (2^32)-1 sectors (usually 2TB) are not supported on linux

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.1.4
    • Cache
    • None

    Description

      Due to 32bit integers in both the trafficersever code and the ioctl used to determine raw disk size, the number of sectors reported to the cache storage system is bound to 0-0xFFFFFFFF. If a disk has 512 byte sectors and is larger than 2TB it will report (num_sectors % 0xFFFFFFFF) * 512 bytes avaliable.

      Attachments

        1. blkgetsize64.bwyatt.patch
          2 kB
          Bart
        2. blkgetsize64.v2.bwyatt.patch
          2 kB
          Bart

        Activity

          People

            wanderingbort Bart
            wanderingbort Bart
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: