20
submitted 1 year ago by Blxter@lemmy.zip to c/linux@lemmy.ml

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

you are viewing a single comment's thread
view the rest of the comments
[-] steersman2484@sh.itjust.works 13 points 1 year ago

Just mount it to a fixed location in /etc/fstab, but use a mount option like nofail or nobootwait (quick search showed that this is the option for ubuntu users), so your machine still boots when the drive is not connected

[-] Blxter@lemmy.zip 2 points 1 year ago* (last edited 1 year ago)

is /fstab a folder? Or do you mean change that actual file?

[-] Para_lyzed@lemmy.world 8 points 1 year ago

/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.

[-] rasensprenger@feddit.de 3 points 1 year ago

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

[-] atzanteol@sh.itjust.works 3 points 1 year ago

Easily? Just don't go deleting things and you're probably fine.

load more comments (2 replies)
load more comments (3 replies)
load more comments (3 replies)
this post was submitted on 17 Feb 2024
20 points (91.7% liked)

Linux

56134 readers
1185 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS