- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Problem removing disk from vxdisk list
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
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-24-2008 11:22 AM
тАО06-24-2008 11:22 AM
Problem removing disk from vxdisk list
# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2t1d0 simple - - LVM
c3t0d0 simple - - LVM
c6t12d5 simple disk01 rootdg online
c6t13d1 simple - - LVM
c6t13d6 simple - - error
c6t13d7 simple - - error
c6t15d0 simple - - LVM
c6t15d1 simple prsrlapp dg_prap online
c6t15d2 simple - - online invalid
c6t15d3 simple - - error
c6t15d4 simple - - error
c6t15d5 simple - - error
c6t15d6 simple - - error
c6t15d7 simple - - error
c17t0d0 simple pwork dg03 online
c17t0d3 simple prapps dg_prap online
c17t0d4 simple - - online
c17t0d5 simple - - online
c17t0d6 simple - - online
c17t0d7 simple - - online
c17t1d0 simple - - online
c17t1d1 simple - - online
Trying to get rid of these disks permanently.
Tried following other suggestions from this forums posts to remove these disk from the vxdisk list but they keep coming back.
What I have tried:
# ioscan -fnC disk #Does not show the disks.
# vdisk rm c6t13d6 #Removes it temporary.
# rmsf -a /dev/vx/[r]dmp/c6t13d6
Works temporary until I run:
# vxdisk scandisks
This will bring them back with the error again in the #vxdisk list command. I also noticed that they will reappear under the /dev/vx/[r]dmp directory too.
These disks have been removed from the SAN. What else needs to be done to keep them from coming back. The Error Disk names do appear under the /dev/[r]dsk. Any suggestions?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2008 12:08 PM
тАО06-24-2008 12:08 PM
Re: Problem removing disk from vxdisk list
clear the privat region of the disk with a dd before removing the device files.
# ioscan -fnC disk
# vdisk rm c6t13d6
# dd if=/dev/zero of=/dev/rdsk/c6t13d6 bs=512k count=1
# rmsf -a /dev/vx/[r]dmp/c6t13d6
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2008 12:17 PM
тАО06-24-2008 12:17 PM
Re: Problem removing disk from vxdisk list
Thank you, but this did not work. After using these commands, it looks as though it is gone, but when you run a "vxdisk scandisks" it comes back to the vxdisk list as an error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2008 12:45 PM
тАО06-24-2008 12:45 PM
Re: Problem removing disk from vxdisk list
Try next command
# /etc/vx/bin/vxdiskunsetup -C c6t13d6
Otherwise you might need to exclude the disk from veritas in the /etc/vx/disks.exclude file.
Just add c6t13d6 in the file after the vxdiskunsetup or your own procedure.
Robert-Jan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-24-2008 01:31 PM
тАО06-24-2008 01:31 PM
Re: Problem removing disk from vxdisk list
Help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2008 03:46 AM
тАО06-25-2008 03:46 AM
Re: Problem removing disk from vxdisk list
1. Remove the hardware path via rmsf (so ioscan won't see the path at all).
2. Remove the device from /dev/vx/dmp and /dev/vx/rdmp
3. Restart vxconfigd daemon: vxconfigd -k
Now if you still sees the device(s) in error state, a reboot can't be avoided.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-25-2008 06:16 AM
тАО06-25-2008 06:16 AM
Re: Problem removing disk from vxdisk list
Verify that 'vxdisk' does not see them using 'vxdisk list'
Then remove the actual device files from the /dev directory using the 'find' command. An example of this using c8t0d0 as a subject disk is:
find /dev -name c8t0d0 -exec lssf {} \; -exec rmsf {} \; -exec lssf {} \;
The only -exec you really need is the 'rmsf' - the others are there to show the existence of the device file - then the non-existence.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-01-2008 12:14 PM
тАО12-01-2008 12:14 PM