L
L
lfdy_802020-05-17 20:31:19
linux
lfdy_80, 2020-05-17 20:31:19

Incomplete fstab file, is this normal?

Hi all. I was setting up Plex on Mint and ran into a problem - it cannot scan an external ntfs hard drive. I found that I need to mount it to my home directory, I did it with the mount command, everything is ok. But when you try to add it to fstab, the laptop does not load. You have to delete the line, then mint starts loading. The system is mounted, it works, everything is ok. I also noticed that fstab itself is incomplete. In addition to the standard #, there is just the following:

UUID=868e0422-84b3-4335-94f1-541973302e79 / ext4 errors=remount-ro 0 1
/swapfile none swap sw 0 0

And that's it, there's nothing else. At the same time, fdisk -l or /etc/mtab show the full information. Internet search turned up nothing. What to do, create fstab again? And why is he like this?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexey, 2020-05-17
@lfdy_80

find out the sudo blkidUUID of the disk you need and add the following line to fstab:

UUID=475C081F3C32DAE7 /mnt/windows/ ntfs-3g users,defaults,umask=0 0 0

Don't forget to paste your data into the UUID and mount point. Also, don't forget to add an empty line at the end of the file.
PS Plex works great if the external drive is not mounted in the home directory.
PPS If you organize storage, then it is better to have a disk in ext4, and not in ntfs. (samba works well with ext4 too)

P
pfg21, 2020-05-17
@pfg21

there is a set of technical sections that are mounted separately from fstab, usually these are devfs, sysfs, procfs and the like, they do not carry user data and are only a file interface for accessing system functions.
plus there is a gvfs system that, for example, connects flash drives without asking for root rights.
you most likely have the wrong ntfs written in fstab.
boot up, write a line to fstab and try to mount via sudo mount /dev/sd*** . mounting most likely will not work and the kernel will throw errors into the log, and you will understand what is wrong with them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question