- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Bootable Disk or Not????
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
06-13-2003 10:07 AM
06-13-2003 10:07 AM
Can someone please tell me how to find out a disk is a bootable disk or not?
lvlnboot -v command will tell us which disks are bootable, but I would like to know if there is any other command?
Thanks.
Regards,
Nikee
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 10:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 10:12 AM
06-13-2003 10:12 AM
Re: Bootable Disk or Not????
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 10:12 AM
06-13-2003 10:12 AM
Re: Bootable Disk or Not????
I guess you could do a lifls on the disk to see if it has a LIF area and the contents if it does, but I'm not sure if that would really tell you if it is a valid bootable disk.
lifls -l /dev/rdsk/c0t0d0
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 10:13 AM
06-13-2003 10:13 AM
Re: Bootable Disk or Not????
# setboot
Primary bootpath : 0/0/1/1.2.0
Alternate bootpath : 0/0/2/0.2.0
Autoboot is ON (enabled)
Autosearch is ON (enabled)
# echo "boot_string/S" | adb -k /stand/vmunix /dev/kmem
boot_string:
boot_string: disk(0/0/1/1.2.0.0.0.0.0;0)/stand/vmunix
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 10:14 AM
06-13-2003 10:14 AM
Re: Bootable Disk or Not????
Apart from lvlnboot, you have two commands lifls and lifcp to find out the LIF information.
lifls /dev/dsk/c1t6d0
Should print out the contents of the LIF area.
lifcp /dev/dsk/c1t6d0:AUTO -
Should print the auto string. In a mirror environment it is usually set to "hpux -lq(;0)/stand/vmunix".
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 10:20 AM
06-13-2003 10:20 AM
Re: Bootable Disk or Not????
Thanks for the answers.
How about if I create a physical disk using the following command:
#pvcreate -B /dev/rdsk/c4t4d0
Is there any way that I can find out that the disk c4t4d0 has been created using "-B" option???
Thanks.
Best regards,
Nikee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 10:23 AM
06-13-2003 10:23 AM
Re: Bootable Disk or Not????
command output.
Example
[1811]# lvlnboot -v
Boot Definitions for Volume Group /dev/vg00:
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c1t2d0 (0/0/1/1.2.0) -- Boot Disk
/dev/dsk/c6t8d0 (0/4/0/0.8.0.255.6.8.0)
/dev/dsk/c2t2d0 (0/0/2/0.2.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Root: lvol3 on: /dev/dsk/c1t2d0
/dev/dsk/c2t2d0
Swap: lvol2 on: /dev/dsk/c1t2d0
Dump: lvol2 on: /dev/dsk/c1t2d0, 0
Notice the two boot disks.
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 10:26 AM
06-13-2003 10:26 AM
Re: Bootable Disk or Not????
Lvlnboot -v command will not show until you add the disk to the volume group vg00.
Thanks,
Nikee
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 10:31 AM
06-13-2003 10:31 AM
Re: Bootable Disk or Not????
Here goes:
pvcreate -B /dev/rdsk/c1t0t0
mkboot /dev/rdsk/c1t0d0
mkboot -a "hpux -lq (;0)/stand/vmunix" /dev/rdsk/c1t0d0
vgextend /dev/vg00 /dev/dsk/c1t0d0
lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c1t0d0
repeat for relavent lv's
lvlnboot -r /dev/vg00/vol3
lvlnboot -d /dev/vg00/lvol2
lvlnboot -b/dev/vg00/lvol1
lvlnboot -R
lvnboot -v
setboot
settboot -a 52.1.0 (adjust for reality)
As I said, if you did the entire procedure right, INCLUDING extending the volume group lvlnboot -r will show you if everything is right.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 10:40 AM
06-13-2003 10:40 AM
Re: Bootable Disk or Not????
With regard to your last question, "Is there any way that I can find out that the disk c4t4d0 has been created using "-B" option???":
I seem to recall that if you do not 'pvcreate -B' then when you proceed to apply the 'mkboot' sequences to deposit the LIF, 'mkboot' "complains" of insufficient space. This is because the '-B' option of 'pvcreate' organizes a LVM header differently for a boot disk than for a non-boot disk.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2003 10:54 AM
06-13-2003 10:54 AM
Re: Bootable Disk or Not????
This will not necessarily tell you whether or not the disk it bootable, but it is another clue.