cancel
Showing results for 
Search instead for 
Did you mean: 
1_awsd_2
Mission Specialist
Mission Specialist
  • 313 Views

Strange Stratis Behaviour

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.

Labels (2)
0 Kudos
2 Replies
TM
Flight Engineer Flight Engineer
Flight Engineer
  • 259 Views

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

0 Kudos
1_awsd_2
Mission Specialist
Mission Specialist
  • 252 Views

Hi @TM ,

 

Yes, the x-systemd.requires=stratisd.service option is present in the /etc/fstab file.

 

Regards.

0 Kudos
Join the discussion
You must log in to join this conversation.