- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Howto hot-remove SCSI device safely in HP-UX
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
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
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-05-2006 07:36 PM
02-05-2006 07:36 PM
thanks,
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2006 07:58 PM
02-05-2006 07:58 PM
SolutionThere is no command to release the hardware path as far I know, and you should be able to remove the external tape drive quite easily without problem.
The only reason the system may have crashed is if the system was using or thought it was using the device, ie something still had a hold on a process associated with the device.
Of course if you need to remove the device it must be last on the bus, not in the middle of a daisy chain, preferably on its own aswell. This could cause it to crash if the bus hung due to terminating other devies aswell unexpectedly.
one thing you could do is check the processes running if it is on its own bus, prior to removal.
Also check status of drive with
#mt -t stat
and if necessary make sure it is offline
#mt -t offline
of course removing the drive physically will still leave any device files present, and you will have an no_hw in ioscan output.
Andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2006 08:02 PM
02-05-2006 08:02 PM
Re: Howto hot-remove SCSI device safely in HP-UX
If you want you can remove the special files:
# ioscan -fnC tape
sample output:
Class I H/W Path Driver S/W State H/W Type Description
=====================================================================
tape 0 0/0/1/0.4.0 stape CLAIMED DEVICE HP C1537A
# rmsf -H 0/0/1/0.4.0
I would anyway do "rmsf" only to change the tape.
Paolo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2006 08:51 PM
02-05-2006 08:51 PM
Re: Howto hot-remove SCSI device safely in HP-UX
Removing scsi devices sometimes produces an lbolt in /var/adm/syslog/syslog.log
If its caused by removing a device its okay. If it is caused by another device it means disk failure and should be followed up on.
Your crash may be caused by a missing patch.
vi /var/rc.config.d/savecrash
Make sure the variable in the file is set to 1.
Then if there is a subsequent crash you will get a crash dump in /var/adm/crash
You will be able post crash to run q4 analysis and your friendly, local HP response center will be able to provide you a list of patches to install.
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-05-2006 09:08 PM
02-05-2006 09:08 PM
Re: Howto hot-remove SCSI device safely in HP-UX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 07:20 PM
02-06-2006 07:20 PM
Re: Howto hot-remove SCSI device safely in HP-UX
One reason for crash could be that the device was switched on while removed?
There is no need to remove device file for the device before physically removing it.
Ensure the device to be powered down when attaching/detaching not the server.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2006 09:10 PM
02-06-2006 09:10 PM
Re: Howto hot-remove SCSI device safely in HP-UX
Crash could be caused if not self terminating as SCSI termination would be broken and system would panic.