- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Map File
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
02-06-2003 06:40 AM
02-06-2003 06:40 AM
I have a hard disk on ServerA configured with VG02.I take the Hard disk to serverB and Detect teh Hardisk, Without Doing a vgexport (To Create a map).
Just Coz I didnt have the Map file. I created a file with these entries in it.
"1. LVOL1
2. LVOL2
3. lvol3"
Now when I import the VG giving teh refernce of this file as MAP file. Iwas able to import the VG and Access the File.....
IS THIS ACTUALLY POSSIBLE... if Yes then Is it not a security Threat on my data.
I always though If the VG ID is not correct in the map file and the Lvol names not correct in it.. It would not import...
But strangly with a ffalse map file which I created it. WORKED..
Could any one reason this please
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 06:43 AM
02-06-2003 06:43 AM
Re: Map File
If this
option is not specified, logical volume names are
created using the default naming convention lvolnn
where nn is the logical volume minor number.
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 06:48 AM
02-06-2003 06:48 AM
Solution1) vgscan
2) mkdir /dev/vgXX
3) mknod /dev/vgxx/group c 64 0x0?0000
4) vgimport /dev/vgxx /dev/dsk/cxtycz (disk's device file)
5) vgchange -a y /dev/vgxx
6) vgdisplay -v /dev/vgxx
7) mkdir /test_fs
8) mount lv_name /test_fs (mount all file systems).
This way will be easy, supported and accurate. You don't need to worry about security. In your case, the vgimport worked just because it found the LVs as exactly specified in your map file. The VGID DOES matters, when you have multiple disks on the same VG (the VG which you are imporitng).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 06:53 AM
02-06-2003 06:53 AM
Re: Map File
Y i was worried is some one can easily plug my HDD and Use it and replace it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 06:57 AM
02-06-2003 06:57 AM
Re: Map File
Yes it is actually possible. Which way are you thinking it is a security threat?.
VGID will be in there only if you run vgexport with -s option. Without -s option, the map file will always be like you created. There were instances where I created map files with VGID by getting it from one of the disks.
As long as you didn't customize your logical volumes, you can create your own map files though it is not suggested. Instead of the default names if you created them with meaningful names, then you need to know the mapping of the sequence to the names.
I would not suggest creating map files manually as missing or adding extra lines may cause errors. You can simply import a volume group even without a map file by specifying the disk.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 06:57 AM
02-06-2003 06:57 AM
Re: Map File
vgimport assumes that the volume group information has already been created on the physical volumes.
when the mapfile is not specified, logical volume names are created using the default naming convention lvolnn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 06:58 AM
02-06-2003 06:58 AM
Re: Map File
Well man vgimport says,
-m mapfile
Specify the name of the file from which logical volume names and numbers are to be read.This option is optional when used as in the first
command line format of the SYNOPSIS.If this option is not specified, logical volume names are created using the default naming convention lvolnn where nn is the logical volume minor number.
Robert-Jan.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 07:01 AM
02-06-2003 07:01 AM
Re: Map File
Thanx for the Prompt Reply.
Definetly it made my concept verry clear.
Raghu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2003 07:04 AM
02-06-2003 07:04 AM
Re: Map File
# man vgimport
Also about the security, it's your duty to have your data (disks) to be kept in a secure location from un authorized physical access.