Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
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
- relates to
-
TS-3165 Cache Toolkit API
- Open