Jump to content

Iron_Forge

Members
  • Posts

    1
  • Joined

  • Last visited

Posts posted by Iron_Forge

  1. Having a weird issue with my Ubuntu 22.04 VM with virtiofs I wasn't seeing when I was using cifs shares prior, not sure if I just have something set slightly wrong?

    So far, I'm only seeing the issue with yt-dlp, when it tries to write a file, it will error out, sometimes part way through the file, sometimes after the file has finished, sometimes it won't even start a file.

     

    From my linux side:

    ubuntuServer:/downloads/temp$ yt-dlp --version
    2022.10.04
    
    ubuntuServer:/downloads/temp$ uname -a
    Linux gringott 5.15.0-52-generic #58-Ubuntu SMP Thu Oct 13 08:03:55 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
    
    ubuntuServer:/downloads/temp$ lsb_release -r
    Release:        22.04
    
    ubuntuServer:/downloads/temp$ cat /etc/fstab
    downloads /downloads virtiofs rw,relatime 0 0
    
    ubuntuServer:/downloads$ ls -alh
    drwxrwxrwx  1   99 users  290 Oct 31 13:53 temp
    
    ubuntuServer:/downloads/temp$ yt-dlp "https://www.youtube.com/watch?v=2CbObOuOEuA"
    [youtube] 2CbObOuOEuA: Downloading webpage
    [youtube] 2CbObOuOEuA: Downloading android player API JSON
    [info] 2CbObOuOEuA: Downloading 1 format(s): 313+251
    [download] Destination: How to set up Unraid - 2021 Guide [2CbObOuOEuA].f313.webm
    [download] 100.0% of  167.95MiB at   46.43MiB/s ETA 00:00ERROR: unable to download video data: [Errno 95] Operation not supported
    
    ubuntuServer:/downloads/temp$ yt-dlp "https://www.youtube.com/watch?v=2CbObOuOEuA"
    [youtube] 2CbObOuOEuA: Downloading webpage
    [youtube] 2CbObOuOEuA: Downloading android player API JSON
    [info] 2CbObOuOEuA: Downloading 1 format(s): 313+251
    [download] Resuming download at byte 176106778
    [download] How to set up Unraid - 2021 Guide [2CbObOuOEuA].f313.webm has already been downloaded
    [download] 100% of  167.95MiB
    [download] Destination: How to set up Unraid - 2021 Guide [2CbObOuOEuA].f251.webm
    [download] 100.0% of   12.66MiB at   31.19MiB/s ETA 00:00ERROR: unable to download video data: [Errno 95] Operation not supported
    
    ubuntuServer:/downloads/temp$ yt-dlp "https://www.youtube.com/watch?v=2CbObOuOEuA"
    [youtube] 2CbObOuOEuA: Downloading webpage
    [youtube] 2CbObOuOEuA: Downloading android player API JSON
    [info] 2CbObOuOEuA: Downloading 1 format(s): 313+251
    [download] How to set up Unraid - 2021 Guide [2CbObOuOEuA].f313.webm has already been downloaded
    [download] 100% of  167.95MiB
    [download] Resuming download at byte 13270660
    [download] How to set up Unraid - 2021 Guide [2CbObOuOEuA].f251.webm has already been downloaded
    [download] 100% of   12.66MiB
    [Merger] Merging formats into "How to set up Unraid - 2021 Guide [2CbObOuOEuA].webm"
    Deleting original file How to set up Unraid - 2021 Guide [2CbObOuOEuA].f313.webm (pass -k to keep)
    Deleting original file How to set up Unraid - 2021 Guide [2CbObOuOEuA].f251.webm (pass -k to keep)
    

     

    From my VM Config:
     

      <memoryBacking>
        <nosharepages/>
        <source type='memfd'/>
        <access mode='shared'/>
      </memoryBacking>
    
        <filesystem type='mount' accessmode='passthrough'>
          <driver type='virtiofs' queue='1024'/>
          <binary path='/usr/libexec/virtiofsd' xattr='on'>
            <cache mode='always'/>
            <sandbox mode='chroot'/>
            <lock posix='on' flock='on'/>
          </binary>
          <source dir='/mnt/user/downloads/'/>
          <target dir='downloads'/>
          <alias name='fs1'/>
          <address type='pci' domain='0x0000' bus='0x03' slot='0x00' function='0x0'/>
        </filesystem>

     

    If I umount /downloads, and remount it using the cifs share, the Errno 95 goes away. Any ideas what I may have done wrong?

×
×
  • Create New...