Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Any idea why I cant see my unRAID Share after a reboot?

Featured Replies

Dear Experts',

 

Everything was working fine until I brought the server down for a reboot. Once it came up, I was unable to access the shares in my VM. The VM works fine otherwise which seems strange to me.

 

Here is my XML:

<domain type='kvm' id='3'>
  <name>glftpd</name>
  <uuid>20c4aabf-1971-6b84-2ac8-48a6cda03e15</uuid>
  <description>ubuntu 14.04</description>
  <metadata>
    <snapshots/>
  </metadata>
  <memory unit='KiB'>524288</memory>
  <currentMemory unit='KiB'>524288</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type>
    <boot dev='hd'/>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <clock offset='localtime'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='yes'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/mnt/cache/vm/glftpd/glftpd/glftpd.qcow2'/>
      <backingStore/>
      <target dev='hda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/cache/vm/ubuntu-14.04.2-server-amd64.iso'/>
      <backingStore/>
      <target dev='hdc' bus='ide' tray='open'/>
      <readonly/>
      <alias name='ide0-1-0'/>
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
    </disk>
    <controller type='usb' index='0'>
      <alias name='usb0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <controller type='ide' index='0'>
      <alias name='ide0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/mnt/user/unRAID'/>
      <target dir='unraid'/>
      <alias name='fs0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </filesystem>
    <interface type='bridge'>
      <mac address='52:54:00:d9:aa:be'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/1'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/1'>
      <source path='/dev/pts/1'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='vmvga' vram='16384' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </memballoon>
  </devices>
</domain>

 

Here is the output of lspci -knn

00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
        Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
        Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010]
        Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
        Kernel driver in use: ata_piix
00:01.2 USB controller [0c03]: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] [8086:7020] (rev 01)
        Subsystem: Red Hat, Inc QEMU Virtual Machine [1af4:1100]
        Kernel driver in use: uhci_hcd
00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
        Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
        Kernel driver in use: piix4_smbus
00:02.0 VGA compatible controller [0300]: VMware SVGA II Adapter [15ad:0405]
        Subsystem: VMware SVGA II Adapter [15ad:0405]
00:03.0 Ethernet controller [0200]: Red Hat, Inc Virtio network device [1af4:1000]
        Subsystem: Red Hat, Inc Device [1af4:0001]
        Kernel driver in use: virtio-pci
00:04.0 SCSI storage controller [0100]: Red Hat, Inc Virtio block device [1af4:1001]
        Subsystem: Red Hat, Inc Device [1af4:0002]
        Kernel driver in use: virtio-pci
00:05.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon [1af4:1002]
        Subsystem: Red Hat, Inc Device [1af4:0005]
        Kernel driver in use: virtio-pci
00:06.0 Unclassified device [0002]: Red Hat, Inc Virtio filesystem [1af4:1009]
        Subsystem: Red Hat, Inc Device [1af4:0009]
        Kernel driver in use: virtio-pci

 

Its a ubuntu server with an ftpd installed which accesses (or used to) the unraid shares and that is the sole function of this box.

 

Thanks for your help!

Dear Experts',

 

Everything was working fine until I brought the server down for a reboot. Once it came up, I was unable to access the shares in my VM. The VM works fine otherwise which seems strange to me.

 

Here is my XML:

<domain type='kvm' id='3'>
  <name>glftpd</name>
  <uuid>20c4aabf-1971-6b84-2ac8-48a6cda03e15</uuid>
  <description>ubuntu 14.04</description>
  <metadata>
    <snapshots/>
  </metadata>
  <memory unit='KiB'>524288</memory>
  <currentMemory unit='KiB'>524288</currentMemory>
  <vcpu placement='static'>1</vcpu>
  <resource>
    <partition>/machine</partition>
  </resource>
  <os>
    <type arch='x86_64' machine='pc-i440fx-2.1'>hvm</type>
    <boot dev='hd'/>
    <boot dev='hd'/>
  </os>
  <features>
    <acpi/>
    <apic/>
  </features>
  <clock offset='localtime'>
    <timer name='rtc' tickpolicy='catchup'/>
    <timer name='pit' tickpolicy='delay'/>
    <timer name='hpet' present='yes'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/bin/qemu-system-x86_64</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='qcow2'/>
      <source file='/mnt/cache/vm/glftpd/glftpd/glftpd.qcow2'/>
      <backingStore/>
      <target dev='hda' bus='virtio'/>
      <alias name='virtio-disk0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/cache/vm/ubuntu-14.04.2-server-amd64.iso'/>
      <backingStore/>
      <target dev='hdc' bus='ide' tray='open'/>
      <readonly/>
      <alias name='ide0-1-0'/>
      <address type='drive' controller='0' bus='1' target='0' unit='0'/>
    </disk>
    <controller type='usb' index='0'>
      <alias name='usb0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'>
      <alias name='pci.0'/>
    </controller>
    <controller type='ide' index='0'>
      <alias name='ide0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <filesystem type='mount' accessmode='passthrough'>
      <source dir='/mnt/user/unRAID'/>
      <target dir='unraid'/>
      <alias name='fs0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </filesystem>
    <interface type='bridge'>
      <mac address='52:54:00:d9:aa:be'/>
      <source bridge='br0'/>
      <target dev='vnet0'/>
      <model type='virtio'/>
      <alias name='net0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <source path='/dev/pts/1'/>
      <target port='0'/>
      <alias name='serial0'/>
    </serial>
    <console type='pty' tty='/dev/pts/1'>
      <source path='/dev/pts/1'/>
      <target type='serial' port='0'/>
      <alias name='serial0'/>
    </console>
    <input type='tablet' bus='usb'>
      <alias name='input0'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <graphics type='vnc' port='5900' autoport='yes' websocket='5700' listen='0.0.0.0'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <video>
      <model type='vmvga' vram='16384' heads='1'/>
      <alias name='video0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <alias name='balloon0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </memballoon>
  </devices>
</domain>

 

Here is the output of lspci -knn

00:00.0 Host bridge [0600]: Intel Corporation 440FX - 82441FX PMC [Natoma] [8086:1237] (rev 02)
        Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
00:01.0 ISA bridge [0601]: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II] [8086:7000]
        Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
00:01.1 IDE interface [0101]: Intel Corporation 82371SB PIIX3 IDE [Natoma/Triton II] [8086:7010]
        Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
        Kernel driver in use: ata_piix
00:01.2 USB controller [0c03]: Intel Corporation 82371SB PIIX3 USB [Natoma/Triton II] [8086:7020] (rev 01)
        Subsystem: Red Hat, Inc QEMU Virtual Machine [1af4:1100]
        Kernel driver in use: uhci_hcd
00:01.3 Bridge [0680]: Intel Corporation 82371AB/EB/MB PIIX4 ACPI [8086:7113] (rev 03)
        Subsystem: Red Hat, Inc Qemu virtual machine [1af4:1100]
        Kernel driver in use: piix4_smbus
00:02.0 VGA compatible controller [0300]: VMware SVGA II Adapter [15ad:0405]
        Subsystem: VMware SVGA II Adapter [15ad:0405]
00:03.0 Ethernet controller [0200]: Red Hat, Inc Virtio network device [1af4:1000]
        Subsystem: Red Hat, Inc Device [1af4:0001]
        Kernel driver in use: virtio-pci
00:04.0 SCSI storage controller [0100]: Red Hat, Inc Virtio block device [1af4:1001]
        Subsystem: Red Hat, Inc Device [1af4:0002]
        Kernel driver in use: virtio-pci
00:05.0 Unclassified device [00ff]: Red Hat, Inc Virtio memory balloon [1af4:1002]
        Subsystem: Red Hat, Inc Device [1af4:0005]
        Kernel driver in use: virtio-pci
00:06.0 Unclassified device [0002]: Red Hat, Inc Virtio filesystem [1af4:1009]
        Subsystem: Red Hat, Inc Device [1af4:0009]
        Kernel driver in use: virtio-pci

 

Its a ubuntu server with an ftpd installed which accesses (or used to) the unraid shares and that is the sole function of this box.

 

Thanks for your help!

 

Are you talking about going throgh VirtFS for this using a mount?  Can you get to your shares over smb, nfs, or any other protocols.

  • Author

Are you talking about going throgh VirtFS for this using a mount?  Can you get to your shares over smb, nfs, or any other protocols.

 

Hi and thanks for the reply.

 

Yes, through VirtFS. I AM able to access my share over smb and nfs. Its puzzling because nothing has changed at all and its been working fine for about 4 months. The line to mount the unraid share (from /etc/fstab) in the KVM guest (ubuntu server 14.04)  is here:

 

unraid  /glftpd/site/ 9p  trans=virtio,version=9p2000.L,noauto,nobootwait,rw    0   0

 

If I try to mount it manually I get this error:

 

mount: special device unraid does not exist

 

This error makes me think KVM isnt passing the shares through to the guest but as far as I know the XML is correctly set up to pass them through.

 

I have also attached the dmesg log.

 

dmesg.txt

Just an fyi, we're looking into this.

  • Author

Just an fyi, we're looking into this.

 

Thank you jonp

Are you talking about going throgh VirtFS for this using a mount?  Can you get to your shares over smb, nfs, or any other protocols.

 

Hi and thanks for the reply.

 

Yes, through VirtFS. I AM able to access my share over smb and nfs. Its puzzling because nothing has changed at all and its been working fine for about 4 months. The line to mount the unraid share (from /etc/fstab) in the KVM guest (ubuntu server 14.04)  is here:

 

unraid  /glftpd/site/ 9p  trans=virtio,version=9p2000.L,noauto,nobootwait,rw    0   0

 

If I try to mount it manually I get this error:

 

mount: special device unraid does not exist

 

This error makes me think KVM isnt passing the shares through to the guest but as far as I know the XML is correctly set up to pass them through.

 

I have also attached the dmesg log.

 

I just created a Ubuntu 15.04 Desktop VM and was about to manually mount a VirtFS folder from the unRAID host to inside the VM.

 

From inside your VM, what do you get back from this command?:

sudo cat /sys/bus/virtio/drivers/9pnet_virtio/*/mount_tag

 

FYI, here's what I typed to manually mount inside the VM:

sudo mount unraid /glftpd/site/ -t 9p -o trans=virtio,version=9p2000.L

 

 

If I try to mount it manually I get this error:

 

mount: special device unraid does not exist

 

 

I see this error when I do not sudo the mount command (as Eric is doing in his example above).

 

John

Are you talking about going throgh VirtFS for this using a mount?  Can you get to your shares over smb, nfs, or any other protocols.

 

Hi and thanks for the reply.

 

Yes, through VirtFS. I AM able to access my share over smb and nfs. Its puzzling because nothing has changed at all and its been working fine for about 4 months. The line to mount the unraid share (from /etc/fstab) in the KVM guest (ubuntu server 14.04)  is here:

 

unraid  /glftpd/site/ 9p  trans=virtio,version=9p2000.L,noauto,nobootwait,rw    0   0

 

If I try to mount it manually I get this error:

 

mount: special device unraid does not exist

 

This error makes me think KVM isnt passing the shares through to the guest but as far as I know the XML is correctly set up to pass them through.

 

I have also attached the dmesg log.

 

I'm not sure why it has worked a while back for you because VirtFS needs the guest network stack up and running before it can mount, you should append/prepend the _netdev mount option to your fstab file:

 

unraid  /glftpd/site/ 9p  _netdev,trans=virtio,version=9p2000.L    0   0

  • Author

Are you talking about going throgh VirtFS for this using a mount?  Can you get to your shares over smb, nfs, or any other protocols.

 

Hi and thanks for the reply.

 

Yes, through VirtFS. I AM able to access my share over smb and nfs. Its puzzling because nothing has changed at all and its been working fine for about 4 months. The line to mount the unraid share (from /etc/fstab) in the KVM guest (ubuntu server 14.04)  is here:

 

unraid  /glftpd/site/ 9p  trans=virtio,version=9p2000.L,noauto,nobootwait,rw    0   0

 

If I try to mount it manually I get this error:

 

mount: special device unraid does not exist

 

This error makes me think KVM isnt passing the shares through to the guest but as far as I know the XML is correctly set up to pass them through.

 

I have also attached the dmesg log.

 

I just created a Ubuntu 15.04 Desktop VM and was about to manually mount a VirtFS folder from the unRAID host to inside the VM.

 

From inside your VM, what do you get back from this command?:

sudo cat /sys/bus/virtio/drivers/9pnet_virtio/*/mount_tag

 

FYI, here's what I typed to manually mount inside the VM:

sudo mount unraid /glftpd/site/ -t 9p -o trans=virtio,version=9p2000.L

 

Hey..  sorry for just getting back to you now, long day.

 

Anyway, the output of sudo cat /sys/bus/virtio/drivers/9pnet_virtio/*/mount_tag:

unraidusername@glftpd:~$

It literally just returned the above. I replaced my username with username.

 

When I ran your mount command, it seemed to mount my unraid share, so thank you for that. I will edit my /etc/fstab entry but I am still puzzled as to what actually broke.

  • Author

Are you talking about going throgh VirtFS for this using a mount?  Can you get to your shares over smb, nfs, or any other protocols.

 

Hi and thanks for the reply.

 

Yes, through VirtFS. I AM able to access my share over smb and nfs. Its puzzling because nothing has changed at all and its been working fine for about 4 months. The line to mount the unraid share (from /etc/fstab) in the KVM guest (ubuntu server 14.04)  is here:

 

unraid  /glftpd/site/ 9p  trans=virtio,version=9p2000.L,noauto,nobootwait,rw    0   0

 

If I try to mount it manually I get this error:

 

mount: special device unraid does not exist

 

This error makes me think KVM isnt passing the shares through to the guest but as far as I know the XML is correctly set up to pass them through.

 

I have also attached the dmesg log.

 

I'm not sure why it has worked a while back for you because VirtFS needs the guest network stack up and running before it can mount, you should append/prepend the _netdev mount option to your fstab file:

 

unraid  /glftpd/site/ 9p  _netdev,trans=virtio,version=9p2000.L    0   0

 

Thanks. I edited my fstab, put this in and it worked. No idea what happened or how this broke but I really appreciate the help.

 

 

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.