- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Removing UNUSED disks
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
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
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-03-2012 09:04 AM
02-03-2012 09:04 AM
Removing UNUSED disks
Hello all,
I need to remove a disk that's gone bad (not in use) -
here's the output of ioscan:
ioscan -fnC disk
Class I H/W Path Driver S/W State H/W Type Description
===============================================================================
disk 1 0/0/2/1.0.16 UsbScsiAdaptor CLAIMED DEVICE USB SCSI Stack Adaptor
/dev/deviceFileSystem/Usb/MassStorage/dsk/disk@hp-1008+294=A60020000001
/dev/deviceFileSystem/Usb/MassStorage/rdsk/disk@hp-1008+294=A60020000001
disk 3 0/1/1/0.0.0.0.0 sdisk CLAIMED DEVICE HP DG146BB976
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 2 0/1/1/0.0.0.1.0 sdisk CLAIMED DEVICE HP DG146BB976
/dev/dsk/c0t1d0 /dev/rdsk/c0t1d0
disk 4 0/1/1/0.0.0.2.0 sdisk CLAIMED DEVICE HP DG146BB976
/dev/dsk/c0t2d0 /dev/rdsk/c0t2d0
****** disk 6 0/1/1/0.0.0.3.0 sdisk NO_HW DEVICE HP DG146BB976******
/dev/dsk/c0t3d0 /dev/rdsk/c0t3d0
disk 9 0/1/1/0.0.0.4.0 sdisk CLAIMED DEVICE HP DG146BB976
/dev/dsk/c0t4d0 /dev/rdsk/c0t4d0
disk 8 0/1/1/0.0.0.5.0 sdisk CLAIMED DEVICE HP DG146BB976
/dev/dsk/c0t5d0 /dev/rdsk/c0t5d0
disk 5 0/1/1/0.0.0.6.0 sdisk CLAIMED DEVICE HP DG146BB976
/dev/dsk/c0t6d0 /dev/rdsk/c0t6d0
/dev/dsk/c0t6d0s1 /dev/rdsk/c0t6d0s1
/dev/dsk/c0t6d0s2 /dev/rdsk/c0t6d0s2
/dev/dsk/c0t6d0s3 /dev/rdsk/c0t6d0s3
disk 7 0/1/1/0.0.0.7.0 sdisk CLAIMED DEVICE HP DG146BB976
/dev/dsk/c0t7d0 /dev/rdsk/c0t7d0
/dev/dsk/c0t7d0s1 /dev/rdsk/c0t7d0s1
/dev/dsk/c0t7d0s2 /dev/rdsk/c0t7d0s2
/dev/dsk/c0t7d0s3 /dev/rdsk/c0t7d0s3
c0t3d0 is the bad disks....marked w/ asterisks - I was told by HP tech support that i can just remove the drive w/ the server on and put the new one in.....however that just seems a little to simple for HPUX....
Can anyone confirm this? What about lingering device files, etc. etc.????
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2012 10:58 AM
02-03-2012 10:58 AM
Re: Removing UNUSED disks
What model server is it? What operating system are you running? What t ype of disk?
Typically you can remove a disk, replace it, restore the VG configuration to it, and you are back going again.
If it is a newer Itanium based server with SAS disks, and no integrated RAID controller, then there are some additional scsimgr commands that will need to be run.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2012 12:16 PM
02-03-2012 12:16 PM
Re: Removing UNUSED disks
rmsf -H 0/1/1/0.0.0.3.0
- Tags:
- rmsf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2012 11:58 AM
02-08-2012 11:58 AM
Re: Removing UNUSED disks
Hi
Which Server you have and what OS? Is it have a RAID controller?
The sautil /dev/cissx command will show the RAID volume & disk status. If this disk is configured in a hardware raid you can replace it simply by unplug and plug the new disk. It will start the rebuilding aautomatically.
Pramod
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-08-2012 08:44 PM
02-08-2012 08:44 PM
Re: Removing UNUSED disks
Hi Dave,
Seems that bad disk is belongs to a DISK STATION or MSA connected to that server.
Make sure NO_HW device has been physically removed.
Make sure the device /dev/dsk/c0t3d0 is not a part of any VG, check from # vgdisplay -v or # strings /etc/lvmtab
As you said that disk is not in use !!. I can understand you need to remove only the device file
To remove the device file you can execute the below command for that particular H/W Path.
# rmsf -H 0/1/1/0.0.0.3.0
# ioscan -fnC disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2012 04:09 AM - edited 02-09-2012 04:12 AM
02-09-2012 04:09 AM - edited 02-09-2012 04:12 AM
Re: Removing UNUSED disks
Don't do "rmsf" now!!!
This could get a bit complicated.
I assume you run an older version of 11.31 (hey, you still using the old USB 1.1 driver for your CD ROM!!!).
The disk in question is a SAS disk and NOT on a hardware RAID, so a new disk in the same slot will get a new device file.
Get this guide and follow the instructions:
HP 8 Internal Port SAS Controller and HP
Multi-Port Internal SAS Controller Support
Guide
HP-UX 11iv2, 11iv3
You need to use "sasmgr replace_tgt" and "io_redirect_dsf" to get this working.
please post
# model
# strings /etc/lvmtab
# strings /etc/lvmtab_p
# ioscan -fn
(complete output)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!