- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- lvnboot -v reports ??? for root and No Swap/Dump a...
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
02-05-2001 01:18 PM
02-05-2001 01:18 PM
lvnboot -v reports ??? for root and No Swap/Dump after using vgextend
We have two boot paths. 1st boot path boots to 10.20 with a mirrored disk. 2nd boot path boots to 1 disk. Older disk is 10.20. Newer is 11.0.
We are currently interrupting the boot sequence to come up on second disk. (11.0). I'm in the process of recovering the physical volume from the older boot disk. I've done the following:
1-Stop the mirroring on the old disks
lvreduce -m 0 /dev/vg00/lvol1
...
lvreduce -m 0 /dev/vg00/lvol1
2-Detach the old physical volume from /dev/vg00
vgreduce /dev/vg00 /dev/dsk/c1t5d0
3-Add the physical volume to the 11.0 boot
vgextend /dev/vgroot /dev/dsk/c1t5d0
4-Start mirroring the 11.0 system directories
lvextend -m 1 /dev/vgroot/boot /dev/dsk/c1t5d0
...
lvextend -m 1 /dev/vgroot/lvol9 /dev/dsk/c1t5d0
5-Ran lvnboot -v to check boot info and got
Root: ???
No Swap volume configured.
No Dump Volume configured.
What did I do to mess up the lvlnboot configuration?
I did notice that lvextend responded with Warning: Logical Volume Number "1073741827" found on physical volume not found in "/dev/vgroot".
This is a production server. The additional boot disk now shows up in lvlnboot. I'm now afraid the server will not boot.
Should I do lvreduce -m -0 for each mirrored logical volume, run vgreduce /dev/vgroot /dev/dsk/c1t5d0 and then start over with a pvcreate -f option? I did not use the -f when I ran vgreduce against the old boot disk.
Any help will be deeply appreciated. What makes matters worse is I don't have an attached tape drive for make_recovery tapes.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2001 10:00 PM
02-05-2001 10:00 PM
Re: lvnboot -v reports ??? for root and No Swap/Dump after using vgextend
pvcreate -B (new disk)
vgextend vg00 (new disk)
lvextend -m 1 /dev/vg00/lvol# (for all the lvols)
mkboot /dev/rdsk/special_file
mkboot -a "hpux -lq" /dev/rdsk/special_file
lvlnboot -b /dev/vg00/(your boot lvol##)
lvlnboot -r /dev/vg00/(your root lvol##)
lvlnboot -s /dev/vg00/(your swap lvol##)
lvlnboot -d /dev/vg00/(your dump lvol##)
lvlnboot -R /dev/vg00
Greetings Wim Alsemgeest
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2001 01:22 AM
02-06-2001 01:22 AM
Re: lvnboot -v reports ??? for root and No Swap/Dump after using vgextend
mkboot /dev/rdsk/special_file
mkboot -a "hpux -lq" /dev/rdsk/special_file
lvlnboot -b /dev/vg00/(your boot lvol##)
lvlnboot -r /dev/vg00/(your root lvol##)
lvlnboot -s /dev/vg00/(your swap lvol##)
lvlnboot -d /dev/vg00/(your dump lvol##)
lvlnboot -R /dev/vg00
You might want to start with 'lvrmboot -r' first so to be in a known good point.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2001 01:24 AM
02-06-2001 01:24 AM
Re: lvnboot -v reports ??? for root and No Swap/Dump after using vgextend
Do next in 3. step
pvcreate -f -B /dev/rdsk/.....
vgextend vg00 /dev/dsk/....
mkboot /dev/rdsk/....
mkboot -a "hpux -lq" /dev/rdsk/...
regards, Saa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-07-2001 07:33 AM
02-07-2001 07:33 AM
Re: lvnboot -v reports ??? for root and No Swap/Dump after using vgextend
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2001 06:21 AM
02-09-2001 06:21 AM
Re: lvnboot -v reports ??? for root and No Swap/Dump after using vgextend
# lvreduce -m 0 /dev/vgroot/lvol...
# vgreduce /dev/vgroot /dev/dsk/c1t5d0
I then did the following:
# pvcreate -fB /dev/rdsk/c1t5d0
# vgextend /dev/vgroot /dev/dsk/c1t5d0
I'm still got the message "Warning: Logical Volume number "107341827" found on physical volume not found in "/dev/vgroot".
Is this telling me that pvcreate did not properly prepare the disk? Should I be concerned?
I also have questions on the remaining steps, since the remaining steps are performed after vgextend has been used on the active production volume group.
My next steps are as follows:
# lvextend -m 1 /dev/vgroot/lvol# (for all logical vols)
mkboot /dev/rdsk/c1t5d0
mkboot -a "hpux -lq" /dev/rdsk/c1t5d0
# lvlnboot -b /dev/vgroot/c1t5d0 (boot vol)
# lvlnboot -b /dev/vgroot/boot(boot vol)
# lvlnboot -r /dev/vgroot/root (root vol)
# lvlnboot -s /dev/vgroot/swap (swap vol)
# lvlnboot -d /dev/vgroot/dump (dump vol)
# lvlnboot -R /dev/vgroot
Are these commands safe while the production volume group /dev/vgroot is currently in use? The mkboot and lvlnboot commands are performed AFTER performing the vgextend againsts the active volume group.
Do I use the "setboot -p 10/0.3.0 -a 10/0.6.0" command to tell the OS to use the new primary boot disk on autoboot? 10/0.3.0 is the primary boot disk for 11.0. 10/0.6.0 is the path for the older 10.20 primary boot disk. Neither point to the mirrors.
I will come back at a later date to see what I can do to rename the volume group from /dev/vgroot to /dev/vg00. If you can identify these steps also I would appreciate it.
Thanks... jack