September 16, 200619 yr 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
September 16, 200619 yr 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.
September 17, 200619 yr 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
September 18, 200619 yr 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.
September 19, 200619 yr 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.