Hi Brian,

grep on /home/ec2-user/data gave me a permission denied as what we were 
expecting, see the logs:

[pid 26449] statfs("/home/ec2-user/data",  <unfinished ...>
[pid 26452] <... fstat resumed> {st_mode=S_IFREG|0444, st_size=4096, ...}) 
= 0
[pid 26449] <... statfs resumed> 0xc00010f5e8) = -1 EACCES (Permission 
denied)

However, even after doing chmod 777 on /home/ec2-user/data I still have the 
issue. 

now  I am wondering what permission and where should I set for this to work.

Thank for the help,

On Monday, August 16, 2021 at 1:26:17 PM UTC+7 Brian Candler wrote:

> I would be grepping for /dev/nvme0n1p1, /dev/nvme1n1p1 and 
> /home/ec2-user/data
>
> A thought: does the user that you're running node_exporter as, have 
> permissions to access /home/ec2-user/data?   Try:
>
> sudo -u <username> ls -l /home/ec2-user/data
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/c001998c-8d54-4725-989f-9d8475e0fbc1n%40googlegroups.com.

Reply via email to