HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgsyncing happend for every time when I activa...
Operating System - HP-UX
1832590
Members
3187
Online
110043
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
07-28-2002 07:33 PM
07-28-2002 07:33 PM
Hi,
In one of disk array, I replaced the bad Hard disk
by following these steps.
" * vgcfgrestore -n vg01 -l
* vgchange -a y vg01
It reported about "could not re-synchronize stale partitions...."
Then I remembered that I had removed the entry of the faulty disk from
/etc/lvmtab.
So, I did a vgscan -a, which created /etc/lvmtab and now both "ioscan -fnC
disk" and
"strings /etc/lvmtab" show the entry of the new disk /dev/dsk/c3t3d0
Now, I did a "vgchange -a n vg01" and "vgchange -a y vg01".
I saw that the mirror disks started sync'ing. It took almost one hour and
the command
finished with "volume group vg01 successfully changed".
Now, the problem is everytime I try to activate the volume group it starts
sync'ing. How could we rectify this problem ?
Thanks in advance.
Rajesh SB
In one of disk array, I replaced the bad Hard disk
by following these steps.
" * vgcfgrestore -n vg01 -l
* vgchange -a y vg01
It reported about "could not re-synchronize stale partitions...."
Then I remembered that I had removed the entry of the faulty disk from
/etc/lvmtab.
So, I did a vgscan -a, which created /etc/lvmtab and now both "ioscan -fnC
disk" and
"strings /etc/lvmtab" show the entry of the new disk /dev/dsk/c3t3d0
Now, I did a "vgchange -a n vg01" and "vgchange -a y vg01".
I saw that the mirror disks started sync'ing. It took almost one hour and
the command
finished with "volume group vg01 successfully changed".
Now, the problem is everytime I try to activate the volume group it starts
sync'ing. How could we rectify this problem ?
Thanks in advance.
Rajesh SB
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-28-2002 07:46 PM
07-28-2002 07:46 PM
Solution
Hi,
The man page for 'vgchange' even states this:
Quote/
If the -a y or -a e option is executed on a currently active volume group, vgchange attempts to include any physical volumes that were previously listed as missing. This is useful if a physical volume has come back online. However, no automatic synchronization of any mirrored logical volumes is done. If synchronization is required, execute the vgsync command (see vgsync(1M)).
End Quote
At a guess something has obviously gone when the disk was replaced. What I would be tempted to do is to do a 'lvreduce' on each of the logical volumes that are attached on that disk and, remove the disk from the volume group, 'pvcreate -f' the disk 'vgextend' the volume again with this same disk and re-do the mirror.
HTH
Michael
The man page for 'vgchange' even states this:
Quote/
If the -a y or -a e option is executed on a currently active volume group, vgchange attempts to include any physical volumes that were previously listed as missing. This is useful if a physical volume has come back online. However, no automatic synchronization of any mirrored logical volumes is done. If synchronization is required, execute the vgsync command (see vgsync(1M)).
End Quote
At a guess something has obviously gone when the disk was replaced. What I would be tempted to do is to do a 'lvreduce' on each of the logical volumes that are attached on that disk and, remove the disk from the volume group, 'pvcreate -f' the disk 'vgextend' the volume again with this same disk and re-do the mirror.
HTH
Michael
Anyone for a Mutiny ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-29-2002 11:21 PM
07-29-2002 11:21 PM
Re: vgsyncing happend for every time when I activate vg.
HARHA!!!
ZERO Assignment of points from 33 (now 34 responses)
Can we add this user to the black list please..... (I try not to get narky but fair is fair......)
ZERO Assignment of points from 33 (now 34 responses)
Can we add this user to the black list please..... (I try not to get narky but fair is fair......)
Anyone for a Mutiny ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2002 12:16 AM
07-30-2002 12:16 AM
Re: vgsyncing happend for every time when I activate vg.
I assume, but am not 100% sure, that the automated syncing which indeed takes a long time, is initiated by /usr/sbin/syncer. It keeps on watching changes in the vg's and decides by itself to start syncing.
To stop this inconvienence, you can stop the syncer-daemon by:
/sbin/init.d/syncer stop
and you can decide yourself wheter or not to set the /etc/rc.config.d/syncer variable SYNCER=0
Regards,
Ceesjan
To stop this inconvienence, you can stop the syncer-daemon by:
/sbin/init.d/syncer stop
and you can decide yourself wheter or not to set the /etc/rc.config.d/syncer variable SYNCER=0
Regards,
Ceesjan
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP