- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Mirror mounted with mistake.
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
04-26-2006 11:40 PM
04-26-2006 11:40 PM
I mounted a mirror, but the same had an error. I didn´t mount in order of the LVM. What doing for fix of the same?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2006 11:48 PM
04-26-2006 11:48 PM
Re: Mirror mounted with mistake.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2006 11:48 PM
04-26-2006 11:48 PM
Re: Mirror mounted with mistake.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-26-2006 11:56 PM
04-26-2006 11:56 PM
Re: Mirror mounted with mistake.
Is this a problem?
The command setboot -a 1/0/0/1/0, this error:
#setboot -a 0/1/1/0.0.0
setboot: error accessing boot path - Invalid argument
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 12:02 AM
04-27-2006 12:02 AM
Re: Mirror mounted with mistake.
You have mirrored your boot disk and now you want to remove the mirror?
Your reason is, that you don't mirrored lvol1, lvol2 and lvol3 first?
Please confirm!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 12:05 AM
04-27-2006 12:05 AM
Re: Mirror mounted with mistake.
Yes, I didn´t do in order.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 12:09 AM
04-27-2006 12:09 AM
Re: Mirror mounted with mistake.
With you system running, you have to "lvreduce" every LVOL first. You need to know what disk device you want to remove:
(e.g. remove /dev/dsk/c0t1d0)
# lvremove -m 0 /dev/vg00/lvol1 /dev/dsk/c0t1d0
(for every LVOL)
Now "lxextend" again in a proper order.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 12:14 AM
04-27-2006 12:14 AM
Re: Mirror mounted with mistake.
# pvdisplay -v /dev/dsk/c0t6d0 | more
--- Physical volumes ---
PV Name /dev/dsk/c0t6d0
VG Name /dev/vg00
PV Status available
Allocatable yes
VGDA 2
Cur LV 8
PE Size (Mbytes) 4
Total PE 2168
Free PE 105
Allocated PE 2063
Stale PE 0
IO Timeout (Seconds) default
Autoswitch On
--- Distribution of physical volume ---
LV Name LE of LV PE for LV
/dev/vg00/lvol1 75 75
/dev/vg00/lvol2 96 96
/dev/vg00/lvol3 50 50
/dev/vg00/lvol4 50 50
/dev/vg00/lvol5 125 125
/dev/vg00/lvol6 853 853
/dev/vg00/lvol7 558 558
/dev/vg00/lvol8 256 256
--- Physical extents ---
PE Status LV LE
00000 current /dev/vg00/lvol1 00000
00001 current /dev/vg00/lvol1 00001
00002 current /dev/vg00/lvol1 00002
00003 current /dev/vg00/lvol1 00003
00004 current /dev/vg00/lvol1 00004
00005 current /dev/vg00/lvol1 00005
....
lvol2
lvol3
...
now the sequence doesn't matter (for lvol4, 5 ...).
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 12:20 AM
04-27-2006 12:20 AM
Re: Mirror mounted with mistake.
This is a message, after command.
#lvremove -m 0 /dev/vg00/lvol5 /dev/dsk/c2t0d0
Usage: lvremove
[-f]
[-A Autobackup]
LogicalVolumePath...
"m": Illegal option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 12:34 AM
04-27-2006 12:34 AM
Re: Mirror mounted with mistake.
That's *not* 'lvremove'. It's 'lvreduce':
# lvreduce -m 0 /dev/vg00/lvol5 /dev/dsk/c2t0d0
You can do:
# for X in 1 2 3 4 5 6 7 8
> do
> lvreduce -m 0 /dev/vg00/lvol${X} /dev/dsk/c2t0d0
> done
# for X in 1 2 3 4 5 6 7 8
> do
> lvextend -m 1 /dev/vg00/lvol${X} /dev/dsk/c2t0d0
> done
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 12:47 AM
04-27-2006 12:47 AM
Re: Mirror mounted with mistake.
of course it is
# lvreduce -m 0 /dev/vg00/lvol1 /dev/dsk/c0t1d0
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 01:32 AM
04-27-2006 01:32 AM
Re: Mirror mounted with mistake.
This process is OK, Thanks.
But I have the problem of the setboot , that not active the "Alternat bootpath" in mirror disk.
Please did you can help me.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 01:42 AM
04-27-2006 01:42 AM
Re: Mirror mounted with mistake.
lvlnboot -v
setboot
with that data we can both see Your problem and give You instructions on how to fix it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 01:44 AM
04-27-2006 01:44 AM
Re: Mirror mounted with mistake.
#lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c2t0d0 (0/1/1/0.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t1d0s2
/dev/dsk/c2t0d0
Root: lvol3 on: /dev/dsk/c2t1d0s2
/dev/dsk/c2t0d0
Swap: lvol2 on: /dev/dsk/c2t1d0s2
/dev/dsk/c2t0d0
Dump: lvol2 on: /dev/dsk/c2t1d0s2, 0
# setboot
Primary bootpath : 0/1/1/0.1.0
HA Alternate bootpath : 0/1/2/1
Alternate bootpath : 0/0/2/0.0.0.0
Autoboot is ON (enabled)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 02:26 AM
04-27-2006 02:26 AM
Re: Mirror mounted with mistake.
You need to follow the Integrity procedure.
Remember your thread from yesterday.
The mirror won't ever boot!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 02:34 AM
04-27-2006 02:34 AM
Re: Mirror mounted with mistake.
Please confirm this.
The procedure is here:
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000082066576
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 04:53 AM
04-27-2006 04:53 AM
Re: Mirror mounted with mistake.
I did begin this process indicated , I executed lvreduce and vgreduce. Now I did go there beginning other process that you indicated me , in the site of the HP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 06:55 AM
04-27-2006 06:55 AM
Re: Mirror mounted with mistake.
The mirror of the my server it´s OK.
Thank you very much.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 08:49 AM
04-27-2006 08:49 AM
Re: Mirror mounted with mistake.
the output you posted indicates an Integrity server:
/dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c2t0d0 (0/1/1/0.0.0) -- Boot Disk
The difference is the little "s2" in the first line. The bootdisk has to be partitioned, first for the boot area, second for the OS, third for utilities.
Your mirror disk has only 1 partition for the OS. This means, there is *NO* boot area. If your primary disk fails, your mirror will *NEVER EVER* boot!
Please confirm you have a Itanium system and run
# model
and
# efi_ls -d /dev/rdsk/c2t1d0s1
and post the results.
That's all for now.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 11:17 AM
04-27-2006 11:17 AM
Re: Mirror mounted with mistake.
ia64 hp server rx4640
# efi_ls -d /dev/rdsk/c2t1d0s1
FileName Last Modified Size
EFI/ 1/31/2006 0
STARTUP.NSH 1/31/2006 296
total space 523251712 bytes, free space 519962624 bytes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 05:11 PM
04-27-2006 05:11 PM
Re: Mirror mounted with mistake.
The bootarea of your original disk c2t1d0 (boot area is section 1 - s1 in c2t1d0s1) contains the EFI shell and the startup binary.
The second disk /dev/dsk/c2t0d0s1 must contain the same, otherwise it cannot boot.
Until now, you have a nice mirror of your OS, but only 1 bootable disk.
Solution:
lvreduce the lvols,
vgreduce the disk,
remove the special device files for it,
mirror the disk by following the steps in the document posted above.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 11:11 PM
04-27-2006 11:11 PM
Re: Mirror mounted with mistake.
I do this, It´s OK now.
#lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t1d0s2 (0/1/1/0.1.0) -- Boot Disk
/dev/dsk/c2t0d0s2 (0/1/1/0.0.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c2t1d0s2
/dev/dsk/c2t0d0s2
Root: lvol3 on: /dev/dsk/c2t1d0s2
/dev/dsk/c2t0d0s2
Swap: lvol2 on: /dev/dsk/c2t1d0s2
/dev/dsk/c2t0d0s2
Dump: lvol2 on: /dev/dsk/c2t1d0s2, 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 11:16 PM
04-27-2006 11:16 PM
Re: Mirror mounted with mistake.
Looks perfectly! Well done.
If your question is answered, consider to assign some points ;-)
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-27-2006 11:17 PM
04-27-2006 11:17 PM
SolutionLooks perfectly! Well done.
If your question is answered, consider to assign some points ;-)
Have fun!
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!
