- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Remove unwanted boot disk
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
Discussions
Discussions
Forums
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
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-27-2003 03:23 PM
тАО03-27-2003 03:23 PM
Remove unwanted boot disk
My issue is I have an extra disk marked as a Boot Disk when I do lvlnboot -v and this disk c0t5d0 should not be a boot disk. I tested my Primary and Alternate and they work fine. How can I remove the mark "Boot Disk" from this disk
lvlnboot -v
Physical Volumes belonging in Root Volume Group:
/dev/dsk/c4t6d0 (1/0/0/3/0.6.0) -- Boot Disk
/dev/dsk/c7t6d0 (1/0/1/0/0/1/1.6.0)
/dev/dsk/c0t6d0 (0/0/0/3/0.6.0) -- Boot Disk
/dev/dsk/c0t5d0 (0/0/0/3/0.5.0) -- Boot Disk
Boot: lvol1 on: /dev/dsk/c4t6d0
/dev/dsk/c0t6d0
Root: lvol3 on: /dev/dsk/c4t6d0
/dev/dsk/c0t6d0
Swap: lvol2 on: /dev/dsk/c4t6d0
/dev/dsk/c0t6d0
Dump: lvol2 on: /dev/dsk/c4t6d0, 0
Dump: lvol9 on: /dev/dsk/c7t6d0, 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2003 03:44 PM
тАО03-27-2003 03:44 PM
Re: Remove unwanted boot disk
# pvcreate -f /dev/rdsk/c0t5d0
Be VERY sure that c0t5d0 is not used before you run pvcreate on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2003 03:48 PM
тАО03-27-2003 03:48 PM
Re: Remove unwanted boot disk
# pvdisplay -v /dev/dsk/c0t5d0
This will display any logical volume information if there is any. As long as there is none, then the disk can have be blurbed and re-used. If there is these logical volumes should be removed nicely, otherwise, your LVM will not not like it.
# pvcreate -f /dev/dsk/c0t5d0
will flatten the disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2003 03:53 PM
тАО03-27-2003 03:53 PM
Re: Remove unwanted boot disk
Is there a reverse command for mkboot ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2003 03:55 PM
тАО03-27-2003 03:55 PM
Re: Remove unwanted boot disk
In your case, when you did a 'pvcreate -B' on the disk initially while adding the disk into the volume group, it got recognized as the boot disk.
You can probably do a selective dd and erase the boot area but I would not suggest it.
I would say to move the logical volumes out of it to other disks in the same VG, take it out of vg00, do a "pvcreate -f" and then vgextend it back to vg00. This is a safe procedure.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2003 02:57 AM
тАО03-28-2003 02:57 AM
Re: Remove unwanted boot disk
Yes, rmboot(1M), see the mkboot(1M) manual page "man mkboot" or "man rmboot"):
> NAME
> mkboot, rmboot - install, update or remove boot programs from disk
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-28-2003 07:37 AM
тАО03-28-2003 07:37 AM
Re: Remove unwanted boot disk
Then lvremove the mirror copy thats on that disk.
Then pvceate -f
Then lvextend -m 1 /vg00/lvol2 /dev/dsk/c0t5d0
Repeat for anyting else mirrored.
Then you're done.
It can all be done by day, no system down time required at all.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com