• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Support Troubleshooting Loosing my mind and need some help

    Pages (2): 1 2 Next »

     
    • 0 Vote(s) - 0 Average

    Loosing my mind and need some help

    media on a seperate hdd on ubuntu
    starwindeu
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #1
    2024-01-15, 01:04 PM
    Hey

    I have ubuntu and jellyfin + some other stuff installed on the main hard drive. but i took my hard drive from my windows pc with movies and series on it and installed it in the old pc that acts like a server and now i want to acces those files on my jellyfin server. ideally i dont want to formate that drive or loose my media, but after googling how to mount that drive for 2 days straight and following a few guides i fear its lost anyway. 

    My question is how on earth do i get my 2nd hardrive to show up so i can select it in the jellyfin configurations and how do i see if my files are there still?

    This thing is driving me insane so any help with this is appreaciated
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #2
    2024-01-15, 03:03 PM (This post was last modified: 2024-01-15, 03:04 PM by tmsrxzar.)
    i have more trouble understanding your difficulty than actually mounting an NTFS drive, it's something that should "just work" once the prerequisite packages are installed

    general how to get NTFS mounted in linux
    https://linuxconfig.org/how-to-mount-par...ite-access

    once it's mounted to the host, preferably from fstab, you will need to let us know how jellyfin is installed

    baremetal should be relatively easy but will require extra mount options

    docker will be less easy because it's formatted for Windows

    note: there may be issues with running a windows drive under linux in any case; f.e. if the drive ever gets errors linux will refuse to mount and you will have to chkdsk in windows which means moving the drive
    starwindeu
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #3
    2024-01-15, 03:15 PM
    Model: ATA WDC WD20EFRX-68E (scsi)
    Disk /dev/sdb: 2000GB
    Sector size (logical/physical): 512B/4096B
    Partition Table: msdos
    Disk Flags:

    Number Start End Size Type File system Flags
    1 1049kB 2000GB 2000GB primary ext4


    NTFS signature is missing.
    Failed to mount '/dev/sdb': Invalid argument
    The device '/dev/sdb' doesn't seem to have a valid NTFS.
    Maybe the wrong device is used? Or the whole disk instead of a
    partition (e.g. /dev/sda, not /dev/sda1)? Or the other way around?




    so im guessing it for formated somehow yesterday
    But its ok, as long as i can use that hdd to download big buck bunny on it and open it with jellyfin
    Anyhow i installed jellyfin with docker and portainer
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #4
    2024-01-15, 03:18 PM
    How is the drive connected? USB or SATA?

    Regardless, Ubuntu should have auto detected and then auto mounted the drive. Even when it is formatted NTFS.

    Can you share with us the output of

    Code:
    cat /proc/mounts
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #5
    2024-01-15, 03:21 PM (This post was last modified: 2024-01-15, 03:23 PM by tmsrxzar. Edited 1 time in total.)
    you do not mount whole disks in linux, /dev/sda, /dev/sdb is incorrect, you always mount the partitions /dev/sda1, /dev/sda2 etc.

    uid=,gid= will be needed in mounts, the uid and gid of the docker container will be used here

    those mounts will need to be passed to docker
    starwindeu
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #6
    2024-01-15, 03:37 PM (This post was last modified: 2024-01-15, 03:37 PM by starwindeu.)
    (2024-01-15, 03:18 PM)TheDreadPirate Wrote: How is the drive connected?  USB or SATA?

    Regardless, Ubuntu should have auto detected and then auto mounted the drive.  Even when it is formatted NTFS.

    Can you share with us the output of

    Code:
    cat /proc/mounts

    Code:
    sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
    proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
    udev /dev devtmpfs rw,nosuid,relatime,size=3983784k,nr_inodes=995946,mode=755,inode64 0 0
    devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000 0 0
    tmpfs /run tmpfs rw,nosuid,nodev,noexec,relatime,size=807336k,mode=755,inode64 0 0
    efivarfs /sys/firmware/efi/efivars efivarfs rw,nosuid,nodev,noexec,relatime 0 0
    /dev/mapper/ubuntu--vg-ubuntu--lv / ext4 rw,relatime 0 0
    securityfs /sys/kernel/security securityfs rw,nosuid,nodev,noexec,relatime 0 0
    tmpfs /dev/shm tmpfs rw,nosuid,nodev,inode64 0 0
    tmpfs /run/lock tmpfs rw,nosuid,nodev,noexec,relatime,size=5120k,inode64 0 0
    cgroup2 /sys/fs/cgroup cgroup2 rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot 0 0
    pstore /sys/fs/pstore pstore rw,nosuid,nodev,noexec,relatime 0 0
    bpf /sys/fs/bpf bpf rw,nosuid,nodev,noexec,relatime,mode=700 0 0
    systemd-1 /proc/sys/fs/binfmt_misc autofs rw,relatime,fd=29,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=22943 0 0
    tracefs /sys/kernel/tracing tracefs rw,nosuid,nodev,noexec,relatime 0 0
    hugetlbfs /dev/hugepages hugetlbfs rw,relatime,pagesize=2M 0 0
    configfs /sys/kernel/config configfs rw,nosuid,nodev,noexec,relatime 0 0
    mqueue /dev/mqueue mqueue rw,nosuid,nodev,noexec,relatime 0 0
    debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
    fusectl /sys/fs/fuse/connections fusectl rw,nosuid,nodev,noexec,relatime 0 0
    ramfs /run/credentials/systemd-sysusers.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
    ramfs /run/credentials/systemd-tmpfiles-setup-dev.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
    ramfs /run/credentials/systemd-sysctl.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
    /dev/mapper/ubuntu--vg-ubuntu--lv /snap ext4 rw,relatime 0 0
    /dev/loop2 /snap/snapd/20290 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
    /dev/loop2 /snap/snapd/20290 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
    /dev/loop0 /snap/core22/864 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
    /dev/loop0 /snap/core22/864 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
    /dev/loop1 /snap/lxd/25846 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
    /dev/loop1 /snap/lxd/25846 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
    /dev/sda2 /boot ext4 rw,relatime 0 0
    /dev/sda1 /boot/efi vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro 0 0
    /dev/sdb1 /media ext4 rw,relatime 0 0
    ramfs /run/credentials/systemd-tmpfiles-setup.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
    binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,nosuid,nodev,noexec,relatime 0 0
    ramfs /run/credentials/systemd-resolved.service ramfs ro,nosuid,nodev,noexec,relatime,mode=700 0 0
    tmpfs /run/snapd/ns tmpfs rw,nosuid,nodev,noexec,relatime,size=807336k,mode=755,inode64 0 0
    overlay /var/lib/docker/overlay2/4ac3fa74b758184463e4ae294419e1b9c1df10bdfa71dc6926034741a08578cc/merged overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/SAYV2JFVRUT257YP6UZXQFUQ5B:/var/lib/docker/overlay2/l/HDDUZEKF4X33MQK5IAMOOZ7JFB:/var/lib/docker/overlay2/l/OSDJSTZMXWGDYJUHOB64BX25H4:/var/lib/docker/overlay2/l/NRS446PKOIQCLRYVQ6NIFW3H3A:/var/lib/docker/overlay2/l/OJE2UWVQBR6YNPGLXS2WICCHLS,upperdir=/var/lib/docker/overlay2/4ac3fa74b758184463e4ae294419e1b9c1df10bdfa71dc6926034741a08578cc/diff,workdir=/var/lib/docker/overlay2/4ac3fa74b758184463e4ae294419e1b9c1df10bdfa71dc6926034741a08578cc/work,nouserxattr 0 0
    overlay /var/lib/docker/overlay2/c23e7fc230c825a144c2ad60fd9b32dd1f86be45aab71477bdbd425f9503be14/merged overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/3ZZF4O2RKDLL6ATBGIYMNY6GBW:/var/lib/docker/overlay2/l/4LYY4CSY3TMV2MHCMK3AZDRWUY:/var/lib/docker/overlay2/l/LWXNV3XAK4JCTUB6FZNHBOS4AM:/var/lib/docker/overlay2/l/OQESLQ42SDLCQ4PXQPEEEU2HTZ:/var/lib/docker/overlay2/l/ILWTGGN76BY6BAUESMBWGQLNBZ:/var/lib/docker/overlay2/l/L5BPJSZE4XJLTMK2ELMNQFLFHQ:/var/lib/docker/overlay2/l/IFSCDNV4LQY5KHPBZKLWZ5KHGE:/var/lib/docker/overlay2/l/HPLLHVFSAFOYWDF47VKZ4MR6XZ:/var/lib/docker/overlay2/l/DU5JH3LR44POGGHKKP22F2WJGY:/var/lib/docker/overlay2/l/GW7MHYH3L7D4MQYTVD4M4ZTH5I:/var/lib/docker/overlay2/l/XPM6ODQSHMWQJF5LBWM3QAMMMU:/var/lib/docker/overlay2/l/FOK5DCPKHUTUATDJKF6A6FW2SS,upperdir=/var/lib/docker/overlay2/c23e7fc230c825a144c2ad60fd9b32dd1f86be45aab71477bdbd425f9503be14/diff,workdir=/var/lib/docker/overlay2/c23e7fc230c825a144c2ad60fd9b32dd1f86be45aab71477bdbd425f9503be14/work,nouserxattr 0 0
    overlay /var/lib/docker/overlay2/ca9ef80c737d7e0fd6fd8a0c3bce954f5377fcde4496fa94b76e123b66d050d9/merged overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/EOGUGHHIPNMCF5VIBX3V2YLOLA:/var/lib/docker/overlay2/l/HQEK6KLT6IXV2NTDJOHWV452Y5:/var/lib/docker/overlay2/l/LNDQHH33VFIBJLLN4M3CH55J73:/var/lib/docker/overlay2/l/GNWWDVDXGJWODZKKOFLZ27XLK5:/var/lib/docker/overlay2/l/ADY6USBVRB7GG6VN3FN3HX4RLE:/var/lib/docker/overlay2/l/SHRETIUHMXKFGBZORE7IQMSOI4:/var/lib/docker/overlay2/l/UGE4HCIG5M22A36TCTW37JMUW5:/var/lib/docker/overlay2/l/OWLHZ3YSN3CX5FDHCWINKXAFOM:/var/lib/docker/overlay2/l/O7SSC3JAZL6DFU53F7GW47QF54:/var/lib/docker/overlay2/l/UJ6KTHT6G7N6DK4YZAEHRVRPE7:/var/lib/docker/overlay2/l/KU3ZKNPE3NNRIS2G5URSFDDVUP:/var/lib/docker/overlay2/l/QR4UGM6D3ZAVQ6TTAJNDXJWUR6:/var/lib/docker/overlay2/l/KDHYNRZXO7W3NEWZM5JMVF7CBQ:/var/lib/docker/overlay2/l/TVP5W53TF2IF77M2PY5RTOORXE:/var/lib/docker/overlay2/l/MSX4UDYPZI3672MSS2YIULT6CR:/var/lib/docker/overlay2/l/ISESMUY6AAPUY3RJHTK6HSTAAR:/var/lib/docker/overlay2/l/KFQLXFMCOHHYBZGPFNF32BZYNO:/var/lib/docker/overlay2/l/GQ7VAW26YYY446QTKHHXSIQSC2:/var/lib/docker/overlay2/l/4ISXUE6FU3HJUTD2O6T2AXJBSU:/var/lib/docker/overlay2/l/TWR3AGWGYOZ64S5M4D4P3RSN4I:/var/lib/docker/overlay2/l/DWHPB3FPZAPY555WHGQOSJS3YR:/var/lib/docker/overlay2/l/N355CUWRZND7ZBMXBJSHLCLAS2:/var/lib/docker/overlay2/l/42HLOCV6XENT4C4B5D5FFUFMVR:/var/lib/docker/overlay2/l/S7QRXTPKWZNJU2BJVLC6GOH3GC:/var/lib/docker/overlay2/l/J4TRBP6CCUOEKQURY2SIHTZJ26:/var/lib/docker/overlay2/l/B66VNQYB3VCYCZ77ADPRLNCHTZ:/var/lib/docker/overlay2/l/BT2KKVFBPD3TABQ2CIY6Y5MYY4:/var/lib/docker/overlay2/l/NVDLODWPYW3KXF2WCHYAFYVPEU:/var/lib/docker/overlay2/l/CJ3KDQKLEDIRQ3FXAPMKZSMJ2U:/var/lib/docker/overlay2/l/2CYGSJMCWGOL246R6K7IILKTRX,upperdir=/var/lib/docker/overlay2/ca9ef80c737d7e0fd6fd8a0c3bce954f5377fcde4496fa94b76e123b66d050d9/diff,workdir=/var/lib/docker/overlay2/ca9ef80c737d7e0fd6fd8a0c3bce954f5377fcde4496fa94b76e123b66d050d9/work,nouserxattr 0 0
    /dev/loop3 /snap/snapd/20671 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
    /dev/loop3 /snap/snapd/20671 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
    nsfs /run/docker/netns/d3ac3f4d5769 nsfs rw 0 0
    nsfs /run/docker/netns/89f4454340a2 nsfs rw 0 0
    nsfs /run/docker/netns/457c92142ae8 nsfs rw 0 0
    /dev/loop4 /snap/core22/1033 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
    /dev/loop4 /snap/core22/1033 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
    /dev/loop5 /snap/lxd/26200 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
    /dev/loop5 /snap/lxd/26200 squashfs ro,nodev,relatime,errors=continue,threads=single 0 0
    nsfs /run/snapd/ns/lxd.mnt nsfs rw 0 0
    tmpfs /run/user/1000 tmpfs rw,nosuid,nodev,relatime,size=807332k,nr_inodes=201833,mode=700,uid=1000,gid=1000,inode64 0 0
    overlay /var/lib/docker/overlay2/af5e4f68bff506255ac869de13de1c5b6339852ca518c0f769784d5cbe3622b9/merged overlay rw,relatime,lowerdir=/var/lib/docker/overlay2/l/MPPQ7CJXLCSRHHMYJC4U3BM7XR:/var/lib/docker/overlay2/l/FEEOHZVVDVHXCX3PMKNA7CPM4M:/var/lib/docker/overlay2/l/JQHJX7L7O2WO5UU5CFY4ASVBIM:/var/lib/docker/overlay2/l/3RNYJQGC5OHMGAI2P5Z6EGP2WJ,upperdir=/var/lib/docker/overlay2/af5e4f68bff506255ac869de13de1c5b6339852ca518c0f769784d5cbe3622b9/diff,workdir=/var/lib/docker/overlay2/af5e4f68bff506255ac869de13de1c5b6339852ca518c0f769784d5cbe3622b9/work,nouserxattr 0 0
    nsfs /run/docker/netns/a90a7ec0439d nsfs rw 0 0
    /dev/sdb1 /media/mynewdrive ext4 rw,relatime 0 0

    (2024-01-15, 03:18 PM)TheDreadPirate Wrote: How is the drive connected?  USB or SATA?

    Regardless, Ubuntu should have auto detected and then auto mounted the drive.  Even when it is formatted NTFS.

    Can you share with us the output of

    Code:
    cat /proc/mounts

    its SATA
    tmsrxzar
    Offline

    Senior Member

    Posts: 755
    Threads: 6
    Joined: 2023 Nov
    Reputation: 20
    #7
    2024-01-15, 03:50 PM
    im going to bow out of this one and leave it for TDP (or anyone who wants to jump in), i don't have the skill set to be able to explain using linux to someone else
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #8
    2024-01-15, 03:59 PM
    Oof. If /dev/sdb is, in fact, the drive you took out of your Windows PC all your data is probably gone. It would have been NTFS before. But it is EXT4 now. Which means at some point you reformatted the drive.
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    starwindeu
    Offline

    Junior Member

    Posts: 8
    Threads: 1
    Joined: 2024 Jan
    Reputation: 0
    #9
    2024-01-15, 04:04 PM
    (2024-01-15, 03:59 PM)TheDreadPirate Wrote: Oof.  If /dev/sdb is, in fact, the drive you took out of your Windows PC all your data is probably gone.  It would have been NTFS before.  But it is EXT4 now.  Which means at some point you reformatted the drive.

    Yeah i guessed as much aswell. but what do i do from here on forward?
    TheDreadPirate
    Offline

    Community Moderator

    Posts: 15,374
    Threads: 10
    Joined: 2023 Jun
    Reputation: 460
    Country:United States
    #10
    2024-01-15, 04:09 PM
    What are your full server specs? Is Ubuntu installed directly on the PC or is Ubuntu and VM on top of Proxmox or something?

    And you mentioned docker and portainer. Do you intend to install other containers? Or will Jellyfin be the only one?
    Jellyfin 10.10.7 (Docker)
    Ubuntu 24.04.2 LTS w/HWE
    Intel i3 12100
    Intel Arc A380
    OS drive - SK Hynix P41 1TB
    Storage
        4x WD Red Pro 6TB CMR in RAIDZ1
    [Image: GitHub%20Sponsors-grey?logo=github]
    Pages (2): 1 2 Next »

    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode