Hi,
I'd like to use ATS 5.0.1 with raw disk cache but having trouble on
Linux. My box is Debian 7 x64, /dev/sdb is inserted in storage.config
and change its owner:
# chown -R proxy /dev/sdb
But every time when ATS is started, disk owner changed back to root
and ATS didn't have access to disk
# ls -l /dev/sdb
brw-rw---T 1 root disk 8, 16 Oct 1 13:33 /dev/sdb
diags.log
[Oct 1 13:33:39.589] {0x2ac55f738ae0} NOTE: updated diags config
[Oct 1 13:33:39.617] Server {0x2ac55f738ae0} WARNING: unable to open
'/dev/sdb': Permission denied
[Oct 1 13:33:39.617] Server {0x2ac55f738ae0} WARNING: could not
initialize storage "/dev/sdb" [unable to open]
[Oct 1 13:33:39.617] Server {0x2ac55f738ae0} NOTE: cache clustering disabled
Disk ownership was changed to root right after traffic_cop started
root 24514 0.0 0.0 58504 1236 ? Ssl 13:27 0:00
/opt/ats510/bin/traffic_cop
proxy 24808 0.1 0.5 189588 18016 ? Sl 13:33 0:00 \_
/opt/ats510/bin/traffic_manager
proxy 24821 1.4 2.3 263868 71784 ? Sl 13:33 0:02
\_ /opt/ats510/bin/traffic_server -M --httpport 8080:fd=9
On FreeBSD, this problem doesn't happen, disk ownership isn't changed
when starting trafficserver.
Does anybody know how to properly use raw disk cache on Linux?
Thanks