- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Unable to add new disk to one VG, but able to add ...
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-07-2004 12:12 AM
12-07-2004 12:12 AM
There was a bad disk in our server. Vendor has replaced the bad disk. When i try to add the new disk to the existing VG. i'm getting i/o error 'n' the new disk is showing as stale in lvdisplay.
But the same disk i could able to add to other VG successfully.
Can anybody suggest me?
Thanks,
Madhu
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 12:19 AM
12-07-2004 12:19 AM
Re: Unable to add new disk to one VG, but able to add to other VG
Do a pvcreate -f on your new disk before adding it in the VG
could you send the exact error message please?
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 12:21 AM
12-07-2004 12:21 AM
Re: Unable to add new disk to one VG, but able to add to other VG
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 12:30 AM
12-07-2004 12:30 AM
Re: Unable to add new disk to one VG, but able to add to other VG
i'm trying to add to the same old VG. but i've removed the entry related to this bad disk before the hdd replacement.
i'm getting the below error when i try to extend LV.
#lvextend -m 1 /dev/vg02/u02
The newly allocated mirrors are now being synchronized. This operation will
take some time. Please wait ....
lvextend: Couldn't re-synchronize stale partitions of the logical volume: I/O error
lvextend: Couldn't resynchronize logical volume "/dev/vg02/u02".
Initially i suspected disk problem. But i could able to add the same disk to other VG successfully.
Any expert suggetions???
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 12:36 AM
12-07-2004 12:36 AM
Re: Unable to add new disk to one VG, but able to add to other VG
# lvdisplay -v /dev/vg02/u02
Stf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 12:44 AM
12-07-2004 12:44 AM
Re: Unable to add new disk to one VG, but able to add to other VG
other disk(mirror copy) is showing current.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 12:47 AM
12-07-2004 12:47 AM
Re: Unable to add new disk to one VG, but able to add to other VG
# lvreduce -m 0 /dev/vg02/u02
and then you can do an
# lvextend -m 1 /dev/vg02/u02
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 12:51 AM
12-07-2004 12:51 AM
Re: Unable to add new disk to one VG, but able to add to other VG
i tried all those options. looks like VG is corrupted.
Can you pls suggest me some high funda commands.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 12:54 AM
12-07-2004 12:54 AM
Re: Unable to add new disk to one VG, but able to add to other VG
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 01:00 AM
12-07-2004 01:00 AM
Re: Unable to add new disk to one VG, but able to add to other VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 01:01 AM
12-07-2004 01:01 AM
Re: Unable to add new disk to one VG, but able to add to other VG
If this is the case :
# vgcfgrestore -n /dev/vg02
# vgchange -a y /dev/vg02
# vgsync /dev/vg02
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 01:06 AM
12-07-2004 01:06 AM
Re: Unable to add new disk to one VG, but able to add to other VG
I told clearly that i tried all the basic things like these.
Can anybody suggest me regarding VG corruptions and recovry.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 01:15 AM
12-07-2004 01:15 AM
Re: Unable to add new disk to one VG, but able to add to other VG
The disk is the disk which is faulty and has been replaced by you.
If that succeeds, then do lvextend -m 1 /dev/vgxx/u02
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 01:17 AM
12-07-2004 01:17 AM
Re: Unable to add new disk to one VG, but able to add to other VG
1. what is the path of your new disk that causes problem?
2. can you attach result of strings /etc/lvmtab?
3. can you attach result of strings /etc/lvmconf/vg02.conf?
Stf ;-)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 01:20 AM
12-07-2004 01:20 AM
Re: Unable to add new disk to one VG, but able to add to other VG
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 01:35 AM
12-07-2004 01:35 AM
Re: Unable to add new disk to one VG, but able to add to other VG
Dont jump to a conclusion. You have decided that the vg corrupted. That is what is causing the problem.
Be open, listen to what people say. Did you try my last post??? (Use of -k for lvreduce)
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 02:07 AM
12-07-2004 02:07 AM
Re: Unable to add new disk to one VG, but able to add to other VG
I used pvkey option very inititally, while removing the bad disk from the mirror, before the disk replacement.
The problem started like this.
disk was missing completely after the reboot. means ioscan was not showing the disk and the lvdisplay was showing this disk as stale. so, before calling vendor i removed this disk from LV. at that time i used -k option, as it was not showing the dev. file in lvdisplay. instead it was showing question mark ("???" ).
after lvreduce, i did vgreduce.
after the disk replacement i did following.
pccreate, vgextend and lvextend.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 02:10 AM
12-07-2004 02:10 AM
Re: Unable to add new disk to one VG, but able to add to other VG
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 02:13 AM
12-07-2004 02:13 AM
Re: Unable to add new disk to one VG, but able to add to other VG
here my question is, why i'm unable to add the disk to the old VG. but i'm able to add to the other VG.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 02:15 AM
12-07-2004 02:15 AM
Re: Unable to add new disk to one VG, but able to add to other VG
Now check /etc/lvmtab and vgdisplay -v output to check if disk is in vgxx or not. If not do a pvcreate on it anddo a vgextend.
Anil
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 02:36 AM
12-07-2004 02:36 AM
Re: Unable to add new disk to one VG, but able to add to other VG
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 02:40 AM
12-07-2004 02:40 AM
Re: Unable to add new disk to one VG, but able to add to other VG
I have already removed the disk from the mirrpr. I will give you the details of pvdisplay tomorrow.
Thanks,
Madhu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 03:04 AM
12-07-2004 03:04 AM
Re: Unable to add new disk to one VG, but able to add to other VG
Your problem can come from this point : Did you get the whole process when you try to add the disk to the LV (pvcreate, vgextend, lvextend) or did you miss the pvcreate step ?
Regards,
Fred
"Reality is just a point of view." (P. K. D.)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 03:34 AM
12-07-2004 03:34 AM
Re: Unable to add new disk to one VG, but able to add to other VG
I am getting the below message:
pvdisplay -v /dev/dsk/cxtydz
pvdisplay: Couldn't find the volume group to which
physical volume "/dev/dsk/cxtydz" belongs.
pvdisplay: Cannot display physical volume "/dev/dsk/cxtydz".
i tried pvcreate -f <> also. even after that it's giving the same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2004 03:36 AM
12-07-2004 03:36 AM