I have added this entry to my /etc/fstab
/dev/sdb1 /user_data xfs rw 0 0
Which works fine, the issue i am getting it sometime i remove this drive and when i do and reboot my machine it goes into emergency mode.
I have tried adding
OnFailure= in it but i still get the same result
is there something else i can do to stop this happening