- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- LVM ISSUE
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
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
тАО03-20-2011 09:23 AM
тАО03-20-2011 09:23 AM
my volume group size will be 24 and logical volume group will be same 24GB.
How i will configure ?can any one tell me the solution?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 12:09 PM
тАО03-20-2011 12:09 PM
SolutionOn 11.23 > /dev/rdsk/cxtxdx
On 11.31 > /dev/rdisk/diskx
Assuming 11.31, as you have not mentioned uname -a
Let's say PV1 :-/dev/rdisk/disk1
PV2:- /dev/rdisk/disk2
PV3:- /dev/rdisk/disk3
These are random names.
Note :- execute 1)ioscan -funNC disk... These are available disks.
2)strings /etc/lvmtab... Used by LVM. Hence, find the disk in command 1 that is not_there in command 2. You can create a PV on this disk as long as it is not a DVD/CD etc...
pvcreate -f /dev/rdisk/disk1
pvcreate -f /dev/rdisk/disk2
pvcreate -f /dev/rdisk/disk3
mkdir /dev/vgexample
Execute ls -l /dev/*/group... See the_used minor numbers
Execute mknod /dev/vgexample/group c 64 0x030000.... First 2 characters for the VG... Last 4 are always 0 for the group control file.
vgcreate /dev/vgexample /dev/disk/disk1 /dev/disk/disk2 /dev/disk/disk3
This will create a pool of space of three 8GB disks as a 24GB volume group.
Now, execute lvcreate -L 240000 -n example vgexample
This creates an L.V with device files /dev/vgexample/rexample and /dev/vgexample/example.
Dont forget to assign points.
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 01:10 PM
тАО03-20-2011 01:10 PM
Re: LVM ISSUE
> How i will configure ?can any one tell me the solution?
And your profile shows "Certification: HPCSA" ?!?! That must mean something different than what I think it does.
I suggest that you read an administration guide appropriate for the release that you don' t mention as one first step in your education.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 06:28 PM
тАО03-20-2011 06:28 PM
Re: LVM ISSUE
And one thing what Ismail Azad mention in the result same thing i told?
For that reason i put in the forum.
THanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 06:36 PM
тАО03-20-2011 06:36 PM
Re: LVM ISSUE
What did they say was wrong?
What exact steps did you give as your answer?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 06:51 PM
тАО03-20-2011 06:51 PM
Re: LVM ISSUE
pvcreate -f /dev/rdisk/disk1
pvcreate -f /dev/rdisk/disk2
pvcreate -f /dev/rdisk/disk3
mkdir /dev/vg00
mknod /dev/vg00/group c 64 0*000000
vgcreate /dev/vg00 /dev/dsk/disk1 /dev/dsk/disk2 /dev/dsk/disk3
lvcreate -L size of the logical volume
make a directory
mount the directory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 06:51 PM
тАО03-20-2011 06:51 PM
Re: LVM ISSUE
You missed the part where you could have told the maximum PV allowed, PE size various other options which are general but necessary to decide a LVM configuration.
One thing where interviewer seems to be wrong is he gave very small disk size 8G, it can be tricky if he says he want a FS which is bigger than 2G, or what a file system for large file options.
You were right when you answered but still you could have added other point to impress the interviewer.
Good Luck!!
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 06:56 PM
тАО03-20-2011 06:56 PM
Re: LVM ISSUE
But i am working in L1 level in a govt organisation.How much i know i gave the answer.
He did not ask about PE and pv also.
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 10:24 PM
тАО03-20-2011 10:24 PM
Re: LVM ISSUE
> Subrata
will be 24 and logical volume group will be same 24GB.
Well if that's the way he asked the question, the terminology_is_wrong as your post mentions "logical volume group" and it's minutely possible that he wanted you to point it out.
> As per your reply I am already knowing the step. But in interview some body told that is wrong way that why i am putting in forum.not for my knowledge?
Perhaps there is more to the question you are leaving out? Probably has something to do with the planning of the size of an LV and now that single LV can only be used for one "specific" purpose unless you have F/S swap . Probably he is trying to ask you to find a fault in the design of the scenario he has mentioned and there could_be_many.
Regards
Ismail Azad
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-20-2011 11:35 PM
тАО03-20-2011 11:35 PM
Re: LVM ISSUE
the following lvm verison is coming with
hp-ux 11iv3 and u didn't ask him
what is the lvm version
then only u can anser him
because we are using in 11iv3 the following
command to create the volume group
LVM 2.x Volume Group coming with hp-ux 11iv3
# vgcreate /dev/
and LVM 1.0 Volume Group previous version
using the command
#vgcreate /dev/
thanks and regards
sajjad Sahir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2011 01:37 AM
тАО03-21-2011 01:37 AM
Re: LVM ISSUE
He asked only general lvm not in 11iv3 or 11iv2.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2011 06:05 AM
тАО03-21-2011 06:05 AM
Re: LVM ISSUE
> He asked only general lvm not in 11iv3 or 11iv2.
In my opinion, you could easily have asked the interviewer which version was the basis for the question; _OR_ you could have answered with additional comments that on 11.31, doing a 'mkdir' and 'mknod' of the VG directory and group are optional and if you elect to do it manually, the minor number changes from 64 to 128 if you specify a version 2.x volume group.
If giving too many details would be a distraction, I would at least have said something to the effect that beginning with 11.31, there are some minor differences and/or shortcuts. This gives the interviewer a chance to further probe you and should pique his/her interest in your skills.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-21-2011 09:40 AM
тАО03-21-2011 09:40 AM
Re: LVM ISSUE
Please keep in mind. Interviewer always test how confidence you have on what you know, not how much you know. If you feel your reply is right, you should have asked him I am sure with my points and tell me where if i am wrong. This will make them more interest to take you ahead.
Do not give typical answer, show your skill in giving the answer in the way.
Rgds...