- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- vgimport failing..
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
тАО11-20-2008 12:58 PM
тАО11-20-2008 12:58 PM
i have 2 nodes..
out of whichi just extended an vg for one of my package...
its running fine on primary package..
but wen i take an vgexport of it n do vgimport on sec node..
its failing giving ..
vgchange: Volume group "/dev/vg_spcb_bancs_dbday" does not exist in the "/etc/lvmtab" file.
ERROR: Function activate_volume_group
ERROR: Failed to activate vg_spcb_bancs_dbday
kindly guide me...
on 1st node...
vgexport -p -v -s -m /tmp/vg_spcb.map vg_spcb_bancs_dbday
the followng command i use on 2nd node...
vgimport -p -v -s -m /tmp/vg_spcb.map vg_spcb_bancs_dbday /dev/dsk/c1t0d7 /dev/dsk/c3t0d7 /dev/dsk/c5t0d7 /dev/dsk/c7t0d7 /dev/dsk/c11t2d0 /dev/dsk/c13t2d0 /dev/dsk/c15t2d0 /dev/dsk/c17t2d0
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2008 01:01 PM
тАО11-20-2008 01:01 PM
Re: vgimport failing..
i used the follwng steps to increase my vg and lv..
create vdisk of 10 gb
pvcreate
vgchange -a e
vgextend /dev/vg_spcb_bancs_dbday /dev/dsk/c11t2d0 /dev/dsk/c13t2d0 /dev/dsk/c15t2d0 /dev/dsk/c17t2d0
lvextend -L 40890 vgname...
extendfs -F vxfs vggname/rlvol1
vgchange -a n
vgchange -c y
its running fine on primary node but not on 2ndary node..
strings /etc/lvmtab shows nthg...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2008 01:11 PM
тАО11-20-2008 01:11 PM
Re: vgimport failing..
ur command is wrong on 2nd server
it should be the follwing (assuming u have copied the map file to the 2nd node)
1. mkdir /dev/vg_spcb_bancs_dbday
2. mknod /dev/vg_spcb_bancs_dbday/group c 64 0xNN0000
3. vgimport -v -s -m /tmp/vg_spcb.map /dev/vg_spcb_bancs_dbday
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2008 01:21 PM
тАО11-20-2008 01:21 PM
Re: vgimport failing..
i have tried dat also ...
it gives me d following..
root #/ >vgimport -p -v -s -m /tmp/vg_spcb.map /dev/vg_spcb_bancs_dbday /dev/dsk/c1t0d7 /dev/dsk/.....>
Beginning the import process on Volume Group "/dev/vg_spcb_bancs_dbday".
Logical volume "/dev/vg_spcb_bancs_dbday/lvol1" has been successfully created
with lv number 1.
Volume group "/dev/vg_spcb_bancs_dbday" has been successfully created.
root #/ >strings /etc/lvmtab|grep spcb
/dev/vg_spcb_bancs_appl
/dev/vg_spcb_bancs_dbnight
/dev/vg_spcb_prod_fone
/dev/vg_spcb_bancs_appl_new
its nt shwng me the dev/vg_spcb_bancs_dbday in /etc/lvmtab...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2008 01:26 PM
тАО11-20-2008 01:26 PM
SolutionPlease see the command I have shown carefully
Please do not use -p while importing
-p is for preview - it will only show you steps that will be carried out - but will not actually carryout the steps.
Try without the -p option - as I have shown and thren check.
Regards,
Ninad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-20-2008 01:31 PM
тАО11-20-2008 01:31 PM
Re: vgimport failing..
:) points given..