HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- How to change one broken disk drive in mirror logi...
Operating System - HP-UX
1832531
Members
8453
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
02-24-2005 01:38 AM
02-24-2005 01:38 AM
I have 2 SCSI HDD 36Gb
There are in VG vg07 both.
I create in VG vg07 logical volume lv01 with one mirror. The mirror politics - mirror on different disks.
Now one of 2 HDD is broken.
What can I do with VG and LVOL and other that replace broken HDD on new...
There are in VG vg07 both.
I create in VG vg07 logical volume lv01 with one mirror. The mirror politics - mirror on different disks.
Now one of 2 HDD is broken.
What can I do with VG and LVOL and other that replace broken HDD on new...
Solved! Go to Solution.
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 01:44 AM
02-24-2005 01:44 AM
Re: How to change one broken disk drive in mirror logical volume ?
Remove all the mirrors to the disk.
lvreduce -m 0 /dev/vgxx/lvolx
If the disk is hot swappble, then just replace it and do
vgcfgrestore -n vgxx /dev/dsk/cxtxdx
vgchange -a y vgxx
vgsync
Anil
lvreduce -m 0 /dev/vgxx/lvolx
If the disk is hot swappble, then just replace it and do
vgcfgrestore -n vgxx /dev/dsk/cxtxdx
vgchange -a y vgxx
vgsync
Anil
There is no substitute to HARDWORK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-24-2005 02:38 AM
02-24-2005 02:38 AM
Solution
Hi Andrey,
if disk is not hot-swap;
1. shutdown your system;
2. take out the broken disk and replace it;
3. boot up your system;
4. vgcfgrestore -n vg07 /dev/rdsk/cXtXdX
where cXtXdX is the device file of disk
5. vgchange -a y vg07
6. vgsync vg07
if disk is hot-swap;
1. lvreduce -m 0 /dev/vg07/lv01 /dev/dsk/cXtXdX
2. vgreduce /dev/vg07 /dev/dsk/cXtXdX
3. take out the broken disk and replace it;
4. pvcreate /dev/dsk/cXtXdX
5. vgextend /dev/vg07 /dev/dsk/cXtXdX
6. lvextend -m 1 /dev/vg07/lv01 /dev/dsk/cXtXdX
Best regards,
Fabio
if disk is not hot-swap;
1. shutdown your system;
2. take out the broken disk and replace it;
3. boot up your system;
4. vgcfgrestore -n vg07 /dev/rdsk/cXtXdX
where cXtXdX is the device file of disk
5. vgchange -a y vg07
6. vgsync vg07
if disk is hot-swap;
1. lvreduce -m 0 /dev/vg07/lv01 /dev/dsk/cXtXdX
2. vgreduce /dev/vg07 /dev/dsk/cXtXdX
3. take out the broken disk and replace it;
4. pvcreate /dev/dsk/cXtXdX
5. vgextend /dev/vg07 /dev/dsk/cXtXdX
6. lvextend -m 1 /dev/vg07/lv01 /dev/dsk/cXtXdX
Best regards,
Fabio
WISH? IMPROVEMENT!
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