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

Linux

47353 readers
1288 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
 

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
[–] [email protected] 7 points 10 months 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.

[–] [email protected] 4 points 10 months ago (1 children)

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

[–] [email protected] 2 points 10 months ago (1 children)

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

[–] [email protected] 2 points 10 months ago

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

[–] [email protected] 2 points 10 months ago (2 children)

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.

[–] [email protected] 2 points 10 months ago

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

[–] [email protected] 1 points 10 months ago

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

[–] [email protected] 2 points 10 months ago* (last edited 10 months ago) (1 children)

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

[–] [email protected] 1 points 10 months ago

Yeah its for compatibility between my devices, appreciate the help