11
submitted 1 year ago* (last edited 1 year ago) by Extrasvhx9he@lemmy.today to c/linux@lemmy.ml

Still new to linux hope its ok to ask here. I decided to replace one of my backup drives for the first time in 5ish years with a new 2.5" HDD meant for internal use but in an enclosure (the enclosure works fine). I formatted it in ntfs via gparted and everything went as expected, I even created a large veracrypt container file. I safely removed the drive and after a few hours I re-connected it and it made the notification noise that indicates the drive was detected but it's filesystem wasn't mounted. It showed up in gparted, disks and lsblk (as sdb1). Searched online and learned to manually mount it in the /mnt/ directory but I didnt want to manually do that everytime. I ended up reformatting it and for good measure, connected to another port and boom it mounted once connected. Decided not to create the file container or even incorporate the drive into my backup strategy yet until I get input whether or not this is a hardware issue or software. So what do you guys think happened? Not sure what info to provide

Edit: the filesysten and encryption software I chose is for compatibility between my devices

Edit 2: new errors relating to my hardware started showing up when further proceeding with my plan so I'm just going to return it and try again

top 9 comments
sorted by: hot top controversial new old
[-] NeoNachtwaechter@lemmy.world 7 points 1 year ago

You need somebody who knows your Popos.

In general, linuxes autodetect all hardware, but do not automount all filesystems. This is intended. It is a matter of configuration, and so the different distros have different tastes regarding this topic.

[-] Quazatron@lemmy.world 4 points 1 year ago

I don't know the reason, but I'm intrigued: why Veracrypt and NTFS instead of something like LUKS and EXT4?

[-] Extrasvhx9he@lemmy.today 2 points 1 year ago

Mostly just for cross compatibility between my devices and I really like veracrypt

[-] Quazatron@lemmy.world 2 points 1 year ago

Sorry, I am unaware of a cross-system full disk encryption solution.

[-] GnomeComedy@beehaw.org 2 points 1 year ago* (last edited 1 year ago)

Are you intentionaly using NTFS for compatibility with another machine? If not, I'd use a Linux native filesystem like xfs or ext4 and add it to /etc/fstab

[-] Extrasvhx9he@lemmy.today 1 points 1 year ago

Yeah its for compatibility between my devices, appreciate the help

[-] mertn@lemmy.sdf.org 2 points 1 year ago

Maybe you unplugged the device before unmounting it leaving the filesystem in an odd state? Next time it fails to auto mount check /var/log/syslog for recent error clues.

[-] bruce965@lemmy.ml 2 points 1 year ago

In my very limited experience, when this happens the filesystem can (and will) still be mounted as read-only.

[-] Extrasvhx9he@lemmy.today 1 points 1 year ago

I always eject/safely remove my drives but I will check the syslog thank you so much for pointing that out

this post was submitted on 07 Nov 2023
11 points (100.0% liked)

Linux

48334 readers
759 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 5 years ago
MODERATORS