- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Finding out what the hard drive model and capa...
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 07:06 AM
тАО05-26-2004 07:06 AM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 07:17 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 07:34 AM
тАО05-26-2004 07:34 AM
Re: Finding out what the hard drive model and capacity.
[sadmxxx@nycxxxxxxxx]:hwbrowser
Traceback (innermost last):
File "/usr/share/hwbrowser/DeviceList.py", line 158, in ?
setup_ui ()
File "/usr/share/hwbrowser/DeviceList.py", line 151, in setup_ui
DeviceDisk.initialize (xml, hardware)
File "/usr/share/hwbrowser/DeviceDisk.py", line 397, in initialize
for device in hardware [kudzu.CLASS_HD]:
File "/usr/lib/python1.5/UserDict.py", line 14, in __getitem__
def __getitem__(self, key): return self.data[key]
KeyError: 12
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 08:18 AM
тАО05-26-2004 08:18 AM
Re: Finding out what the hard drive model and capacity.
model can be found in /proc/scsi/scsi
You have one of these.
146.8-GB 10,000 rpm U320 Universal Hard Drive (1") 286716-B22
72.8-GB 10,000 rpm U320 Universal Hard Drive (1") 286714-B22
36.4-GB 10,000 rpm U320 Universal Hard Drive (1") 286713-B22
72.8-GB 15,000 rpm U320 Universal Hard Drive (1") 286778-B22
36.4-GB 15,000 rpm U320 Universal Hard Drive (1") 286776-B22
18.2-GB 15,000 rpm U320 Universal Hard Drive (1") 286775-B22
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 09:12 AM
тАО05-26-2004 09:12 AM
Re: Finding out what the hard drive model and capacity.
in /proc there ara a lot of information about everithing.
For example:
cat /proc/ide/ide0/hda/capacity
cat /proc/ide/ide0/hda/model
the capacity is en 512 byte blocks so you must divide it by 2. You can try:
echo "`cat /proc/ide/ide0/hda/capacity`/2" | bc
Frank.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 04:13 PM
тАО05-26-2004 04:13 PM
Re: Finding out what the hard drive model and capacity.
If the drives are attached to a standard SCSI bus (i.e. not a RAID controller), then '/proc/scsi/scsi' might have the details you are after.
If not, then you'll need the ACU-XE installed in order to access that level of device information (from the RAID controller directly). You are using a SmartArray aren't you?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-26-2004 09:47 PM
тАО05-26-2004 09:47 PM
Re: Finding out what the hard drive model and capacity.
Peace, R>
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 02:11 AM
тАО05-27-2004 02:11 AM
Re: Finding out what the hard drive model and capacity.
Stuart's answer solved the puzzle. For some reason the /proc/scsi/scsi on the DL-360 doesn't have the information. As I mentioned before, someone from redhat told me those boxes have an odd drive configuration. Even a third party software like "lshw" fails to display the drive. ACU-XE seems to be the answer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 03:48 AM
тАО05-27-2004 03:48 AM
Re: Finding out what the hard drive model and capacity.
in that case the physical disk are 'shielded' by the SmartArray controller. What you see as 'SCSI disks' are really logical disks from the controller presented through a SCSI emulation layer.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-27-2004 07:15 PM
тАО05-27-2004 07:15 PM
Re: Finding out what the hard drive model and capacity.
#cat /proc/driver/cciss/cciss0
cciss0: Compaq Smart Array 5312 Controller
Board ID: 0x40830e11
Firmware Version: 2.36
Memory Address: 0xf883a000
IRQ: 15
Logical drives: 2
Highest Logical Volume ID: 1
Current Q depth: 0
Current # commands on controller 0
Max Q depth since init: 128
Max # commands on controller since init: 130
Max SG entries since init: 31
Sequential access devices: 0
cciss/c0d0: blksz=512 nr_blocks=35553120
cciss/c0d1: blksz=512 nr_blocks=355555680
nr_allocs = 57860991
nr_frees = 57860991
Peace, R>