Jeff Posted December 30, 2005 Share Posted December 30, 2005 A few months back, we had a SCSI HDD fail as part of a RAID5 array. I had the new drive shipped to the DC and installed. Locally I keep track of the drive serial numbers for warrantee information, but I was not able to get the new drive SN# when it was installed. I would like to know if it is possible to get he HDD SN# from the command line some how. I can not use hdparm –i since the drive is not IDE and specifying /dev/sda does not help. Is the drive information stored someplace in a text file that I can view, or retrieve another way? I thought SCSI information was logged into a file at boot, but I see nothing in /proc Rebooting and watching POST does not help either as only the model, not the serial number is displayed. Anyone have a clue? Quote Link to comment Share on other sites More sharing options...
Trudy Posted December 30, 2005 Share Posted December 30, 2005 no clue Quote Link to comment Share on other sites More sharing options...
Guest Zophia Posted December 30, 2005 Share Posted December 30, 2005 I'll ask my housemate.... I used to do Linux/Unix at work in the cs dept at Dartmouth, but haven't in some time..... Quote Link to comment Share on other sites More sharing options...
Guest Zophia Posted December 30, 2005 Share Posted December 30, 2005 Ok.... the housemate says that as far as he's aware, there isn't really a command line thing that will get that information for you. But he thinks if you go out to the manufacturer's website, they might have a tool that you can upload to the harddrive that will do it. And I can't find my Linux book as it hasn't been unpacked yet.... Quote Link to comment Share on other sites More sharing options...
Guest TheBlackGrey Posted December 30, 2005 Share Posted December 30, 2005 My DH suggested this: http://sg.torque.net/sg/uu_index.html#support Quote Link to comment Share on other sites More sharing options...
Jeff Posted December 30, 2005 Author Share Posted December 30, 2005 I did give that a shot, but since it is in an ARRAY, I can not seem to access VPD page [0x80] where the SN# is stored. It works fine in a non RAID setup. All that shows is the megaraid info /dev/sda: MegaRAID LD 0 RAID5 69G 521S Quote Link to comment Share on other sites More sharing options...
Guest jelwood Posted December 30, 2005 Share Posted December 30, 2005 I will ask my husband. He is a computer tech guy and we both use linux. I am not that savvy so I'll pass this on to him. Quote Link to comment Share on other sites More sharing options...
MyChessDogs Posted December 31, 2005 Share Posted December 31, 2005 you sure you speaking English here?! Quote Link to comment Share on other sites More sharing options...
Guest TheBlackGrey Posted December 31, 2005 Share Posted December 31, 2005 I did give that a shot, but since it is in an ARRAY, I can not seem to access VPD page [0x80] where the SN# is stored. It works fine in a non RAID setup. All that shows is the megaraid info /dev/sda: MegaRAID LD 0 RAID5 69G 521S 1842283[/snapback] Poo, sorry that didn't work out Jeff. Only other suggestion DH had and said you've probably already thought of, is to remove that HD from the array (if it's virtually possible - obviously it's not physically). Good luck - hope you find a solution Quote Link to comment Share on other sites More sharing options...
smday Posted December 31, 2005 Share Posted December 31, 2005 ... DSO here (I think that's the correct TLA but can't keep up any more...) I've done a fair bit of Linux Tinkering, and well you have a couple of options... If machine is not in a COLO and is accesable, easily accesable, just pull the drive... that's the point of RAID's... Are you running HW raid, or a SW RAID? On the other hand, Reboot and go into the SCSI/RAID adapter's BIOS (usally something like control-A (depending on model/version) when you see it starting up, (if SCSI controller is on the MOBO, then may have to access via the main BIOS screen. Other thoughts, go thru the the linux boot mesg (I think 'dmesg' will give you most of that info, and may be able to put together the device etc from the numbers/id's/slots What SCSI/RAID config/controller are you running? Quote Lexi the pointeresque mutt (1999), Homer the chi mix (2010) and Lacey the ? (2009). Always remembering Dita, Best, Oba, Bubba, and the others at the bridge. Link to comment Share on other sites More sharing options...
Jeff Posted December 31, 2005 Author Share Posted December 31, 2005 The server is at a COLO HW ROMB RAID on a Dell 2850 /var/log/dmesg only shows the ARRAY as a whole, not the drives in it, nor does it display the SN of the backup drive outside the array. I'll probably reboot next week after the forum update and look in the RAID bios then. I'm not sure if that will tell me or not. Quote Link to comment Share on other sites More sharing options...
smday Posted December 31, 2005 Share Posted December 31, 2005 In case you were wondering, that wasn't me in the previous reply. Jonathan just used my account. He is currently in high level discussions about this and will post, again as me, when he has a response. Quote Lexi the pointeresque mutt (1999), Homer the chi mix (2010) and Lacey the ? (2009). Always remembering Dita, Best, Oba, Bubba, and the others at the bridge. Link to comment Share on other sites More sharing options...
smday Posted December 31, 2005 Share Posted December 31, 2005 Jonathan again: Just checked w/ a SysAdmin friend to confirm. If you go into the adaptec bios, under the drive utilities/configuration (? again depending on version etc) it 'should' list the drive charateristics. If you had a software RAID, then the sga_ / /proc stuff would work but since it's a HW RAID, then it just appears to the OS as a single drive. I will poke around some of the adaptec boards to see if there are some utillites for linux that can pull the device info off... Sorry... Quote Lexi the pointeresque mutt (1999), Homer the chi mix (2010) and Lacey the ? (2009). Always remembering Dita, Best, Oba, Bubba, and the others at the bridge. Link to comment Share on other sites More sharing options...
Jeff Posted December 31, 2005 Author Share Posted December 31, 2005 the controller is an LSI ROMB PERC4e/Di RAID Controller Quote Link to comment Share on other sites More sharing options...
Jeff Posted December 31, 2005 Author Share Posted December 31, 2005 I have been looking for the proper MegaRaid CLI utility but have come up empty, just stuff for an older 2.5 kernel Quote Link to comment Share on other sites More sharing options...
Guest MomofSweetPotatoes Posted December 31, 2005 Share Posted December 31, 2005 just stuff for an older 2.5 kernel 1843111[/snapback] All that for making stale popcorn?? Sorry, I've no idea what in the heck you guys are talking about. Saw the word kernel and took my chance Quote Link to comment Share on other sites More sharing options...
Guest nirik Posted December 31, 2005 Share Posted December 31, 2005 You might look under /proc/megaraid/ and see if you can cat info from the files under there. I can't recall if serial numbers are in the info in there or not. Also, might be a util at: dell megaraid download site Quote Link to comment Share on other sites More sharing options...
Jeff Posted December 31, 2005 Author Share Posted December 31, 2005 there is no /proc/megaraid/ or /megeraid folder anywhere but for the drivers. The Dell website only has old kernel files, nothing for 2.6.x Quote Link to comment Share on other sites More sharing options...
Nalian Posted January 2, 2006 Share Posted January 2, 2006 If it is a hardware array and linux does not see it as an individual device, you won't be able to get this information from the command line as linux can't query it. You'd need a utility to deal with the hardware array itself. It sounds like from what you've described you'll have to wait until someone can pull it out to find it. Quote Link to comment Share on other sites More sharing options...
Jeff Posted January 2, 2006 Author Share Posted January 2, 2006 I have tried a few utilities, but they only show the drive model numbers..Arrrr, this is driving me batty !! Quote Link to comment Share on other sites More sharing options...
Wendie Posted January 2, 2006 Share Posted January 2, 2006 If it's any consolation, I am amused everytime I see the word Gunkies. Quote Forever in my Heart Joe T Greyhound, Charly Bear, Angel Daisy, and Katze & Buzz Kitty. Link to comment Share on other sites More sharing options...
bjnno1 Posted January 4, 2006 Share Posted January 4, 2006 I have no idea what you just said :lol Quote Major & Black Jack are the BEST Doggies in the WORLD A Major Presence - MAJOR - March 10, 1999 - January 13, 2011 Little Joe - BLACK JACK - July 31, 1998 - February 8, 2011 "If you lead your life the right way, the karma will take care of itself. " - Randy Pausch Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.