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

Ability to keep traffic server from initializing the wrong disks when using RAW disk mode.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 6.0.0
    • Cache, Configuration

    Description

      When disk devices are configured in storage.config for RAW mode they are automatically initialized when traffic server first starts up. If disk device names change later due to adding/removing disks or kernel changes trafficserver will overwrite disks that the user may not want to be cache disks. This leads to data loss on the affected disks.

      Maybe a feature could be added similar to squid's -z where cache disks must be explicitly initialized before they can be used. Or a configuration variable that changes trafficserver's initialization behavior.

      (6:49:06 PM) zwoop: so, maybe have a few settings for the config
      (6:49:06 PM) zwoop: 0 - Let it reinitialize cache as it likes
      (6:49:06 PM) zwoop: 1 - Only initialize cache explicitly
      (6:49:06 PM) zwoop: 2 - Only initialize cache explicitly, and refuse to start up if we detect a cache disk with bad header

      Attachments

        Issue Links

          Activity

            People

              cqian Crystal Qian
              devroot David Robinson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: