Hi!
In such case you've lost hd1 (/home filesystem).
!!!!! Check twice before removing it !!!!!
1. lsvg -p rootvg; lsvg -l rootvg
Check that all other LVs are with 2 copies and syncd.
2. lslv -m hd1
Check that hd1 is realy resides on the failed hdisk1 (or it may be partly mirrored).
3. errpt; errrlog on VIOS
Check that theare are really errors from this disk drive.
---
4. So, if the proplem is realy with this hdisk and hd1 can't be moved, you may try to:
-Create and mount a new temporary fs on the good hdisk0
-Copy all files from /home to this fs. Using the cp -Rph command.
If some files will not be copied, look at your last backup.
- unmount /home; (maybe unmount -f because it's user's home dir); rmfs /home
umount your temporary fs, rename the corresponding LV to hd1; rename fs to /home (use chlv, chfs, don't edit the /etc/filesystems).
Then you will be able to reducevg; rmdev; rmvdev on VIOS and so on to bring the new disk.
Don't forget to run bosboot and bootlist after the replacement, to create boot records.
Best regards,
Dmitry.
------------------------------
Dmitry Mironov
------------------------------
Original Message:
Sent: Mon November 16, 2020 10:06 AM
From: XIAN HUI JIANG
Subject: how to handle hd1 lv stale?
have one system two disks(hdisk0 map from vios1) and (hdisk1 from vios2). and have errpt show hdisk0 has hardware problem.
. unmirrorvg rootvg hdisk0.reducevg rootvg hdisk0.and replacement hdisk0 (backend at vios1 is hdisk3) at vios1 successful.
after replacement hdisk0. during mirrorvg rootvg at system. we happened problem is hardware at hdisk1(backend from vios2 hdisk7).
and show hd1 is stale. so now I want unmirrorvg rootvg hdisk1 is not successful. even I migratepv hdisk1 hdisk0 -l hd1 all failed.
So how to handle replace the disk for hdisk1?
Thanks
------------------------------
XIAN HUI JIANG
------------------------------