- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Failed 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
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
тАО11-25-2004 05:41 AM
тАО11-25-2004 05:41 AM
Failed disk
Failed disk in jamaca enclosure. Does not show up in ioscan.
New disk inserted, now shows up in ioscan and diskinfo -v show details.
Next step...create the pv
pvcreate -f /dev/rdsk/c7t13d0
pvcreate: The physical volume "/dev/dsk/c7t13d0" is already recorded in the "/etc/lvmtab" file.
Any one got any ideas? Quick please I would like to go home
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2004 06:22 AM
тАО11-25-2004 06:22 AM
Re: Failed disk
you have to use vgcfgrestore command to restore
disk structures because your disk c7t13d0 belongs to some vg group.
vgcfgrestore -n vg_name /dev/rdsk/c7t13d0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2004 06:33 AM
тАО11-25-2004 06:33 AM
Re: Failed disk
If vgcfgrestore doews not work, you'll need to vgreduce /dev/vg01 /dev/rdsk/c7t13d0
then vgextend /dev/vg01 dev/rdsk/c7t13d0
Use the actual volume group, not vg01 which I gave for example purposes.
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
тАО11-25-2004 06:34 AM
тАО11-25-2004 06:34 AM
Re: Failed disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2004 07:27 AM
тАО11-25-2004 07:27 AM
Re: Failed disk
you don't need to do the pvcreate command, all that you need to do is the vgcfgrestor
vgcfgrestore -n /dev/vg01 /dev/rdsk/c7t13d0
vgchange -a y /dev/vg01
that should restore your volume group structure, then you have to restore the lvols and data attached to it..
hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2004 07:49 AM
тАО11-25-2004 07:49 AM
Re: Failed disk
I have now logged a call with Hp anf they are looking into it.
I will let you know how it goes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2004 11:30 AM
тАО11-25-2004 11:30 AM
Re: Failed disk
Now if this disk is indeed mirrored, the vgcfgrestore should work just fine. If you are getting error messages, please post them so we can provide more help.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2004 02:56 PM
тАО11-25-2004 02:56 PM
Re: Failed disk
As mentioned in other posts, if mirror ux is there , then just vgcfgrstore will work. do like this
#vgcfgrestore -n /dev/
#vgchange -a y /dev/
In above case you will not loose the data,as mirror copy exists.
If mirroring is not ther, then
1) Remove the disk from VG
#ioscan -f ( This may take time)
#ioscan -funC disk
#vgreduce -f /dev/
This will remove the disk, which is not accesible .
2) Then create PV in new disk
#ioscan -f
#ioscan -funC disk
( confirm the corect device)
#pvcreate /dev/rdsk/
#vgextend /dev/
#vgdisplay -v /dev/
( This will display the disks in VG)
Hope this helps
Rgds
Suraj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2004 08:21 PM
тАО11-25-2004 08:21 PM
Re: Failed disk
I have had these sort of issues before. A good start point is to run :
#strings /etc/lvmtab
This will at least tell you what the system THINKS is in LVM at the moment.
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-25-2004 08:24 PM
тАО11-25-2004 08:24 PM
Re: Failed disk
HP could not do much with this problem because although the disk was find it would not allow the cfg restore.
I have unmounted the vg, disabled it, performed the cfg restore and activated it in exclusive mode.
The syncing is now taking place.
Again thanks for all the replies