- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- System Administration
- >
- hp_rescan finds device not presentet
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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.
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP