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 Comments
steersman2484@sh.itjust.works · 11 pts · 2y
Just mount it to a fixed location in
/etc/fstab, but use a mount option likenofailornobootwait(quick search showed that this is the option for ubuntu users), so your machine still boots when the drive is not connectedBlxter@lemmy.zip · 2 pts · 2y
is
/fstaba folder? Or do you mean change that actual file?wildbus8979@sh.itjust.works · 8 pts · 2y
man fstabPara_lyzed@lemmy.world · 8 pts · 2y
/etc/fstabis a file that controls auto mount points at boot. You can read about it with the commandman 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.rasensprenger@feddit.de · 3 pts · 2y
But be careful, you can pretty easily break stuff by messing up fstab
atzanteol@sh.itjust.works · 3 pts · 2y
Easily? Just don't go deleting things and you're probably fine.
Blxter@lemmy.zip · 1 pts · 2y
Thank you I believe I have it resolved
olympicyes@lemmy.world · 1 pts · 2y
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.
MonkderZweite@feddit.ch · 1 pts · 2y
I guess this is a /etc/udev/ thing?
captainjaneway@lemmy.world · 1 pts · 2y
What's the end goal here? You should be able to use fstab to mount the drive to a particular folder on every boot. That should allow you to access the mounted folder consistently.