You can use the UUID, the PARTUUID or the LABEL. I'do go for the label for simplicity. You don't need the uid and gid options, in fact I'm pretty sure they are invalid for ext4.
Code: Select all
LABEL=msata /media/pi/msata ext4 defaults,nofail,noatime 0 0
I think that will work.