# Cannot create entry in file system table

**URL:** <https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205>\
**Category:** Plex Media Server\
**Tags:** server-linux\
**Created:** [August 22, 2021, 7:26pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205 "2021-08-22T19:26:42Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![Atlantasteven](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/atlantasteven/32/249132_2.png) [@Atlantasteven](https://forums.plex.tv/u/Atlantasteven)\
**Post date:** [August 22, 2021, 7:26pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205/1 "2021-08-22T19:26:42Z")

</div>

I am using the tip page but get stuck on part D every time. I enter the /etc/fstab line but from there I get instructions and no way to enter the command line as instructed.

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [August 22, 2021, 8:30pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205/2 "2021-08-22T20:30:33Z")

</div>

There’s quite a number of posts in the [Linux tips & tricks](https://forums.plex.tv/t/linux-tips/276247). Would you mind pointing out which one you’re referring to?  
Also I’m not really sure what the problem is – can you share some more details on what you’re aiming for, what steps you’ve taken and where you get stuck?

---

<div class="post-metadata">

**Author:** ![Atlantasteven](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/atlantasteven/32/249132_2.png) [@Atlantasteven](https://forums.plex.tv/u/Atlantasteven)\
**Post date:** [August 24, 2021, 9:03pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205/3 "2021-08-24T21:03:56Z")

</div>

I am adding 2 external NTFS-formatted discs.  
I first identified the discs I want to add in graphical disc manager.  
Command df.  
/dev/sdb1 (My Passport) and  
/dev/sdc1 (VIDEO).  
Then I go to root.  
Then I create location where I will graft everything into Linux.  
I call it external.  
The hard drives are”my passport” and “video”.  
Then I get Block IDs.  
I see UUID for each harddrive

Here is where I get lost. I am trying to create in the file system where to mount each time the system boots.  
If I enter vi /etc/fstab I get “a static file system information”. Then I see “use blkid to print the universally unique identifier for a device…”  
Then more info

 ![image](https://global.discourse-cdn.com/plex/original/3X/b/0/b03a3dab329d18c9756df1236d9cad029dd7958a.jpeg)

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [August 24, 2021, 9:53pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205/4 "2021-08-24T21:53:36Z")

</div>

ok… some of those editors are a bit weird (don’t tell anybody I said that 😉 ).

Basically what you see on the screen is the content of the `fstab` configuration file – down to the lines starting w/ `~` that indicate there’s no more content. In order to edit the file, you need to switch into editing mode.

- as `/etc/fstab` is a system file you cannot edit it with your regular user. Instead you need to tell the system you want to do that with admin privileges:  
`sudo vi /etc/fstab`  
This will ask for your account password (and will only work if you’re also an admin on that system.

- You cannot simply write in the file; instead you need to tell `vi` if/where you want to edit it. There’s a lot of guides describing how to edit files using `vi`, e.g. [Basic vi Commands](https://www.cs.colostate.edu/helpdocs/vi.html)

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [August 24, 2021, 9:57pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205/5 "2021-08-24T21:57:03Z")

</div>

1. You’re going to need two places under `/external`; one for each HDD  
a. sudo mkdir /external/passport  
b. sudo mkdir /external/video

2. Next, with nothing mounted: chmod -R 755 /external

3. Using your info, follow what I do here:

```auto
[chuck@lizum etc.507]$ sudo blkid /dev/sdb1
/dev/sdb1: LABEL="6t" UUID="446c8f7a-858b-47c5-94da-5fd8da44a18f" BLOCK_SIZE="4096" TYPE="ext4" PARTUUID="ce59470a-769b-4057-bc93-5b1a23156ade"
[chuck@lizum etc.508]$

```

1. Add `UUID=446c8f7a-858b-47c5-94da-5fd8da44a18f` and fill out the rest of the line:

```auto
UUID=446c8f7a-858b-47c5-94da-5fd8da44a18f /external/disk1 ext4 default,auto,nofail,bg 0 0

```

The info here, as described in the manual (`man fstab`) is

1. Parition UUID to mount
2. Location to mount at
3. FS type
4. Mount options (auto = at boot, nofail = don’t stop startup if a problem, background if the drive isn’t quite ready)
5. backup flag
6. fsck flag

You will use either partition type `nfs` or `ntfs-3g` depending on the formatting and what `blkid` shows you.

PS: You can have a bit easier way with it:

```auto
sudo gedit /etc/fstab

```

^^ graphical editor.

---

<div class="post-metadata">

**Author:** ![Atlantasteven](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/atlantasteven/32/249132_2.png) [@Atlantasteven](https://forums.plex.tv/u/Atlantasteven)\
**Post date:** [August 26, 2021, 10:36pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205/6 "2021-08-26T22:36:54Z")

</div>

I followed the order. Here is what I get:

 ![image](https://global.discourse-cdn.com/plex/original/3X/1/d/1dd9235ead009c8b3534e2e5414167a75968e0bf.jpeg)

---

<div class="post-metadata">

**Author:** ![Atlantasteven](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/atlantasteven/32/249132_2.png) [@Atlantasteven](https://forums.plex.tv/u/Atlantasteven)\
**Post date:** [August 27, 2021, 8:05pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205/7 "2021-08-27T20:05:02Z")

</div>

I downloaded and installed Gedi but don’t know what to do with it.

---

<div class="post-metadata">

**Author:** ![tom80H](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/tom80h/32/19753_2.png) [@tom80H](https://forums.plex.tv/u/tom80H)\
**Post date:** [August 27, 2021, 8:34pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205/8 "2021-08-27T20:34:23Z")

</div>

Open the app from the command line using the command posted by chuckpa above in order to make your edits to `/etc/fstab`.

---

<div class="post-metadata">

**Author:** ![Atlantasteven](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/atlantasteven/32/249132_2.png) [@Atlantasteven](https://forums.plex.tv/u/Atlantasteven)\
**Post date:** [September 2, 2021, 11:08pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205/9 "2021-09-02T23:08:44Z")

</div>

I am too much of a newbie to understand the next step. I would be willing to invite remote access to complete the process.

---

<div class="post-metadata">

**Author:** ![ChuckPa](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/chuckpa/32/79710_2.png) [@ChuckPa](https://forums.plex.tv/u/ChuckPa)\
**Post date:** [September 2, 2021, 11:21pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205/10 "2021-09-02T23:21:52Z")

</div>

Didn’t you mean `gedit` ?

(Gnome graphical editor)

```auto
sudo gedit /etc/fstab

```

In my How-To

```nohighlight
[root@lizum chuck]# vi /etc/fstab (or use whatever text editor is available / favorite and add the following lines, using your information)

# Addtions for external and internal drives
# Mount Media-3 (ext4) at /disks/media3 for Plex
UUID=50f1a141-bc8a-48ba-9b29-8a7bee8043e9 /disks/media3 ext4 defaults,auto,rw,nofail 0 1

# Mount Chuck-2T (NTFS) at /disks/chuck2t for Plex
UUID=56EA5848EA582691 /disks/chuck2t ntfs defaults,auto,rw,nofail 0 1

# Mount /dev/sda1 directly READ-ONLY, and use the device name because it will never change
/dev/sda1 /disks/c ntfs defaults,auto,ro,nofail 0 1

```

`vi` can be replaced with `gedit`.

Make certain you are `root` (notice the `#` prompt) or use `sudo`

---

<div class="post-metadata">

**Author:** ![Atlantasteven](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/atlantasteven/32/249132_2.png) [@Atlantasteven](https://forums.plex.tv/u/Atlantasteven)\
**Post date:** [September 4, 2021, 1:29pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205/11 "2021-09-04T13:29:09Z")

</div>

![image](https://global.discourse-cdn.com/plex/original/3X/b/1/b196c8bac0d1ff004f69c19203e1e41f919a1ff6.jpeg)  
I was able to open gedit. I believe I entered the data correctly. I got a new error message.

---

<div class="post-metadata">

**Author:** ![Atlantasteven](https://sea1.discourse-cdn.com/plex/user_avatar/forums.plex.tv/atlantasteven/32/249132_2.png) [@Atlantasteven](https://forums.plex.tv/u/Atlantasteven)\
**Post date:** [September 12, 2021, 12:55pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205/12 "2021-09-12T12:55:02Z")

</div>

Chuck, can you PM me?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/plex/original/3X/2/a/2acb9765406f63293d357b4ec509ec39aa28f2ad.png) [@system](https://forums.plex.tv/u/system)\
**Post date:** [December 11, 2021, 12:55pm UTC](https://forums.plex.tv/t/cannot-create-entry-in-file-system-table/738205/13 "2021-12-11T12:55:07Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
