- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: vgimport
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
тАО08-24-2006 11:45 PM
тАО08-24-2006 11:45 PM
I have (had) a server with 3 external disks (forming 1 VG).
The server passed away and I want to put the data on the disks. (the 3 disks are attached to the new server).
Do I use vgimport to create the VG on the new server. There is no mapfile. And do I need to vreate /dev/vg.... and the goup file first?
Regards, Alfons
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2006 11:49 PM
тАО08-24-2006 11:49 PM
SolutionWhen connected, does the external disk array show up on ioscan?
Without the mapfile, life is harder, you will not be able to preserve -n lvname information.
You should however still be able to create a directory /dev/vgsomething mknod and vgimport the disks, if they are compatible with the new OS and system.
What is the OS and version and what type of device is this? It could be relavent. More detail is better when writing such cases.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2006 11:53 PM
тАО08-24-2006 11:53 PM
Re: vgimport
The procedure to do the import is:
mkdir /dev/vg01
mknod /dev/vg01/group c 64 0x010000
vgimport /dev/vg01 /dev/dsk/c0t1d0 /dev/dsk/c0t3d0 /dev/dsk/c0t5d0
Note: the minor number (01 in 0x010000) must be unique and usually matches the vg number. Also, change the device files in the vgimport command to match yours.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2006 11:53 PM
тАО08-24-2006 11:53 PM
Re: vgimport
# mkdir /dev/vgNN
# mknod /dev/vgNN/group c 64 0xNN0000
# vgimport -v vgNN /dev/dsk/c0t0d0 /dev/dsk/c0t0d1 /dev/dsk/c0t0d2
# vgchange -a y vgNN
...Choose a value for NN that is unique and is less than your kernel 'maxvgs' parameter.
Since you don't have a mapfile, your logical volume names will default to the format "lvolN'. If you know the names you want, you can construct a map file for use with the '-m mapfile' argument to the 'vgimport'. The mapfile would simply look like:
1 mylvola
2 mylvolb
3 mylvolc
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-24-2006 11:55 PM
тАО08-24-2006 11:55 PM
Re: vgimport
The OS is 10.20 and there are 3 seagate disks, together forming a VG.
Regards, Alfons
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-25-2006 12:46 AM
тАО08-25-2006 12:46 AM
Re: vgimport
Thanks.