[ 
https://issues.apache.org/jira/browse/TS-2399?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alan M. Carroll updated TS-2399:
--------------------------------
    Fix Version/s:     (was: 5.2.0)
                   5.3.0

> Disk cache raw device permissions being bypassed
> ------------------------------------------------
>
>                 Key: TS-2399
>                 URL: https://issues.apache.org/jira/browse/TS-2399
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Cache, Core
>            Reporter: David Carlin
>             Fix For: 5.3.0
>
>
> Disk cache raw device permissions:
> {noformat}brw-rw---- 1 root disk 253, 4 Nov 26 16:03 /dev/dm-4
> {noformat}
> If I run 'traffic_server' by itself, I can't use the cache - I get permission 
> errors opening it up:
> {noformat}
> [Nov 26 16:56:42.976] Server {0x2b4e29878540} WARNING: unable to open 
> '/dev/dm-4': -13, Permission denied
> [Nov 26 16:56:42.976] Server {0x2b4e29878540} WARNING: could not initialize 
> storage "/dev/dm-4" [unable to open]
> [Nov 26 16:56:42.976] Server {0x2b4e29878540} NOTE: cache clustering disabled
> {noformat}
> However, I can I start ATS fine and use the raw device disk cache via the 
> trafficserver startup script.
> These docs indicate that I should be setting the owner to the user that ATS 
> runs as, but I don't need to as long as I start via the script:
> https://cwiki.apache.org/confluence/display/TS/FAQ#FAQ-rawdisk
> Once I change ownership of /dev/dm-4 to user ATS is run as, then I can launch 
> traffic_server by itself.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to