Hi,
Created storage volume and assign to container, at the first time volume is shown in container(df -h command),After try to put data in volume it is not showing inside container while executing df -h command ,but it is their location(/dev/nifi) and files also available.
1)
root@nifi-2:/dev/nifi# df -h
Filesystem Size Used Avail Use% Mounted on
disk/containers/nifi-2 21G 1.9G 19G 10% /
none 492K 8.0K 484K 2% /dev
udev 95G 0 95G 0% /dev/tty
tmpfs 100K 0 100K 0% /dev/lxd
tmpfs 100K 0 100K 0% /dev/.lxd-mounts
tmpfs 95G 0 95G 0% /dev/shm
tmpfs 19G 204K 19G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 95G 0 95G 0% /sys/fs/cgroup
disk/custom/default_nifi-storage-2 168G 128K 168G 1% /dev/nifi
2)root@nifi-2:/dev/nifi# df -h
Filesystem Size Used Avail Use% Mounted on
disk/containers/nifi-2 22G 4.9G 17G 23% /
none 492K 16K 476K 4% /dev
udev 95G 0 95G 0% /dev/tty
tmpfs 100K 0 100K 0% /dev/lxd
tmpfs 100K 0 100K 0% /dev/.lxd-mounts
tmpfs 95G 0 95G 0% /dev/shm
tmpfs 19G 184K 19G 1% /run
tmpfs 5.0M 0 5.0M 0% /run/lock
tmpfs 95G 0 95G 0% /sys/fs/cgroup
point:2 it is not showing volume , while executing df -h command. we can write data to storage volume? if we written data into that storage volume will loss data??