Various simple single-purpose containers to stress target a module.
Make your test dirs group-owned by the same numeric GID and inheriting group perms:
# Use the same GID you bake into the image (20001 here)
sudo groupadd -g 20001 stresscontainers # ok if it already exists
sudo mkdir -p /var/lib/module-stresser/
sudo chgrp -R 20001 /var/lib/module-stresser/
sudo chmod 2775 /var/lib/module-stresser/Dont forget to create this stresscontainers group so that every container shares it and has the same permissions.
For the creation of a random junk data big file for the io containers:
openssl enc -aes-256-ctr -pass pass:seed -nosalt \
</dev/zero | dd of=/var/lib/module-stresser/fio_rand.dat bs=4M oflag=direct status=progressCheck the first 64 bytes of this newly created file:
xxd -l 64 fio_rand.dat