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.

Can't start Unraid - Mounting disks...

Featured Replies

Hi All

 

I was playing with a script (Yes I know don't use script's if you don't understand them 100%)

Anyway this was a backup to a UAD drive r-sync incremental but I did some path wrong and I got this

 

image.thumb.png.2e5ca0f797c1590e120498e052c7bfb1.png

 

And just before this it stopped my VM and wrote:

image.png.8ac11bac84532adde0eed71ca78b5af1.png

 

The positive is that I do have access to MC:

image.png.bae4daa5ab1fb7c55add5df46382b646.png

So what can or should I remove before trying another reboot?

 

Br

Casperse

 

 

 

 

I have checked the Flash/Cache/and CPU and memory load and everything seems ok

But after reboot I am stuck at:

image.png.c868e74bbf5fedfc17358bb2862171f4.png

 

 

 

 

 

 

 

  • Author

Ok found that the passthrough drive was "sdk" before

But after a reboot its now "sdn" how can the naming ID of the drives on the Unraid change? Very scary

  • Community Expert
1 hour ago, casperse said:

Ok found that the passthrough drive was "sdk" before

But after a reboot its now "sdn" how can the naming ID of the drives on the Unraid change? Very scary

The sdX designations are always subject to change as they are assigned dynamically by Linux.    Unraid does not rely on the device name to identify drives, but instead the disk serial number.

  • Author
3 hours ago, itimpi said:

The sdX designations are always subject to change as they are assigned dynamically by Linux.    Unraid does not rely on the device name to identify drives, but instead the disk serial number.

But I was told using passthrough from a drive to a VM I should use the sdX?

Is there another way to secure that it doesn't break after af reboot?

 

  • Community Expert
12 minutes ago, casperse said:

Is there another way to secure that it doesn't break after af reboot?

If you look under /dev/disk at the Linux level you will see several folders giving ways that drives are identified in an invariant manner.

  • Author
3 minutes ago, itimpi said:

If you look under /dev/disk at the Linux level you will see several folders giving ways that drives are identified in an invariant manner.

 

So how would I go about defining that in a VM so I don't have to update this all the time?

image.thumb.png.f0b77ad569f3e5568da7f425c05d48f1.png

    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source dev='/dev/sdn'/>
      <target dev='hdd' bus='sata'/>
      <address type='drive' controller='1' bus='0' target='0' unit='3'/>
    </disk>

I guess people that passthrough HD's and GPU have some fix to do this

 

  • Community Expert
2 minutes ago, casperse said:

dev='/dev/sdn'/>

This entry will typically be of the form

source dev=/dev/disk/by-id/xxxxx 

where 'xxxxx' is correct for the disk in question.   

  • Author

So like this:

image.png.720aaacd12bcf2dc83a37b3e4eb71905.png

 

source dev=/dev/disk/by-id/ST10000NE0004-1ZF101_ZA21DG4A

 :D - Sorry for being Thick...

  • Community Expert
23 minutes ago, casperse said:

So like this:

image.png.720aaacd12bcf2dc83a37b3e4eb71905.png

 


source dev=/dev/disk/by-id/ST10000NE0004-1ZF101_ZA21DG4A

 :D - Sorry for being Thick...

yes - as long as that is the correct serial number for the disk you want to pass through.

 

FYI:  the /dev/sdX number do not change often as normally they are allocated in the order Linux sees them (which is timing dependent so normally consistent (but not guaranteed).    However if you accidentally pass through the wrong disk because the sdX value changed it can be catastrophic making the contents of that disk corrupt - not something one wants to take even a small chance of happening.

  • Author

Ok so I started changing my drives:

    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source dev='/dev/disk/by-id/ST10000NE0004-1ZF101_ZA21DG4A'/>
      <target dev='hdd' bus='sata'/>
      <address type='drive' controller='1' bus='0' target='0' unit='3'/>
    </disk>

Serial from the dashboard ID:

image.png.0038d4487a32952ca812591627427cec.png

 

And trying to start I get:

image.png.c479719a7470b20b4d0ded9bf48e253e.png

Update tried the serial number I could save the VM but it couldnt start

 

Sorry @itimpi this doesn't seem to work?

 

Edited by casperse

  • Community Expert

It works fine on my VMs - not sure why you are having a problem.

  • Author

I think I found the solution you have to add "ata-" then it works

    <disk type='block' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source dev='/dev/disk/by-id/ata-ST10000NE0004-1ZF101_ZA21DG4A'/>
      <target dev='hdd' bus='sata'/>
      <address type='drive' controller='1' bus='0' target='0' unit='3'/>
    </disk>

 

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.