From users-return-7579-archive-asf-public=cust-asf.ponee.io@trafficserver.apache.org Mon Mar 4 16:53:33 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 096B4180627 for ; Mon, 4 Mar 2019 17:53:32 +0100 (CET) Received: (qmail 30129 invoked by uid 500); 4 Mar 2019 16:53:31 -0000 Mailing-List: contact users-help@trafficserver.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@trafficserver.apache.org Delivered-To: mailing list users@trafficserver.apache.org Received: (qmail 30119 invoked by uid 99); 4 Mar 2019 16:53:31 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 Mar 2019 16:53:31 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 790ADC2776 for ; Mon, 4 Mar 2019 16:53:31 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.799 X-Spam-Level: * X-Spam-Status: No, score=1.799 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=verizonmedia.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id hq0rkxNzZ7gn for ; Mon, 4 Mar 2019 16:53:29 +0000 (UTC) Received: from mail-qk1-f195.google.com (mail-qk1-f195.google.com [209.85.222.195]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 409736104A for ; Mon, 4 Mar 2019 16:53:29 +0000 (UTC) Received: by mail-qk1-f195.google.com with SMTP id y140so3149850qkb.9 for ; Mon, 04 Mar 2019 08:53:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=verizonmedia.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=jJOeujXZpEaU4bFQkwWzRNNEuJH6kkOMdTaRq7Bnczk=; b=egbtNa0aIcZs4TJVsdhRBRDGNz63vLw2lz/5iUtzIuC6y8pMuJQOtnd00AQfU1t7uL q8xixpeCV36/tPvwfyyM5roJgPrVWjo9eOyza1TmvTfumaH+/BoidueyTSjvDqaIe0Vh 5FJJTEnQO21L6aRP2YkDY4uI2lQPWiMdEJaA6JfUnFleGPdiSxSeb300dXEZhx94r3J8 alGA8dGfxudYjEF1R+uKRRwfYXbfuY0sX4xiOkOCVzSeJhwxiKuLGV1Bn4+dSd+OqzXX Z+PwTTtCwx9u9sME/KJrduBiMvboPmtEIUT9hBYsfAwUt4kEfhyP5VYFrbGxTBQjoldM V18g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=jJOeujXZpEaU4bFQkwWzRNNEuJH6kkOMdTaRq7Bnczk=; b=oXztMGyap27qka+PWELYlJbop7vmlMkEYVuwwQigvpVgCLF8b3k8RsOe34VWwAhsJ8 wHkvs5YO5W6zfhnHsXKIQtlGjbHVrOXHEeyhENYI92zBUapiJFMfJZieBBuRABQvzPrY u21orbbDJSBprutvQyHxz10C6J7dlpmxxYWfjqFywFGdriRTl8UL971oIeUIWfQo/cVc dmwjgHI7g8Jfh+GmT7ulO/8V7RISvXDbhFxkc98PtCvZ0FnBsvJHN/xryB+3dte1iXDj To6n20USXN1tY/4vMHgg49KSZvLv6f15Zwr4ef1WyF6FM+6+NCf9JE5A6WHm6ez40xdT gHBw== X-Gm-Message-State: APjAAAWKLdZGzcCZ1fkpujM/+ZIgpS0HRh9qYFHXVbhXo2ws7OPa9i4o kmZNgJwwQKGqZ9eoiXpGv42BerWxWvD2f9iW+kLy9BpzLiA= X-Google-Smtp-Source: APXvYqyIryY9BrUa1J0fO5AVwChfnXDwDzQvCVUsWwTruqxg3f+/TCpHc5yZ1DY/3p1yQQMbPPix+4toG1N4vWYH0MY= X-Received: by 2002:a37:c3d3:: with SMTP id r80mr13840541qkl.65.1551718408555; Mon, 04 Mar 2019 08:53:28 -0800 (PST) MIME-Version: 1.0 References: <2515dd77-bd66-4e7d-b35d-81d9b18eb4e4@Spark> <87bd4bc3-faf4-4651-831c-66dc5d81434f@Spark> In-Reply-To: <87bd4bc3-faf4-4651-831c-66dc5d81434f@Spark> From: Alan Carroll Date: Mon, 4 Mar 2019 10:53:17 -0600 Message-ID: Subject: Re: How to config the raw disk? To: users@trafficserver.apache.org Content-Type: multipart/alternative; boundary="00000000000088bdc9058347985a" --00000000000088bdc9058347985a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 1) Did you do an `ls -l /dev/nvme*` to verify the permissions are what you think you set in the udev file? 2) Does group "ubuntu" have write permission? 3) Did you set the process group for `traffic_server` to be "ubuntu"? See https://docs.trafficserver.apache.org/en/8.0.x/admin-guide/files/records.co= nfig.en.html#proxy-config-admin-user-id - the primary group of the user ID will be used as the effective group ID of `traffic_server`. On Mon, Mar 4, 2019 at 9:59 AM Jason Yang wrote: > Hi > I am trying to setup ATS 8.0.2 on AWS EC2 using m5d instance (with local > disk) > > I am running traffic server using user ubuntu and the instance has disk > like following > nvme0n1 259:0 0 279.4G 0 disk > nvme1n1 259:1 0 279.4G 0 disk > nvme2n1 259:2 0 8G 0 disk > =E2=94=94=E2=94=80nvme2n1p1 259:3 0 8G 0 part / > > I added the following lines to /etc/udev/rules.d/51-cache-disk.rules > SUBSYSTEM=3D=3Dblock, KERNEL=3D=3Dnvme[0123456789], GROUP:=3Dubuntu > SUBSYSTEM=3D=3Dblock, KERNEL=3D=3Dnvme[0123456789]n1, GROUP:=3Dubuntu > > and my storage.config > /dev/nvme0n1 label=3Dcache.disk.0 > /dev/nvme1n1 label=3Dcache.disk.1 > > But it seems it is not working and I am getting "WARNING: unable to open > '/dev/nvme0n1': Permission denied=E2=80=9D. > > > Am I doing something wrong? Thank you! > > > Jason > > > > > --00000000000088bdc9058347985a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
1) Did you do an `ls -l /dev/nvme*` to ve= rify the permissions are what you think you set in the udev file?
2) Do= es group "ubuntu" have write permission?
3) Did you set t= he process group for `traffic_server` to be "ubuntu"? See=C2=A0https://docs.trafficserve= r.apache.org/en/8.0.x/admin-guide/files/records.config.en.html#proxy-config= -admin-user-id - the primary group of the user ID will be used as the e= ffective group ID of `traffic_server`.

On Mon, Mar 4, 2019= at 9:59 AM Jason Yang <pe= ter.waynechina@gmail.com> wrote:
Hi=C2=A0
I am trying to setup ATS 8.0.2 on AWS EC2 using m5d instance (with loc= al disk)

I am running traffic server using user ubuntu and the instance has dis= k like following=C2=A0
nvme0n1 259:0 0 279.4G 0 disk
nvme1n1 259:1 0 279.4G 0 disk
nvme2n1 259:2 0 8G 0 disk
=E2=94=94=E2=94=80nvme2n1p1 259:3 0 8G 0 part /

I added the following lines to /etc/udev/rules.d/51-cache-disk.rules= =C2=A0
=E2=80=83SUBSYSTEM=3D=3Dblock, KERNEL=3D=3Dnvme[0123456789], GROUP:=3D= ubuntu
=E2=80=83SUBSYSTEM=3D=3Dblock, KERNEL=3D=3Dnvme[0123456789]n1, GROUP:=3Dubu= ntu

and my storage.config=C2=A0
=E2=80=83/dev/nvme0n1 label=3Dcache.disk.0
=E2=80=83/dev/nvme1n1 label=3Dcache.disk.1

But it seems it is not working and I am getting "WARNING: unable = to open '/dev/nvme0n1': Permission denied=E2=80=9D.=C2=A0


Am I doing something wrong? Thank you!=C2=A0


Jason=C2=A0




--00000000000088bdc9058347985a--