- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NEWBIE: HELP REPLACING A DISK
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
07-10-2001 02:52 PM
07-10-2001 02:52 PM
Using support I was able to determine that the device belongs to LUN 4. We did this by connecting the console to the array and running Grid Manager?? The matrix display that had a missing value was in row 4, which they said indicated LUN 4??? They then had me strings /etc/lvmtab and determine with dsks had as a device unit target, which were c0t0d4 and c1t1d4, which belong to volume group vg05.
Now for my confusion, why do I have two entries?
I found an article about re-syncing disks after being replaced, it said to;
vgcfgrestore -n vg05 /dev/rdsk/cXtXdX
(DO I NEED TO DO THIS FOR BOTH c0t0d4 and c1t1d4?)
vgchange -a y vg05
(ISNT IT ALREADY ACTIVE?)
vgsync vg05
(OK)
lvdisplay -v /dev/vg05/lvol*
(says to insure extents are stripped, how can you tell from this command?)
Any and all help greatly appreciated!
Kurt in Phoenix
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2001 03:03 PM
07-10-2001 03:03 PM
Re: NEWBIE: HELP REPLACING A DISK
U can also use only VG name without disk option,i.e.,
vgcfgrestore -n vg05
which restores the entire LVM configuration data from a default configuration backup file.
However u have to deactivate VG before performing above step so, u need to reactivate it.
I think u need to use vgsync if u have any lvm mirrors.
Cheers...
Satish.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2001 03:12 PM
07-10-2001 03:12 PM
Re: NEWBIE: HELP REPLACING A DISK
From what you describe, the second device file would be an "alternate link" to the same LUN.
The 'vgcfgrestore' syntax should suffice. Activating the volume group afterwards is fine.
The 'vgsync' is used with MirrorDisk/UX. Mirroring is done at the logical volume level. Issuing 'vgsync' would resynchronize mirrored extents, the state of which could be seen with 'lvdisplay -v /dev/vgXY/lvolZ'.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2001 03:20 PM
07-10-2001 03:20 PM
Re: NEWBIE: HELP REPLACING A DISK
So when I plop the new drive in I can issue
vgcfgrestore -n vg05
or do I issue
vgcfgrestore -n vg05 /dev/rdsk/c0t0d4
and not worry about the 'alternate link'?
Does c0t0d4 point to 5 physical disks?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-10-2001 06:34 PM
07-10-2001 06:34 PM
SolutionYes, from you description, 'c0t0d4' should point to an array of disks.
'vgcfgrestore -n vg05' should be suffieient since nothing should have changed but the physical disk you replaced. The alternate link should be reestablished as part of this process. You can verify everything afterwards by doing 'vgdisplay -v /dev/vg05'
I doubt that you have mirroring of any of the logical volumes comprising vg05, so you will not need the 'vgsync' either.
Regards!
...JRF...