- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Change minor number of vgroot
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-20-2001 04:10 PM
тАО03-20-2001 04:10 PM
Change minor number of vgroot
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2001 04:51 PM
тАО03-20-2001 04:51 PM
Re: Change minor number of vgroot
Recreating the volume group may be only option in this case.
Would like to know anyone else has second thoughts about this .
Is there any particular reason you want to change the minor number.
Karthik...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2001 09:01 PM
тАО03-20-2001 09:01 PM
Re: Change minor number of vgroot
You can lookup this link as well...
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0x27ab53921f1ad5118fef0090279cd0f9,00.html
Which indicates ...
You can export the vgroot...and then
boot the system in lvm maintenance mode and recreate the group file and import the volume .
This sounds o.k to me as exporting does not affect the physical volume it just removes the group file and entried in lvmtab .
But I am not sure if one can boot from a already exported root vg through lvm maintenance mode
Karthik...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2001 09:47 AM
тАО03-21-2001 09:47 AM
Re: Change minor number of vgroot
This is a critical system and minimum downtime is crucial. I have listed the following steps and believe I have most of it.
1. boot into lvm maintenance mode
ISL> hpux ?lm
2. Unmount all lvols on vgroot
umount lvol1(/), lvol3(/home), lvol4(/opt), lvol5(/tmp), lvol7(/var), lvol10(/usr)
3. Deactivate old volume group
vgchange ?a n /dev/vgroot
4. Remove volume group entry from /etc/lvmtab
vgexport ?m map /dev/vgroot
5. reboot here? (not sure)
6. Create new volume group
mkdir /dev/vg00
mknod /dev/vg00/group c 64 0x000000
7. Edit vg00 mapfile to change lvol10 (/usr) to lvol6 (/usr)
8. Import volume group info for all disks associated
vgimport ?m map /dev/vg00 /dev/dsk/c?t?d?
9. Activate the new volume group
vgchange ?a y /dev/vg00
10. Backup new volume group config
vgcfgbackup /dev/vg00
11. Check lvols
fsck /dev/vg00/lvol1.......lvol10
12. Mount filesystems on lvols
mount / /usr /var /tmp /opt /home (or mount ?a)
13. Define volumes
lvlnboot ?b lvol1 /dev/vg00 (/ root)
lvlnboot ?r lvol1 /dev/vg00 (/ root)
lvlnboot ?s lvsswap1 /dev/vg00 (swap1)
lvlnboot ?s lvsswap2 /dev/vg00 (swap2)
lvlnboot ?R /dev/vg00
14. rm /etc/mnttab
15. reboot
Thanks in advance for the help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-27-2001 11:21 AM
тАО03-27-2001 11:21 AM
Re: Change minor number of vgroot
To play safe, I'd try the procedure on another system.
Good luck,
Ovidiu