- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- remove mirror disk
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
12-29-2008 01:26 AM
12-29-2008 01:26 AM
#lvreduce -m 1 -A n /dev/vg00/lvol? /dev/dsk/c2t1d0s2
#vgreduce -f /dev/vg00 /dev/dsk/c2t1d0s2
#vgscan -a
but still display like this as below:
# ioscan -funCdisk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
/dev/dsk/c2t0d0s1 /dev/rdsk/c2t0d0s1
/dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s3
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
/dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0s1
/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s3
Any ideas on this problem? thx!
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2008 01:34 AM
12-29-2008 01:34 AM
Re: remove mirror disk
What you have done is remove the mirror for the logical volume/s and then remove the disk from the VG. Disk would still be available to the server unless removed/depresented from storage.
Thus you will still see the disk in ioscan.
Am not sure thats what you wanted to see.
Sorry - but not completely understood your problem.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2008 01:35 AM
12-29-2008 01:35 AM
Re: remove mirror disk
# ioscan -funCdisk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
/dev/dsk/c2t0d0s1 /dev/rdsk/c2t0d0s1
/dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2008 01:36 AM
12-29-2008 01:36 AM
Re: remove mirror disk
vgdisplay /dev/vg00
ps is you removing the disk for repleasment do not forget to copy the other s1 and s3 date more info is in the document:
When good things go bad.
(just searce the forum for it you will find a lot of links.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2008 01:41 AM
12-29-2008 01:41 AM
Re: remove mirror disk
thx for your reply,
l remember the output before mirrorring should be:
# ioscan -funCdisk
Class I H/W Path Driver S/W State H/W Type Description
============================================================================
disk 0 0/0/2/0.0.0.0 sdisk CLAIMED DEVICE TEAC DV-28E-C
/dev/dsk/c0t0d0 /dev/rdsk/c0t0d0
disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t0d0 /dev/rdsk/c2t0d0
/dev/dsk/c2t0d0s1 /dev/rdsk/c2t0d0s1
/dev/dsk/c2t0d0s2 /dev/rdsk/c2t0d0s2
/dev/dsk/c2t0d0s3 /dev/rdsk/c2t0d0s3
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 36.4GST336753LC
/dev/dsk/c2t1d0 /dev/rdsk/c2t1d0
Do any commands make it display the original output? thx
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2008 01:46 AM
12-29-2008 01:46 AM
Re: remove mirror disk
# idisk â Rw /dev/rdsk/c2t1d0
more info
http://docs.hp.com/en/5991-1236/When_Good_Disks_Go_Bad_WP.pdf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2008 01:48 AM
12-29-2008 01:48 AM
Re: remove mirror disk
idisk -RW /dev/rdsk/c2t1d0
Ps why do you want to cleat the partition configuration?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2008 05:51 PM
12-29-2008 05:51 PM
Re: remove mirror disk
Sorry for late reply.
l have tried to run your command, but it is not successful.
l just want to know if there is a way to restore the configuation before mirror.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-29-2008 11:17 PM
12-29-2008 11:17 PM
SolutionIf u are looking for as to get the ioscan O/p display only the DSF for the new disk as /dev/dsk/c2t1d0 and /dev/rdsk/c2t1d0 u need to follow the following steps.
1)put in the new disk.
2)before running the idisk command to create the partitions s1 s2 and s3 on the disk u need to maually remove the device files using rm -ri /dev/dsk/c2t1d0s* and rm -ri /dev/rdsk/c2t1d0s*(I think u can also do rmsf for this purpose like rmsf -H 0/1/1/0.1.0 --- this is the H/W path of the disk for which u have removed the mirror.)
3)perform the ioscan again
4)insf -e -C disk
5)run idisk to create the partitions s1 s2 and s3 on the disks.
6)insf -eC disk to create the new block and raw device files for the s1 s2 and s3.
7)follow the remaining steps of Mirroring/Replacement of the disk.
Regards Sujit
please do not forget to assign the points.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2008 06:01 PM
12-30-2008 06:01 PM
Re: remove mirror disk
Thanks for your reply.
l will follow your steps next time since the harddisk has been formated.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-30-2008 06:03 PM
12-30-2008 06:03 PM