- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Cannot sync mirror because replacement disc too sm...
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
11-15-2010 04:27 AM
11-15-2010 04:27 AM
After much delving it turns out that the replacement disc is not 36.4 Gb but 32 Gb though all part numbers match!
See the size field for /dev/dsk/c10t8d0 "33554432 Kbytes" not "35566480 Kbytes" :
diskinfo /dev/rdsk/c6t8d0
SCSI describe of /dev/rdsk/c6t8d0:
vendor: FUJITSU
product id: MAJ3364MC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
diskinfo /dev/rdsk/c3t8d0
SCSI describe of /dev/rdsk/c3t8d0:
vendor: HP 36.4G
product id: ST336706LC
type: direct access
size: 35566480 Kbytes
bytes per sector: 512
diskinfo /dev/rdsk/c10t8d0
SCSI describe of /dev/rdsk/c10t8d0:
vendor: HP 36.4G
product id: ST336706LC
type: direct access
size: 33554432 Kbytes
bytes per sector: 512
Now! Trying to split the mirror fails. Running the VG with one disc missing fails a quorum check (there are only 3 discs in the VG).
I have spare discs available which are hopfully the right size. I am able to quiesce the filesystems and normally would do this before changing a disc in a so-called "hot pull" SC10.
Question: What is the recommended safest way to replace the bad disc bearing in mind that it is sound in "ioscan" but unsound in LVM?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2010 07:07 AM
11-15-2010 07:07 AM
Re: Cannot sync mirror because replacement disc too small
IMO you need to start over with the proper disk. The spare was probably mis-labeled or otherwise tainted.
I would get this current spare out of the volume group with vgreduce.
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
11-15-2010 07:45 AM
11-15-2010 07:45 AM
SolutionYou can try the lvreduce-->vgreduce-->pvchange-->replacedisk-->vgcfgrestore-->mkboot-->pvchange-->vgsync-->lvlnboot -R method to replace disk
Hope the attached document will be very handy in similar situations.
Thanks & Regards
Jayakrishnan G Naik
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2010 07:56 AM
11-15-2010 07:56 AM
Re: Cannot sync mirror because replacement disc too small
If it will take the "lvreduce" while the mirrors are not synced and it will let me "vgreduce" below the VG quorum value I'm home and dry. I'll try it as soon as I can get downtime.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-15-2010 08:07 AM
11-15-2010 08:07 AM
Re: Cannot sync mirror because replacement disc too small
Once you are sure the disk has no data on it: pvdisplay -v you can use vgreduce to temporarily remove the disk from the volume group.
Doing this, and then replacing the disk followed by vgextend is a reliable way to insure that the new disk is recognized at the size you need.
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
11-15-2010 09:39 PM
11-15-2010 09:39 PM
Re: Cannot sync mirror because replacement disc too small
Use pvdisplay -v /dev/dsk/cxtxdx (failed disk) to find the list of logical volumes using this disk.
Then remove LE extents from these pv's
use lvreduce
Next remove the failed pv from vg01
vgreduce -f vg01
Note: If pvdisplay fails, use the pvkey to reduce the failed disk from vg01.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2010 03:29 AM
11-16-2010 03:29 AM
Re: Cannot sync mirror because replacement disc too small
I have replaced numerous failed discs on these systems (including this disc). The original replacement was complicated because the whole 3-disc mirror set failed with "quorum" errors because they are the only discs in Volume Group vg02. I don't have a spare slot to fit a fourth disc so I expect issues when trying to reduce vg02 from 3 discs to 2 discs.
This is the first time where I have a disc which is essentially sound but will not sync and where the quorum issue gave me so much pain. I will umount the single filesystem before starting the exercise in the knowledge that it will not mount until the disc is replaced.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-16-2010 05:08 AM
11-16-2010 05:08 AM
Re: Cannot sync mirror because replacement disc too small
Disable quorum for vg01 and try to remove the failed disks.
#vgchange -q n /dev/vg01
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2010 08:11 AM
11-21-2010 08:11 AM
Re: Cannot sync mirror because replacement disc too small
The final sequence was:
umount /partition
vgchange -a y -q n vg02
lvreduce -m 1 /dev/vg02/lvol1 /dev/dsk/c10t8d0
Remove old disc, ioscan, replace disc, ioscan.
Capacity still wrong in "diskinfo". Reboot server, capacity now correct in "diskinfo".
This also remounted partiton (without quorum issue) on a synced single mirror.
vgcfgrestore -n vg02 /dev/rdsk/c10t8d0
vgchange -a y vg02
lvextend -m 2 /dev/vg02/lvol1 /dev/dsk/c10t8d0
Thanks to all who helped.