Gå til innhold

[Løst] Linux Mint - Plex finner ikke disk 2


Anbefalte innlegg

Videoannonse
Annonse

Får dette om det var 3 kommandoer..?

sam@sam-NUC:~$ cp /etc/fstab /home/sam/fstab.bck
sam@sam-NUC:~$ echo "/dev/disk/by-uuid/e4807779-5756-4bdc-9759-b2243b1915b2 /mnt/sam/disk2 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Disk2 0 0" >> /home/sam/fstab.tmp
sam@sam-NUC:~$ cat /home/sam/fstab.tmp
# /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>
# / was on /dev/nvme0n1p2 during installation
UUID=7856f4a4-d8b7-41a1-84a1-ab3f6a7dbc9a /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=0D07-F119  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
/dev/disk/by-uuid/e4807779-5756-4bdc-9759-b2243b1915b2 /mnt/sam/disk2 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Disk2 0 0

 

 

 

Lenke til kommentar

 

sam@sam-NUC:~$ sudo cp /home/sam/fstab.tmp /etc/fstab
[sudo] passord for sam:     
sam@sam-NUC:~$ sudo cp /home/sam/fstab.tmp /etc/fstab
sam@sam-NUC:~$ ls -l /media/sam/disk2
ls: klarte ikke å åpne '/media/sam/disk2': Fila eller mappa finnes ikke
sam@sam-NUC:~$

Mente du /mnt/sam/disk2?

 

 

 

Lenke til kommentar

Beklager her har det blitt feil. Forsett med disse 3 kommandoene:

Sitat

head -n -1 /etc/fstab > /home/sam/fstab.tmp
echo "/dev/disk/by-uuid/e4807779-5756-4bdc-9759-b2243b1915b2 /media/sam/disk2 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Disk2 0 0" >> /home/sam/fstab.tmp
cat /home/sam/fstab.tmp

 

Endret av mobile999
Brainfreeze
Lenke til kommentar

sam@sam-NUC:~$ head -n -2 /etc/fstab > /home/sam/fstab.tmp
sam@sam-NUC:~$ echo "/dev/disk/by-uuid/e4807779-5756-4bdc-9759-b2243b1915b2 /media/sam/disk2 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Disk2 0 0" >> /home/sam/fstab.tmp
sam@sam-NUC:~$ cat /home/sam/fstab.tmp
# /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>
# / was on /dev/nvme0n1p2 during installation
UUID=7856f4a4-d8b7-41a1-84a1-ab3f6a7dbc9a /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=0D07-F119  /boot/efi       vfat    umask=0077      0       1
/dev/disk/by-uuid/e4807779-5756-4bdc-9759-b2243b1915b2 /media/sam/disk2 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Disk2 0 0

 

 

Lenke til kommentar

sam@sam-NUC:~$ head -n -1 /etc/fstab > /home/sam/fstab.tmp
sam@sam-NUC:~$ echo "/dev/disk/by-uuid/e4807779-5756-4bdc-9759-b2243b1915b2 /media/sam/disk2 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Disk2 0 0" >> /home/sam/fstab.tmp
sam@sam-NUC:~$ cat /home/sam/fstab.tmp
# /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>
# / was on /dev/nvme0n1p2 during installation
UUID=7856f4a4-d8b7-41a1-84a1-ab3f6a7dbc9a /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/nvme0n1p1 during installation
UUID=0D07-F119  /boot/efi       vfat    umask=0077      0       1
/swapfile                                 none            swap    sw              0       0
/dev/disk/by-uuid/e4807779-5756-4bdc-9759-b2243b1915b2 /media/sam/disk2 auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=Disk2 0 0

 

 

 

Lenke til kommentar

sam@sam-NUC:~$ sudo cp /home/sam/fstab.tmp /etc/fstab
[sudo] passord for sam:     
sam@sam-NUC:~$ sudo mount /media/sam/disk2
mount: /media/sam/disk2: mount point does not exist.
sam@sam-NUC:~$ ls -l /media/sam/disk2
ls: klarte ikke å åpne '/media/sam/disk2': Fila eller mappa finnes ikke
sam@sam-NUC:~$

 

 

 

 

Lenke til kommentar

sam@sam-NUC:~$ sudo mkdir /media/sam/disk2
sam@sam-NUC:~$ sudo chown sam: /media/sam/disk2
sam@sam-NUC:~$ sudo mount /media/sam/disk2
sam@sam-NUC:~$ ls -la /media/sam/disk2
totalt 36
drwxr-xr-x  6 sam  sam   4096 des.  19 15:53 .
drwxr-x---+ 3 root root  4096 des.  19 18:34 ..
drwxr-xr-x  2 plex plex  4096 des.  19 15:27 bibliotek
drwxrwxr-x  3 sam  sam   4096 des.  19 15:37 Data
drwx------  2 root root 16384 des.  19 14:10 lost+found
drwx------  4 sam  sam   4096 des.  19 14:26 .Trash-1000

Gitt mappa test1 navnet data før vi startet denne sesjonen

Endret av treskrue
Lenke til kommentar

Ja, hengelåsen er borte og disken er igjen under enheter :) Og disken mounter ved restart.

Men nå får jeg ikke kontakt med mappene gjennom Plex igjen.

Disk2 kommer opp, men samme som tidligere da jeg ikke får ekspandert og får ikke opp mappene.

 

 

plex igjen.png

Endret av treskrue
Lenke til kommentar

Opprett en konto eller logg inn for å kommentere

Du må være et medlem for å kunne skrive en kommentar

Opprett konto

Det er enkelt å melde seg inn for å starte en ny konto!

Start en konto

Logg inn

Har du allerede en konto? Logg inn her.

Logg inn nå
×
×
  • Opprett ny...