Hello,
I would like to monitor my sata hdds from a LXC ct (web service) but I have to access S.M.A.R.T information.
Is it possible to do this from a ct ?
I dont want to install the web service on the pve host.
It would be nice if the ct don't have the right to r/w on hdd (read S.M.A.R.T info only)
Hdds are in a zpool.
I tried to add this in the
As you can see, smartctl can't read the device identity.
What do you think ?
Thanks
I would like to monitor my sata hdds from a LXC ct (web service) but I have to access S.M.A.R.T information.
Is it possible to do this from a ct ?
I dont want to install the web service on the pve host.
It would be nice if the ct don't have the right to r/w on hdd (read S.M.A.R.T info only)
Hdds are in a zpool.
I tried to add this in the
/etc/pve/lxc/101.conf
Code:
lxc.cgroup.devices.allow: b 8:1 rwm
lxc.mount.entry: /dev/sde dev/sde none bind,optional,create=file
Code:
root@ct:~# smartctl -a /dev/sde
...
Probable ATA device behind a SAT layer
Try an additional '-d ata' or '-d sat' argument.
Read Device Identity failed: Permission denied
...
As you can see, smartctl can't read the device identity.
What do you think ?
Thanks
Last edited: