- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- How to rescan scsi disk linux and P400 controller
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
Forums
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
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
тАО02-06-2008 01:26 PM
тАО02-06-2008 01:26 PM
How to rescan scsi disk linux and P400 controller
I have a simple question, but I was unable to find the right answer yet.
I have an DL380G5 running ESX server 3.5. I installed all system management tools and the Array Configuration Utility. When I add a LUn from ACU, I can't see it into my ESX host:
[esx-01]:/root# cat /proc/driver/cciss/cciss0
cciss0: HP Smart Array P400 Controller
Board ID: 0x3234103c
Firmware Version: 4.12
IRQ: 137
Logical drives: 3
Current Q depth: 0
Current # commands on controller: 0
Max Q depth since init: 1
Max # commands on controller since init: 59
Max SG entries since init: 31
cciss/c0d0: 12.58GB RAID 5
cciss/c0d1: 367.00GB RAID ADG
cciss/c0d2: 210.05GB RAID ADG
This is wrong. The current disks configuration is 12.58GB RAID 5 LUN (the first one is correct - this is the OS) and another 75GB RAID 6 LUN.
I downloaded a small tool called cciss_vol_status and this return my the right configuration:
[esx-01]:/root# cciss_vol_status -q /dev/cciss/c0d0
/dev/cciss/c0d0: (Smart Array P400) RAID 5 Volume 0 status: OK.
/dev/cciss/c0d0: (Smart Array P400) RAID 6 Volume 1 status: OK.
If I'm doing a fdisk -l I saw the old configuration for c0d1:
Disk /dev/cciss/c0d1: 367.0 GB, 367002648064 bytes
255 heads, 63 sectors/track, 44618 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
I tried all command like echo "rescan" echo "rescan" > /proc/driver/cciss/cciss0 or echo "scsi scan-new-devices" > /proc/scsi/scsi but it didn't work.
Is somebody can told me how to refresh the cciss controller on ESX or Linux RHEL?
Thank you and best regards,
Yanick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2008 04:41 AM
тАО02-07-2008 04:41 AM
Re: How to rescan scsi disk linux and P400 controller
Normally you reboot the system, which will force a re-read of disk devices.
If you have the PSP pack installed then the rescan utility which you have apparently already tried is your best bet.
Perhaps the Array Configuration Utility(ACU) is a way to get this done without system book.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2008 05:09 AM
тАО02-08-2008 05:09 AM
Re: How to rescan scsi disk linux and P400 controller
echo "rescan" > /proc/driver/cciss/cciss0/1
Another script you can try is called rescan-scsi-bus.sh. This script is included in SuSE linux.
http://www.garloff.de/kurt/linux/rescan-scsi-bus.sh-1.25
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2008 05:39 AM
тАО02-08-2008 05:39 AM
Re: How to rescan scsi disk linux and P400 controller
Thanks for your answer, but it seems the this script doesn't work with cciss device driver. This driver doesn't provide any information into /proc/scsi/scsi, on which the script is based. Also, it seems looking for /sys filesystem, which doesn't exist into ESX server based on RHEL 3 and kernel 2.4.
Thank you anyway for your help!
Regards,
Yanick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-08-2008 05:39 AM
тАО02-08-2008 05:39 AM
Re: How to rescan scsi disk linux and P400 controller
Thanks for your answer, but it seems that this script doesn't work with cciss device driver. This driver doesn't provide any information into /proc/scsi/scsi, on which the script is based. Also, it seems looking for /sys filesystem, which doesn't exist into ESX server based on RHEL 3 and kernel 2.4.
Thank you anyway for your help!
Regards,
Yanick