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.

Flash Drive Keys

Featured Replies

Hi all,

 

If you have more than one unRaid Server and therefore have to have two Flash Drives and two keys, make sure that you get the Flash Drive information by plugging each new Flash Drive into each server.

 

Since our power here in Souther California has been very unstable, I have had both servers shutdown until recently.

 

So I thought that I would only bring up one server to get the Flash Drive information.

 

It turns out that if you get the information for one Flash Drive, you must either reboot the system to get the information for the second Flash Drive or use the second server

 

If you use only one server to get the information for the second drive, it will keep giving you the information for the first drive.

 

Just a thought.

 

Regards,

TCIII

Well yes and no.  I think you're refering to printing out the flash info via this command:

 

cat /proc/scsi/usb-storage-1/*

 

What happens is this.  Every time linux detects a new USB storage device it generates a new 'usb-storage-N' entry, where N just increments starting at 0.  The entry for 0 is the Flash that you booted from.  When you plug in another Flash, it gets assigned entry 1. If you plug in a 3d flash it gets entry 2, and so on.  Now say you remove the 2nd flash (the one for entery 1), and install in it's place a 4th flash.  Well linux won't reuse entry 1, it will go ahead and assign entry 3 to the new flash.  Later if you re-install the 2nd flash, linux will look at it and remember that it had assigned it entry 1 and it will give it entry 1 again.  Of course when you reboot, everything starts fresh.

Tom, what you posted regarding the 'theory' of how USB discovery and enumeration in Linux works should be correct (as far as I know) but in practice I see the exact same behaviour that TCIII is seeing.

 

I plugged both my Cruzer drives into the server, telnetted to it, tried "cat /proc/scsi/usb-storage-1/*" and the only command that would work was when * was a 1. If I tried to change the "*" to a 2 in the above example (theoretically displaying the info for my second Cruzer drive) it won't work. I get something like 'no drive found', or something or other like that.

 

Thought you might like to know.

 

-PGPfan

If list the /proc/scsi directory you will see some number of enries, eg,

 

/proc/scsi/usb-storage-0

/proc/scsi/usb-storage-1

...

 

Within each of those directories is a file with a number as a file name, eg,

 

/proc/scsi/usb-storage-0/0      <--- is a file

 

But depending on how SCSI devices were "discovered" (and SATA disks appear as SCSI devices), you could have this:

 

/proc/scsi/usb-storage-1/2

 

Might represent a Flash you just plugged in.

 

The instructions on the website about capturing the GUID with this method are primarily for those trying to upgrade a running server from pre-3.0 release to 3.0.  I might rethink the instructions a bit and recommend an alternate approach.

Mine enumerated as Tom has described. 1, then 2, then higher as I plugged in others...

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.