[HPADM] lvreduce -m 0 command
- From: Fabio Miranda Hamburger <fabmirha@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 16 Jun 2007 09:39:08 -0600 (CST)
Hello Unix professionals,
Let's assume we have vgfoo with 2 disks, in primary -> mirror schema:
strings /etc/lvmtab
vgfoo
/dev/dsk/c1t1d0
/dev/dsk/c1t2d0
Suddenly, you keep getting EMS and syslog I/O orror like a "vx_ioerror" regaridng disk /dev/dsk/c1t2d0. You want to replace the mirror.
You proceed to lvreduce -m vgfoo /dev/dsk/c1t2d0 and vgcfgerstore the new disk.
Questions:
1. Given: lvreduce -m vgoo /dev/dsk/c1t2d0. What exactly this command do ? 1a. Does this command modify metadata (PVRA/VGRA) in the remaining disk ( /dev/dsk/c1t1d0 )?
1b. Does this command modify metadata (PVRA/VGRA) in the failing disk ( /dev/dsk/c1t2do) ?
2. If the failing disks, refuses to "sucess" with lvreduce -m 0, what's the impact of: vgreduce -f /dev/dsk/c1t2d0 (failing disk) ?
3. What lvreduce does to the reduced failing disk and its extents and its PVRA/VGRA? If the disk is absolutly failing, perhaps any I/O sent to it wont sucess ?
4. Another related question: Given the above vgfoo, no failing disks, by mistake, I do a:
pvcreate -f /dev/dsk/c1t2d0.
4a. what pvcreate initialize ? PVRA and VGRA as well? Are they initializate to zeros? pvcreate store anything to the disk or just set up pointers or somehtg?
4b. How would I fix this ? vgcfgrestore -n vgf00 /dev/dsk/c1t2d0 and that is?
I wil summarize this and 2 other thread pending,
Thanks to provide this mailing list to HPUX community,
HP-UX 11i v3 is out!
Bst regards,
---
Fabio Andrés Miranda
Ingeniería en sistemas informáticos
Universidad Latina - Costa Rica
- Follow-Ups:
- [HPADM] RE : lvreduce -m 0 command
- From: BAKHSHESH Kazem
- [HPADM] RE : lvreduce -m 0 command
- Prev by Date: [HPADM] Re: SUMMARY- Identify the disk which server booted ( on mirror pair)
- Next by Date: [HPADM] RE : lvreduce -m 0 command
- Previous by thread: [HPADM] Lvcreate and stripping
- Next by thread: [HPADM] RE : lvreduce -m 0 command
- Index(es):
Relevant Pages
|