- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvm root mirror
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
03-04-2003 10:24 PM
03-04-2003 10:24 PM
I don't think my attempt at mirroring my root disk worked. Is there a way to back out of it now and start all over without reinstalling the OS?
I have an N4000 running 11.11. Here is the output of the lvlnboot -v command:
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c2t6d0 (0/0/2/1.6.0) -- Boot Disk
/dev/dsk/c1t6d0 (0/0/2/0.6.0)
Boot: lvol1 on: /dev/dsk/c2t6d0
Root: lvol3 on: /dev/dsk/c2t6d0
Swap: lvol2 on: /dev/dsk/c2t6d0
/dev/dsk/c1t6d0
Dump: lvol2 on: /dev/dsk/c2t6d0, 0
When I was trying to extend the logical volumes to the second disk I was constantly getting the error message that to run the mkboot command, even after I ran it each time.
Thanks for your help,
Brian Street.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 10:38 PM
03-04-2003 10:38 PM
SolutionTo back out:
First run "lvreduce -m 0" to remove on mirrors you may have already created, then
# vgreduce vg00 /dev/dsk/c1t6d0
# pvcreate -f -B /dev/dsk/c1t6d0
then rebuild your mirrored boot disk
Here's a link to detailed instructions
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066581345
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 10:40 PM
03-04-2003 10:40 PM
Re: lvm root mirror
To back out:
First run "lvreduce -m 0" to remove on mirrors you may have already created, then
# vgreduce vg00 /dev/dsk/c1t6d0
# pvcreate -f -B /dev/dsk/c1t6d0
then rebuild your mirrored boot disk
Here's a link to detailed instructions
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000066581345
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 10:51 PM
03-04-2003 10:51 PM
Re: lvm root mirror
Thanks,
Brian Street.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 10:57 PM
03-04-2003 10:57 PM
Re: lvm root mirror
yes. u need to HP Mirror Disk software installed for mirroring to work.
check out the man pages.
hth
-balaji
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 10:59 PM
03-04-2003 10:59 PM
Re: lvm root mirror
you can remove the disk /dev/dsk/c1t6d0 from vg00 without having MirrorDisk/UX and you can also make the disk bootable using:
# pvcreate -f -B /dev/rdsk/c1t6d0
but to mirror your root disk (or any other disk) you have to have MirrorDisk/UX installed before.
Regards ...
Armin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-04-2003 11:02 PM
03-04-2003 11:02 PM
Re: lvm root mirror
here's a couple of other threads on mirroring without Mirror-U/X. You'll have to maintain the mirrors manually...
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xafc36af52b04d5118fef0090279cd0f9,00.html
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x37204b3ef09fd611abdb0090277a778c,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 11:24 AM
03-05-2003 11:24 AM
Re: lvm root mirror
It looks like the mkboot command didn't work to make the disk bootable; is that right?
Thank you,
Brian Street.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 11:35 AM
03-05-2003 11:35 AM
Re: lvm root mirror
Disk not ready message indicates that it is unable to access the drive. At the boot admin prompt, run the following command and see if it lists the alternate disk as a bootable disk
sea ipl
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 11:42 AM
03-05-2003 11:42 AM
Re: lvm root mirror
Shouldn't I be concerned that I have a problem if the disk was seen on the previous boot but now it can't see it? I'm rebooting to run the search command now, but that would seem pretty strange to me since it was there and I was able to install the mirrors, etc.
Brian Street.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 11:45 AM
03-05-2003 11:45 AM
Re: lvm root mirror
# lifls -l /dev/rdsk/c1t6d0
At a minimum, you must have AUTO, ISL, and HPUX
What are the contents of the AUTO file?
# lifcp /dev/rdsk/c1t6d0:AUTO -
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 11:45 AM
03-05-2003 11:45 AM
Re: lvm root mirror
I was trying to make sure your alternate path is setup correctly. It should correspond to the path to your alternate disk.
Once you run sea ipl, it will show all the boot disks so you should be able to figure it out.
If you see only one disk as bootable (primary), then simply do "sea" to see if that mirror disk is physically present or not.
You can be unlucky sometimes. It's mere hardware.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 11:53 AM
03-05-2003 11:53 AM
Re: lvm root mirror
The disk was seen when I ran the search command and is booting up now.
So, should I have to search for the boot devices each time before I give the boot command? So, I'm leaning toward an intermittent problem with my system.
Thank you,
Brian Street.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 12:08 PM
03-05-2003 12:08 PM
Re: lvm root mirror
Everything appears to be working normally. I can boot from my mirror without any errors.
Jim, I checked the files and they all contained the appropriate information entered during the procedure you gave me.
Thank you all,
Brian Street.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-05-2003 12:57 PM
03-05-2003 12:57 PM
Re: lvm root mirror
You do not need to a 'sea' everytime you boot the box.
Check the PDC and firmware on the server. If they are ok, then try booting the box couple of times to see if it boots without manual intervention. If not, it could be an intermittent problem and may have to reseat the disk.
-Sri