- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: hp_rescan finds device not presentet
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
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
тАО06-02-2009 03:39 AM
тАО06-02-2009 03:39 AM
hp_rescan finds device not presentet
I use to have a disk prsentet on LUN 20 /dev/sdn. The device has been deletet by "echo "1" > /sys/block/sdn/device/delete". The problem is now that hp_rescan can't refind/registre the the device again. It look like is still is there even if there is nothing present om the LUN. How du i remove this information. I woul like to have the device back on LUN 20.
Thus i think it will help I would prefer not to reboot.
The following command are executed while nothing is presentet on LUN 20. I also tried while is is presentet, but the result is the same.
# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 5.2 (Tikanga)
# lspci
13:00.0 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)
13:00.1 Fibre Channel: Emulex Corporation Zephyr-X LightPulse Fibre Channel Host Adapter (rev 02)
# hp_rescan -a
scsi1 00 00 20 Model: Rev: Type: Processor
scsi1 00 01 20 Model: Rev: Type: Processor
# PATH.sh
Device not listet
# lssd
sda 0,0,2,1 HP HSV200 6110
sdb 0,0,2,15 HP HSV200 6110
sdc 0,0,2,16 HP HSV200 6110
sdd 0,0,2,6 HP HSV200 6110
sde 0,0,2,7 HP HSV200 6110
sdf 0,0,2,8 HP HSV200 6110
sdg 0,0,2,9 HP HSV200 6110
sdh 0,0,2,11 HP HSV200 6110
sdi 0,0,2,12 HP HSV200 6110
sdj 0,0,2,4 HP HSV200 6110
sdk 0,0,2,5 HP HSV200 6110
sdl 0,0,2,13 HP HSV200 6110
sdm 0,0,2,14 HP HSV200 6110
sdo 0,0,2,21 HP HSV200 6110
# cat /proc/scsi/sg/devices
0 0 2 20 3 1 16 0 1
0 0 3 20 3 1 16 0 1
1 0 0 20 3 1 16 0 1
1 0 1 20 3 1 16 0 1
# cat /proc/scsi/scsi
Host: scsi0 Channel: 00 Id: 02 Lun: 20
Vendor: Model: Rev:
Type: Processor ANSI SCSI revision: 03
Host: scsi0 Channel: 00 Id: 03 Lun: 20
Vendor: Model: Rev:
Type: Processor ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 00 Lun: 20
Vendor: Model: Rev:
Type: Processor ANSI SCSI revision: 03
Host: scsi1 Channel: 00 Id: 01 Lun: 20
Vendor: Model: Rev:
Type: Processor ANSI SCSI revision: 03
Hope someone can help
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 06:36 AM
тАО06-02-2009 06:36 AM
Re: hp_rescan finds device not presentet
http://solutions.qlogic.com/KanisaSupportSite/dynamickc.do?externalId=Post-2224043&sliceId=Post-2224043&command=show&forward=threadedKC&kcId=Post-2224043
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-02-2009 07:09 AM
тАО06-02-2009 07:09 AM
Re: hp_rescan finds device not presentet
Sometimes hp_rescan needs the devices waked up.
I do it with a short dd command that reads the device as listed in fdisk -l
Then for some reason hp_rescan finds the device.
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
тАО06-04-2009 01:19 AM
тАО06-04-2009 01:19 AM
Re: hp_rescan finds device not presentet
I am definitely going to have a look at the commands. So I found some hw to install a new test server.
Found this http://kbase.redhat.com/faq/docs/DOC-3942.pdf , same commands as suggested but better described.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-04-2009 03:28 AM
тАО06-04-2009 03:28 AM
Re: hp_rescan finds device not presentet
echo "- - -" > /sys/class/scsi_host/${FST_HOST}/scan
and it work really great.