- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvmerge error
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
тАО09-08-2005 11:19 PM
тАО09-08-2005 11:19 PM
We have got a failed disk as part of a mirrored LVM set.
the disk that has failed contains lvol7 and 8 in vg00. The failure occured during our backup window and so a variety of other lvms have not merged back. I am lvmerging them now and all have worked so far except for one that lives in vg00. it has merged but the conf data has not written out to /etc/lvmconf/vg00.conf - it has just hung!
commands and output below:
root/jobs $umount /dev/vg00/usersbackup
/root/jobs $lvmerge /dev/vg00/usersbackup /dev/vg00/users
Logical volume "/dev/vg00/usersbackup" has been successfully merged
with logical volume "/dev/vg00/users".
Logical volume "/dev/vg00/usersbackup" has been successfully removed.
**shell is hung - flashing cursor**
Can I kill the lvmerge process?
Do I need to do anything with my vg00.conf file?
I don't want to wipe out the whole of vg00 for obvious reasons!!!
cheers
Guy
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-08-2005 11:27 PM
тАО09-08-2005 11:27 PM
Re: lvmerge error
is waiting on i/o and will not be killed.
By any chance, if it gets killed, do vgreduce for that disk, replace (if not hot swappable, you will have to do reboot),
vgcfgrestore on disk and lvmerge.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2005 12:40 AM
тАО09-09-2005 12:40 AM
Re: lvmerge error
It is clear that the command is waiting for a I/O from the failed disk and will probably never complete unless it is timed out. In this case after waiting for a substiantial time if the process do not come out you can try killing it and removing the lock file /etc/lvmconf//lvm_lock.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2005 03:01 AM
тАО09-09-2005 03:01 AM
Re: lvmerge error
however, now I am trying to vgreduce the faulty disk and am getting another error.
I broke the mirrors from the disk with lvreduce -m 0 but the lvol8 lvm was not mirrored anyway as it was still in a split state. so I try and lvremove /dev/vg00/lvol8backup and cannot it says device busy. so I do a ps -ef and see this little beastie!
/sbin/fs/hfs/umount /dev/vg00/lvol8backup /backup/var
I try and kill it and nothing, not even a -9 does the job.
So it looks like I need a reboot, my question is how can I check that all my vg00 lvms come up after the reboot. I am not confident that some corruption or other has affected them with all the problems/mucking about that has been done. Can I save the vg00 config anywhere safe to recover from if needed?
thanks as ever guys
Guy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-09-2005 05:06 PM
тАО09-09-2005 05:06 PM
SolutionYou can check using bdf command wheather everything is mounted or not to ensure that all file systems are available.
Also there should not be any problem since your LVOLs have a copy on the good disk which was used for only reading while syncing the faulty disk.
/dev/vg00/vg00.conf should be the file enough to restore vg configuration. You can also recreate it anytime but currently system with a failed disk would probably not do that function as it involves scanning all the disks.
Just see the pvdisplay output of the good disk to ensure you have all the extents in current state and all splitted extents were from the faulty disk only.
#pvdisplay -v /dev/dsk/cxtydz |grep -i stale(Cxtydz is the good disk)
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО09-11-2005 08:30 PM
тАО09-11-2005 08:30 PM
Re: lvmerge error
did a vgreduce -f
swapped the disk and then remirrored the lvms
cheers all
Guy