HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: How to detect slot for a disk
Operating System - Linux
1829180
Members
2410
Online
109986
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
10-13-2005 01:55 AM
10-13-2005 01:55 AM
How to detect slot for a disk
Hello,
I've several D380 with Hardwareraid and Redhat 2.1. There are 6 internal disk, each with a mirror so in the OS I see my 3 disks.
My question: How can I detect in which slot a disk is?
I.E. I want to remove /dev/cciss/c0d1 (after umount etc), how do I know which 2 disks to pull out off the server? I need a command which says "/dev/cciss/c0d1 are in Slot X and Y". Any ideas?
Best Regards
Andreas
df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p7 61700020 2358200 56207568 5% /
/dev/cciss/c0d0p1 51342 20015 28676 42% /boot
none 4194304 145668 4048636 4% /dev/shm
/dev/cciss/c0d1p1 70009904 51750452 14703124 78% /disk1
/dev/cciss/c0d2p1 70009904 11416172 55037404 18% /disk2
I've several D380 with Hardwareraid and Redhat 2.1. There are 6 internal disk, each with a mirror so in the OS I see my 3 disks.
My question: How can I detect in which slot a disk is?
I.E. I want to remove /dev/cciss/c0d1 (after umount etc), how do I know which 2 disks to pull out off the server? I need a command which says "/dev/cciss/c0d1 are in Slot X and Y". Any ideas?
Best Regards
Andreas
df
Filesystem 1k-blocks Used Available Use% Mounted on
/dev/cciss/c0d0p7 61700020 2358200 56207568 5% /
/dev/cciss/c0d0p1 51342 20015 28676 42% /boot
none 4194304 145668 4048636 4% /dev/shm
/dev/cciss/c0d1p1 70009904 51750452 14703124 78% /disk1
/dev/cciss/c0d2p1 70009904 11416172 55037404 18% /disk2
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2005 03:00 AM
10-13-2005 03:00 AM
Re: How to detect slot for a disk
You could use dd to generate read activity for the disks, so, use dd and check the led activity, like this:
dd if=/dev/cciss/c0d0 of=/dev/null
dd if=/dev/cciss/c0d1 of=/dev/null
dd if=/dev/cciss/c0d2 of=/dev/null
dd if=/dev/cciss/c0d0 of=/dev/null
dd if=/dev/cciss/c0d1 of=/dev/null
dd if=/dev/cciss/c0d2 of=/dev/null
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-16-2005 07:58 AM
10-16-2005 07:58 AM
Re: How to detect slot for a disk
Hi,
I knew this trick but I did not trust the results. Just did not want to believe the OS is on a RAID5, but it is true. =8-O
However, you got the points for the correct answer ;)
I also found another way: With Insightmanager you can get this information. So there must be a way to get this online.
Have a nice day
Andreas
I knew this trick but I did not trust the results. Just did not want to believe the OS is on a RAID5, but it is true. =8-O
However, you got the points for the correct answer ;)
I also found another way: With Insightmanager you can get this information. So there must be a way to get this online.
Have a nice day
Andreas
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP