It looks like you already created the physical volumes. What does pvs display?
It's not totally clear what you are asking, but if I understand, you want to "combine" the disks /dev/sdb and /dev/sdc. You can do this in as much as adding them to the same volume group.
You can then create three logical volumes, one each for /u01, /u02 and /u03
i.e.
Then you can create the filesystem using the LV's.
(far from optimal, but quick for me to show...)
[code]
THanks for reply.
I f I want part of the physical disk to have 2 volumes.
example: /dev/sdb device will have /dev/sdb1 and dev/sdb2
Now what I am doing is first assigning u02 (/dev/sdb1) with 60G and whatever is remaining to u01(/sdb/u02)... I got error after doing below steps while creating u01. The error is after the procedure mentioned bellow
what have I done wrong.
Last edited by Scott; 11-07-2012 at 02:49 PM..
Reason: Code tags
I don't see the point, really, in partitioning a physical volume in this way. You either use LVM or you don't. I also don't remember the last time I used fdisk since using LVM!
Why not just give sdb over to the logical volume manager and create logical volumes for u01, u02 and u03? That's what LVM is for. fdisk is, IMO, archaic and past its time.
Now I need to shut down my VM, add a disk and try to remember how to use fdisk!. BRB
That's not really what you asked, but it was useful for me
It looks to me like your sdb1 is using up the whole disk. That doesn't help you if you want sdb1 to be 110GB and sdb2 60GB. If sdb1 is using all the space, you can't create an sdb2 on that disk.
You never said what pvs showed. And while you're there, what does lvmdiskscan show? It's only for information, nothing else.
I would suggest, if you know that sdb1 is not being used, you remove it and repartition the disk with the sizes you want.
Over that, I would recommend this:
Remove "sdb1" using "fdisk" - actually I would remove the PV and rescan
Create a volume group called "oraclevg", or whatever it's for, using both sdb, and another for sdc - i.e. let LVM handle it.
Create logical volumes for u02 as 60 GB as whatever is left (100%FREE) from sdb
I want to start by saying I already resolved my issue but I want to understand why I am seeing what I am seeing.
I have a server with a RAID controller two 500GB drives and six 600GB drives. The two 500GB drives are mirrored and have the OS installed on them. The six 600GB they wanted set as... (4 Replies)
Hello everyone,
I just read that while creating a logical volume(LV) we can choose the region of the physical volume (PV) in which the LV should be created.
When I say region I mean: outer edge - outer middle - center - inner middle and inner edge.
Can anyone help me understand the utility... (11 Replies)
Hi,
I am new to unix. I am working on Red Hat Linux and side by side on AIX also. After reading the concepts of Storage, I am now really confused regarding the terminologies
1)Physical Volume
2)Volume Group
3)Logical Volume
4)Physical Partition
Please help me to understand these concepts. (6 Replies)
This is the report I got running the comand rptconf, but I would like to know what is the capacity of the disks installed into our server power 6 with AIX
System Model: IBM,7778-23X
Machine Serial Number: 1066D5A
Processor Type: PowerPC_POWER6
Processor Implementation Mode: POWER 6... (6 Replies)
:eek:
Hi guys,
I'm pulling my hair out over this one. I am trying to set up a virtual server environment. ( I am using VirtualBox, but I think this is irrelevant to this problem.) I have downloaded a pre-packaged Linux virtual disk, with which I have successfully started a virtual instance of a... (4 Replies)
Hi!
Can anyone help me on how I can do a basic check on the Unix filesystems / physical volumes and logical volumes?
What items should I check, like where do I look at in smit? Or are there commands that I should execute?
I need to do this as I was informed by IBM that there seems to be... (1 Reply)
Hello,
I have logical volume group of 50GB, in which I have 2 logical volumes, LogVol01 and LogVol02, both are of 10GB.
If I extend LogVol01 further by 10GB, then it keeps the extended copy after logical volume 2. I want to know where it keeps this information
Regards
Himanshu (3 Replies)
Hello All,
I Am A New Member To This Group.
I Want To Know How Can We Create Single Volume Group Using 2 Hard Disks.
As We Require More Data To Be Stored We Need To Add A Hard Disk,but I Have A Doubt Whether We Can Increase The Size Of A Logical Volume Mounted On A Volume Group By Adding A... (5 Replies)
I was in smit, checking on disc space, etc. and it appears that one of our physical volumes that is part of a large volume group, has no free physical partitions. The server is running AIX 5.1. What would be the advisable step to take in this instance? (9 Replies)
Hello,
I need explanations about physical disks and physical volumes. What is the difference between these 2 things?
In fact, i am trying to understand what the AIX lspv2command does.
Thank you in advance. (2 Replies)