Hello everyone,
I encountered a strange behaviour while doing the Stratis exercies from the rh134 book.
The thing is that when I tried to mount a stratis volume, which has two disks added to the pool, on the already running system by using the volume's UUID in the /etc/fstab file, it mounted whithout problems. When I rebooted the machine, the systemm did not mount the logical volume as it should have.
However after I put the path (/dev/stratispool1/stratis-filesystem1) of the same stratis volume into the /etc/fstab file rather than the UUID, the volume mounted whithout problems after rebooting the system.
I tried also with a one disk setup, where I put the UUID of the volume in the /etc/fstab file and in that case the volume was mounted after rebooting the machine.
Is this behaviour normal with stratis?
Shouldn't the system mount volumes using either UUID or path/disk names, regardless of how many disks are in the volume pool?
Thanks in advance.
Hi @1_awsd_2,
Have you ensured that the x-systemd.requires=stratisd.service option is present in /etc/fstab ?
See below line.
UUID=... /path xfs defaults,x-systemd.requires=stratisd.service 0 0
Regards,
Tshimanga
Hi @TM ,
Yes, the x-systemd.requires=stratisd.service option is present in the /etc/fstab file.
Regards.
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.