- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: rx machine root mirror restore~~
Categories
Company
Local Language
Forums
Discussions
Knowledge Base
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Forums
Discussions
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
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-01-2005 06:55 PM
11-01-2005 06:55 PM
rx machine root mirror restore~~
after mirroring ,It failed second disk status is stale.
and it couldn't reduced only /- root file system directory.
so in sigle mode, unload stale disk compulsorily.
and then, iserted new disk for new mirror.
strangly, lvol3-root file system is presented like this.
00384 /dev/dsk/c2t1d0s2 02464 current ??? 02464 stale
00385 /dev/dsk/c2t1d0s2 02465 current ??? 02465 stale
00386 /dev/dsk/c2t1d0s2 02466 current ??? 02466 stale
00387 /dev/dsk/c2t1d0s2 02467 current ??? 02467 stale
00388 /dev/dsk/c2t1d0s2 02468 current ??? 02468 stale
00389 /dev/dsk/c2t1d0s2 02469 current ??? 02469 stale
00390 /dev/dsk/c2t1d0s2 02470 current ??? 02470 stale
00391 /dev/dsk/c2t1d0s2 02471 current ??? 02471 stale
how should I proceed this?
lvreduce -m 0 -k /dev/vg00/lvol3
Logical volume "/dev/vg00/lvol3" has been successfully reduced.
lvlnboot: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
]lvreduce -m 0 -A n /dev/vg00/lvol3 /dev/dsk/c2t0d0s2
lvreduce: Warning: couldn't query physical volume "/dev/dsk/c2t0d0s2":
The specified path does not correspond to physical volume attached to
this volume group
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 07:00 PM
11-01-2005 07:00 PM
Re: rx machine root mirror restore~~
vgreduce -f vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 07:05 PM
11-01-2005 07:05 PM
Re: rx machine root mirror restore~~
As indicated above as well reduce the VG using -f option for a forcible reduce and then recreate mirror using the new device.
HTH,
Devender
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 07:44 PM
11-01-2005 07:44 PM
Re: rx machine root mirror restore~~
Refer to manpage of vgreduce that explain what you want to do.
# lvreduce -m /dev/vg00 /dev/dsk/c2t0d0s2
# vgreduce -f /dev/vg00
or
# vgreduce -l /dev/vg00 /dev/dsk/c2t0d0s2
save /etc/lvmtab to the other name like lvmtab.old and remove /etc/lvmtab
# vgscan -v
# vgcfgbackup vg00
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 07:57 PM
11-01-2005 07:57 PM
Re: rx machine root mirror restore~~
when you inserted the new disk did you perform an ioscan to pick the new disk up?
then do an
#insf -e
It looks like the new disk has not been re partitioned?
it is looking for the disk with the s2 option and cannot find it.
when re- mirroring disks in IA64 servers you have to partition the disk with idisk first, was this step completed properly and does ioscan show you the correct partitions now
c2t0d0s1, c2t0d0s2 and for 11.23 c2t0d0s3
you will not be able to resync the mirrors with lvm if these steps are not carried out first
andy
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 08:11 PM
11-01-2005 08:11 PM
Re: rx machine root mirror restore~~
and then, ioscan -fnC disk
=>disk 1 0/1/1/0.0.0 sdisk CLAIMED DEVICE HP 73.4GMAS3735NC
disk 2 0/1/1/0.1.0 sdisk CLAIMED DEVICE HP 73.4GST373454LC
/dev/dsk/c2t1d0 /dev/dsk/c2t1d0s3 /dev/rdsk/c2t1d0s2
/dev/dsk/c2t1d0s1 /dev/rdsk/c2t1d0 /dev/rdsk/c2t1d0s3
/dev/dsk/c2t1d0s2 /dev/rdsk/c2t1d0s1
util this ,I understand.
but stings /etc/lvmtab
[cnuh2:/]strings /etc/lvmtab
/dev/vg00
/dev/dsk/c2t1d0s2
/dev/dsk/c2t0d0s2
.
DO i have to execute vgreduce -f ?
I am wondering this make system unstablize.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2005 08:20 PM
11-01-2005 08:20 PM
Re: rx machine root mirror restore~~
No it will not make system unstable but is required. It will remove the entry from lvmtab file.
HTH,
Devender