[
https://issues.apache.org/jira/browse/TS-667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14582586#comment-14582586
]
ASF GitHub Bot commented on TS-667:
-----------------------------------
GitHub user cjqian opened a pull request:
https://github.com/apache/trafficserver/pull/221
Issues/ts 667
Changed a proxy file and documentation file to encourage alternative
symlinked names (with id, path). Note that only the Linux example was changed
in the storage.config documentation; not familiar with syntax in FreeBSD and
Solaris.
This resolves #TS-667.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/cjqian/trafficserver issues/TS-667
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/221.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #221
----
commit 80e5e0409429f33a4ebeaa00016c3dc8cc7e4f8f
Author: Crystal Qian <[email protected]>
Date: 2015-06-11T17:12:00Z
TS-436 Added documentation for hardware sector size support
commit 0a91592dc610bb007e44ff49c2228638e433fed8
Author: Crystal Qian <[email protected]>
Date: 2015-06-11T22:01:44Z
Changed disk device paths to include id/path.
----
> Ability to keep traffic server from initializing the wrong disks when using
> RAW disk mode.
> ------------------------------------------------------------------------------------------
>
> Key: TS-667
> URL: https://issues.apache.org/jira/browse/TS-667
> Project: Traffic Server
> Issue Type: Improvement
> Components: Cache, Configuration
> Reporter: David Robinson
> Assignee: Crystal Qian
> Priority: Minor
> Labels: A, features
> Fix For: 6.0.0
>
>
> 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)