- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Corrupted disk in LVM
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
05-24-2004 11:00 PM
05-24-2004 11:00 PM
Corrupted disk in LVM
If one of the disk in a logical volume gets corrupted. how can we recover the data of the disk.
Anybody please help.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 11:02 PM
05-24-2004 11:02 PM
Re: Corrupted disk in LVM
It's always wise to mirror your logical volumes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 11:05 PM
05-24-2004 11:05 PM
Re: Corrupted disk in LVM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2004 11:51 PM
05-24-2004 11:51 PM
Re: Corrupted disk in LVM
Reply for you 2nd post:
If it is mirrored just connect the disk,
1)pvcreate on that disk
2)include the disk in the same volume group by vgextend
3) lvextend -m 1 on all the LV's
Example:
Say you vg01 is having one disk
/dev/dsk/c4t5d0
Your replaced disk is /dev/dsk/c4t5d3 and you want the mirror on this disk.
pvcreate -f /dev/rdsk/c4t5d3
vgextend vg01 /dev/dsk/c4t5d3
lvextend -m 1 /dev/vg01/lvol1 /dev/dsk/c4t5d3
This will create the mirror on the new disk
you can see this by lvdisplay -v
But for the above operation you should have mirror disk installed which is a seperate product.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 12:17 AM
05-25-2004 12:17 AM
Re: Corrupted disk in LVM
Actually your logical volume is part of VOlume group and not directly the disk.
Disk is added into volume group and space of VG gets increased and then you create LV into VG. So can't say which lv is using which disk that is why it is called as logical volume.
But finally it depends on how you have configured it.
For e.g. If you have only 1 lv in VG say vg01 and only 1 disk configured for that VG01 then what you can do is replace the disk the faulty disk, remove earlier disk from VG01, then add new disk to VG01, create similar LV, filesystem and restore filesystem which resides in that particular LV.
If you provide info about your VG and LV configuration then it will usefull to give proper workaround.
Suppose your affected disk belongs to VG01 then post this output:
#vgdisplay -v vg01
And possibly
#lvdisplay -v lvname
this output for all lv's that belongs to VG01
Regards,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-25-2004 12:22 AM
05-25-2004 12:22 AM
Re: Corrupted disk in LVM
Could you post
# vgdisplay -v
Regards,
Robert-Jan