- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: disk mirror problems
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
05-28-2003 05:32 AM
05-28-2003 05:32 AM
I have done the mkboot on the disk and I can mirror lvol1 but as soon as I try to mirror lvol2 I get:
lvlnboot: LIF information corrupt or not present on "/dev/dsk/c4t6d0". Use the "mkboot" command to initialize the LIF area.
Thanks for any help
Steve
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 05:08 AM
05-28-2003 05:08 AM
Re: disk mirror problems
Just to make sure, did you:
pvcreate -B /dev/dsk/c1t6d0
vgextend /dev/vg00 /dev/dsk/c1t6d0
mkboot /dev/rdsk/c1t6d0
mkboot -a "hpux -lq" /dev/rdsk/c1t6d0
before lvextending?
Did lvol1 extend OK?
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 05:36 AM
05-28-2003 05:36 AM
Re: disk mirror problems
The process should begin with:
# pvcreate ???B /dev/rdsk/cXtYdZ
# vgextend /dev/vg00 /dev/dsk/cXtYdZ
# mkboot /dev/rdsk/cXtYdZ
# mkboot ???a ???hpux ???lq??? /dev/rdsk/cXtYdZ
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 05:38 AM
05-28-2003 05:38 AM
SolutionYou need at least three steps for root/boot mirror
1) pvcreate -B /dev/rdsk/c4t6d0
2) mkboot -l /dev/rdsk/c4t6d0
3) mkboot -a "hpux -lq" /dev/rdsk/c4t6d0
I suspect you forgot to reserve the boot area with the pvcreate -B command.
HTH,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 05:38 AM
05-28-2003 05:38 AM
Re: disk mirror problems
# pvcreate -B /dev/rdsk/c?t?d?
# vgextend /dev/vg00 /dev/dsk/c?t?d?
# mkboot /dev/rdsk/c?t?d?
# mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c?t?d?
# lvextend -m 1 /dev/vg00/lvol? /dev/dsk/c?t?d?
The 'pvcreate -B' is the first major step. That establishes the area for the boot information to get written on the disk.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 05:41 AM
05-28-2003 05:41 AM
Re: disk mirror problems
to create a booable disk:
- export the disk from vg00, using vgreduce
- pvcreate -f -B /dev/dsk/csds
"-B" this will reserve space for LIF information
"-f" force operation, because you have initialized it already one time
- vgextend vg00 /dev/dsk/csds
- mkboot /dev/dsk/csds
copies the LIF utility
- mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/csds
this will put the lif string.
"hpux -lq" is used to let the system go up, if one of the two disks are missing
- check the lif on your first disk
"lifcp /dev/dsk/csds:AUTO -"
pay attention to the minus!
this will print to stdout the lif string, if it is not the same as the one suggested, recreate it:
- mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/dsk/csds
Verify all settings with
lvlnboot -v
- mirror the lvol IN THE SAME ORDER !!
to check the proper order,
do a pvdisplay -v /dev/dsk/csdsss | more
HTH,
Massimo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-28-2003 05:45 AM
05-28-2003 05:45 AM
Re: disk mirror problems
Jeff Schussele called it when he mentioned that I probably forgot to reserve the boot space on the disk.
I have been away from HPUX for a few years. Have a few things to relearn.
Thanks all
Steve