OK… lets do some other stuff…
Please show me
lsblk -f
cat /etc/fstab
OK… lets do some other stuff…
Please show me
lsblk -f
cat /etc/fstab
[zombtux@manjaro ~]$ lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
sdb
sdc
└─sdc1
ext4 1.0 a80b6f7e-3b31-4610-ab6b-cbb6aba371cf 1,7T 0% /run/media
nvme0n1
│
├─nvme0n1p1
│ vfat FAT32 9A41-1D82 299,1M 0% /boot/efi
├─nvme0n1p2
│ ext4 1.0 f7524506-676d-4607-9feb-e433b8dbba62 397,7G 2% /
└─nvme0n1p3
swap 1 03963560-e379-41f8-b704-ed66e7e3df83 [SWAP]
[zombtux@manjaro ~]$ cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=9A41-1D82 /boot/efi vfat umask=0077 0 2
UUID=f7524506-676d-4607-9feb-e433b8dbba62 / ext4 defaults,noatime 0 1
UUID=03963560-e379-41f8-b704-ed66e7e3df83 swap swap defaults,noatime 0 2
[zombtux@manjaro ~]$
Mk.
ls /run/media && ls /run/media/*
[zombtux@manjaro ~]$ ls /run/media && ls /run/media/*
zombtux
a80b6f7e-3b31-4610-ab6b-cbb6aba371cf
[zombtux@manjaro ~]$
Yeah … I think what you should probably do is mount it anyways since its always going to be connected.
In /etc/fstab
you need to add line
UUID=a80b6f7e-3b31-4610-ab6b-cbb6aba371cf /mnt/storage ext4 defaults,noatime 0 0
So yours will look like this:
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a device; this may
# be used with UUID= as a more robust way to name devices that works even if
# disks are added and removed. See fstab(5).
#
# <file system> <mount point> <type> <options> <dump> <pass>
UUID=9A41-1D82 /boot/efi vfat umask=0077 0 2
UUID=f7524506-676d-4607-9feb-e433b8dbba62 / ext4 defaults,noatime 0 1
UUID=03963560-e379-41f8-b704-ed66e7e3df83 swap swap defaults,noatime 0 2
UUID=a80b6f7e-3b31-4610-ab6b-cbb6aba371cf /mnt/storage ext4 defaults,noatime 0 0
Reboot and tell me if you see it mounted as /mnt/storage
When i try enter the first line have error message no file or no folder in this type
What do you mean?
I didnt provide any commands … it was a line you need to add to a file…
In order to edit the file … just open it with kate.
Or you can do it in the terminal:
sudo nano /etc/fstab
ok i have past in terminal what key for save ?
Huh?
You mean to exit nano? Its Ctrl+X
ok i reboot
ls /mnt/
ls /mnt/storage/
after reboot i got this
[zombtux@manjaro ~]$ ls /mnt/
storage
[zombtux@manjaro ~]$ ls /mnt/storage/
Emby lost+found
[zombtux@manjaro ~]$
Cool.
Can you now access the folder using emby in browser ?
(by navigating to /mnt/storage/Emby
)
YES
with your command we have change location ? now is in mnt not in run/media ?
We changed where it mounts. Now that partition will always mount to /mnt/storage
and we created the emby folder with the correct permissions
Alright… I am going to modify my first ‘roundup’ instructions here.
First install and enable emby media server:
sudo pacman -S emby-server
systemctl enable emby-server --now
Now edit /etc/fstab
to mount your external partition. We will use /mnt/storage
.
Find your storage drive/partition UUID with
lsblk -f
Then add line (using your own UUID and filesystem format)
UUID=a80b6f7e-3b31-4610-ab6b-cbb6aba371cf /mnt/storage ext4 defaults,noatime 0 0`
Then we will create our emby library and give emby permissions
sudo mkdir /mnt/storage/emby-library
sudo chown emby:emby /mnt/storage/emby-library
Then browse to http://localhost:8096
and set up your things.
I am not entirely sure what you mean.
If you select that directory for emby to use … then thats its library.
(as in where the movies/files/whatever go I assume)
ok its just emby dont view my movie i need give access to each movie or ?