- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Disk Failure
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
тАО09-14-2005 07:44 AM
тАО09-14-2005 07:44 AM
vg01
c1t1d0
c2t1d0
c3t1d0
The disk c1t1d0 failure, I want to know the correct procedure to change it.
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 07:57 AM
тАО09-14-2005 07:57 AM
Re: Disk Failure
Do you have lv's c1t1d0 mirrored/stripped across other two disks??
If it's plain disk without any mirroring / stripping then ...
1. vgreduce c1t1d0
2. remove the failed disk and insert new
3. pvcreate c1t1d0
4. vgextend with c1t1d0
5. lvcreate/newfs on c1t1d0
That's all.
regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 08:06 AM
тАО09-14-2005 08:06 AM
Re: Disk Failure
No, I dont have mirror
But, I need to create lvol and file system again? I lost the file system?
5. lvcreate/newfs on c1t1d0
But
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 08:17 AM
тАО09-14-2005 08:17 AM
Re: Disk Failure
otherwise its rebuild newfs and restore the data from other sources.
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
тАО09-14-2005 08:25 AM
тАО09-14-2005 08:25 AM
Re: Disk Failure
Yes I have lvol1 in that vg01, with 3 disk and mounted in /carlos file system, my question is, if I can change the disk without losing the /carlos file system.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 08:30 AM
тАО09-14-2005 08:30 AM
Re: Disk Failure
I hope you had the data backed up somewhere.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 08:35 AM
тАО09-14-2005 08:35 AM
Re: Disk Failure
replace the disk, restore LVM information and activate the VG.
vgcfgrestore -n vg01 /dev/rdsk/c1t1d0
vgchange -a y vg01
display the information about lvols on that disk
pvdisplay -v /dev/dsk/c1t1d0
(only the first screen is useful here)
look for "Distribution of physical volume" information.
create a new filesystem on that volume(s), mount and restore your backup.
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 08:36 AM
тАО09-14-2005 08:36 AM
Re: Disk Failure
--- Logical volumes ---
LV Name /dev/vg01/lvol1
VG Name /dev/vg01
LV Permission read/write
LV Status available/syncd
Mirror copies 0
--- Distribution of logical volume ---
PV Name LE on PV PE on PV
/dev/dsk/c1t1d0 4340 4340
/dev/dsk/c2t1d0 4340 4340
/dev/dsk/c3t1d0 1320 1320
but,I have a backup
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 08:46 AM
тАО09-14-2005 08:46 AM
Re: Disk Failure
Can you provide the output of
Well , you can do the following:
1. # vgreduce /dev/vg01 /dev/dsk/c1t1d0
2. Connect the new disk , assuming its hot swap disk.
3. # vgcfgrestore -n /dev/vg01 /dev/rdsk/c1t1d0
4. # vgchange -a y /dev/vg01
5. Restore the backup from tape.
Cheers,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 08:50 AM
тАО09-14-2005 08:50 AM
SolutionIf you do a vgreduce, you'll have to do a vgextend instead of vgcfgrestore, because the conf information is gone, right?
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!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 09:08 AM
тАО09-14-2005 09:08 AM
Re: Disk Failure
Carlos , You can do vgcfgrestore , without vgreduce , that will work.
hth ,
Raj.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-14-2005 05:15 PM
тАО09-14-2005 05:15 PM
Re: Disk Failure
As your file system is spread across this disk, replacing it will make file system unavailable. Allthough if your other two disks have enough free space in them then these extents will be moved to the other two disks while doing a vgreduce.
A complete output of "vgdisplay -v /dev/vg01" will tell all that. Can you attach the same?
Not having a free space in other two disks means you first have to attach a new disk in addition to failed disk and will have to do vgextend to new disk and then a vgreduce from the failed disk. In this all extents of the failed disks will be moved to new disk.
HTH,
Devender