- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: modifying "vg00" name
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
09-02-2002 06:23 AM
09-02-2002 06:23 AM
modifying "vg00" name
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2002 06:31 AM
09-02-2002 06:31 AM
Re: modifying "vg00" name
You need to boot to LVM Maintanance mode (hpux -lm from ISL). From there you export/import the root vg... procedure similar to this:
# vgexport -m mapfile -s vgroot
Then re-import it again:
# mkdir /dev/vg00
# mknod /dev/vg00/group c 64 0
# vgimport -m mapfile -s vg00
Just to be sure, reconfigure the label:
# vgchange -a y vg00
# lvlnboot -R vg00
Reboot.
Regards...
Dietmar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2002 06:33 AM
09-02-2002 06:33 AM
Re: modifying "vg00" name
Two possibilities:-
1). Boot in LVM maintenance mode, export vgroot, import it as vg00, update lvlnboot etc + /etc/fstab.
2). Repeat your previous exercise i.e. drop one of your vgroot mirrors, create a new vg00 on that disk, boot off that. Then subsequently, get rid of vgroot and remirror.
Regards,
John
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2002 06:51 AM
09-02-2002 06:51 AM
Re: modifying "vg00" name
FIRST, do 2, thats TWO, make_tape_recovery's !!!
Second, shutdown and boot into single user mode.
third, from (http://aa11.cjb.net/hpux_admin/2001/05/0096.html)
> vgexport to a map file (see man page)
> mkdir /dev/newVgname
> mknod /dev/newVGname/group c 64 0x.....
> vgimport -m mapfile newVGname
And /etc/fstab would need to be updated by hand.
And of course you will probably need a vgscan.
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2002 06:52 AM
09-02-2002 06:52 AM
Re: modifying "vg00" name
live free or die
harry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-02-2002 07:59 PM
09-02-2002 07:59 PM
Re: modifying "vg00" name
read $KAPS
case $KAPS in
Y)--
Boot from the disk whose VG name u need to change
Break the auto boot
go to ISL
hpux -lm
vgexport -m "map" /dev/vgroot
mkdir /dev/vg00
mknod /dev/vg00/group c 64 0x000000
vgimport -m "map" /dev/vg00 /dev/dsk/cXtXdX
lvlnboot -R
cat /etc/fstab /etc/fstab.YYMMDD.ii
cat /etc/fstab |sed s/vgroot/vg00/g > /etc/fstab.new
cp /etc/fstab.new /etc/fstab ;;
N)--
echo "Why a risk yea ?????" ;;
esac
Did i really ad somthing than others , yep i hv modified /etc/fstab which no one else had done
kaps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2002 06:14 AM
09-03-2002 06:14 AM
Re: modifying "vg00" name
This is what l think you should do.
1)take an ignite image of the old root disk to either tape or an ignite server if you have one.
2)Shutdown the server and replace the old 9GB drives with the new 36GB drive.
3)Restore your ignite image from the tape or ignite server. This install is more or less like a fresh install, and you can change the sizes o your vg00 filsystem if you like.
This is what l think will be the best thing to do.