Comment 3 for bug 1589289

Revision history for this message
Simon Déziel (sdeziel) wrote :

On my containers using the "dir" storage backend, /etc/cron.weekly/fstrim outputs:

fstrim: cannot open /dev/.lxd-mounts: Permission denied
fstrim: /dev/lxd: FITRIM ioctl failed: Operation not permitted
fstrim: /: FITRIM ioctl failed: Operation not permitted

From one of those containers:

# mount | grep sda
/dev/sda on / type ext4 (rw,noatime,errors=remount-ro,data=ordered)
/dev/sda on /dev/lxd type ext4 (rw,noatime,errors=remount-ro,data=ordered)
/dev/sda on /dev/.lxd-mounts type ext4 (rw,noatime,errors=remount-ro,data=ordered)