Is there a way to stop and rename a mounted external drive (DAS set to raid5) so it does not change names every restart linux ubuntu

Blxter@lemmy.zip to Linux@lemmy.ml – 20 points –

As title says I have a direct attached storage attached to a Linux machine (that used to be windows). Said raid system started as being called ./Raid and is now after 2 restarts of of the lap top it is now ./Raid2. Is there a way to make it not change names every time I do a restart. I did some looking online but don't want to do something that will ruin the content that is on those drives.

Thanks

10

You are viewing a single comment

/etc/fstab is a file that controls auto mount points at boot. You can read about it with the command man fstab, or search up how to add something to it in a search engine. There are plenty of resources to help you online with creating a mount in the fstab.

But be careful, you can pretty easily break stuff by messing up fstab

Thank you I believe I have it resolved

It’s recommended to map the mount point to the drive’s GUID. That way if you change your hardware around you can be sure the drive will still mount.