- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Increase lvol size and add disk in a vg on mc/sg
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
03-15-2002 12:17 PM
03-15-2002 12:17 PM
Increase lvol size and add disk in a vg on mc/sg
Hello everybody...I need add some disk in a vg and increase lvol size in same vg. This vg exist in a node of a cluster with 2 risc.
After lvm commands, what I need do to export the lvm configuration to other node of cluster???
Sorry for my poor english
Thanks,
Val
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 12:20 PM
03-15-2002 12:20 PM
Re: Increase lvol size and add disk in a vg on mc/sg
On the first node with the vg:
vgexport -p -s -m /tmp/vg##.map vg##
ftp or rcp the map file over to the other node.
On the other node:
vgexport vg##
mkdir /dev/vg##
mknod /dev/vg##/group c 64 0x##0000
vgimport -s -m /tmp/vg##.map vg##
Hope this helps
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 12:27 PM
03-15-2002 12:27 PM
Re: Increase lvol size and add disk in a vg on mc/sg
On NodeA
pvcreate /dev/rdsk/cXtYdZ (disk you want to add)
vgextend /dev/vgshared /dev/dsk/cXtYdZ
vgexport -v -p -s -m /tmp/vgshared.map /dev/vgshared
copy the map file to node B
(rcp /tmp/vgshared.map nodeB:/tmp)
on Node B
ll /dev/vgshared/group
vgexport /dev/vgshared
mkdir /dev/vgshared
mknod /dev/vgshared/group c 0x??0000
(here ?? is the number you obtained from above ll command)
vgimport -v -s -m /tmp/vgshared.map /dev/vgshared
This is one of the easier ways.
Thanks,
-Piyush.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 12:50 PM
03-15-2002 12:50 PM
Re: Increase lvol size and add disk in a vg on mc/sg
Have another way to do this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 01:05 PM
03-15-2002 01:05 PM
Re: Increase lvol size and add disk in a vg on mc/sg
If you are referring to the export/import, that is what the -s option is for:
the -s option for vgexport saves the vgid of the shared vg you are exporting
the -s option in vgimport scans the shared disks looking for the matching vgid and imports them into /etc/lvmtab. The -s option is designed for vgs with lots of disks. This doesn't take much time.
On the other hand, if you are referring to the increasing of lvols and adding disks, you are most likely going to have to do them one ata time, then do your export/import.
Hope this helps
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 06:19 PM
03-15-2002 06:19 PM
Re: Increase lvol size and add disk in a vg on mc/sg
Take a look at the thread below,
http://us-support.external.hp.com/cki/bin/doc.pl/sid=b80ff1d50c7a23aa5c/screen=ckiDisplayDocument?docId=200000058937871
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2002 06:50 PM
03-15-2002 06:50 PM
Re: Increase lvol size and add disk in a vg on mc/sg
Don't forget to stop the package on the node your adding disks to BEFORE you begin adding disks.
You must:
cmhaltpkg
vgchange -c n /dev/
vgchange -a y /dev/
- Now do your lvm commands -
- Double check your work -
- vgexport -
- If you added new lvol or vg; remember to edit your pkg control script and also copy it to the other nodes -
- Now put pkg back in SG control -
vgchange -a n /dev/
vgchange -c y /dev/
cmrunpkg
On other nodes:
Run the commands the others mentioned (vgexport, mknod, vgimport)
Hope this helps a little too,
Rita