Position of the logical volume on the physical volume


 
Thread Tools Search this Thread
Operating Systems AIX Position of the logical volume on the physical volume
# 1  
Old 01-04-2013
Position of the logical volume on the physical volume

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 of that possibility ? How can we do that ( example please) ?

Thank you
# 2  
Old 01-04-2013
In smitty when you are creating a LV, you'll see:
Code:
POSITION on physical volume                         middle

You can change this to whatever you want. If you are using a SAN though, it probably won't make any difference since most modern SANs move data around as needed and spread it across multiple disks all unknown to the OS. If you are using internal physical disks, you will most likely see a difference - outer is faster than the inner because the head that reads the disk can read more on the outer edge because more disk is passed under it in a single disk rotation.
# 3  
Old 01-04-2013
the center is the fastest on a disk - obviously this works only when you don't use raid 5 or SAN - you place it while you are creating the lv - either via smitty or with -a c option

Regards
zxmaus
# 4  
Old 01-04-2013
Quote:
Originally Posted by zxmaus
the center is the fastest on a disk...
The center is fastest? Outer tracks would have more sectors so as the disk spins, the head is able to read more sectors in a single disk rotation, right?

---------- Post updated at 10:13 AM ---------- Previous update was at 10:06 AM ----------

Here is a descent animation of the head seeking data on Western Digital's website. It is advertising their "IntelliSeek", but it shows how the head reads data.
Western Digital
# 5  
Old 01-04-2013
the outer edge of the disk has a faster rotational velocity than the slower inner edge and will whip around much more quickly on the outside than in the middle. However, because not all the data on the disk will be written to the outer edge as a result of the limitations of the physical placement of the data, the fastest seek times for the hard disk heads will be in the center area of the disk, where the head is most likely to pass on average.
# 6  
Old 01-16-2013
Quote:
Originally Posted by zxmaus
the outer edge of the disk has a faster rotational velocity than the slower inner edge and will whip around much more quickly on the outside than in the middle. However, because not all the data on the disk will be written to the outer edge as a result of the limitations of the physical placement of the data, the fastest seek times for the hard disk heads will be in the center area of the disk, where the head is most likely to pass on average.

Dear my senario is that i have a rootvg mirrored with hdisk0 and hdisk1

now i can't increase the file system for any lv becouse the region in hdisk0 is diffrent of hdisk1 , is there any way to make the region of the LV in hdisk0 same as hdisk1 .
# 7  
Old 01-16-2013
Quote:
Originally Posted by thecobra151
is there any way to make the region of the LV in hdisk0 same as hdisk1 .
Yes: remove the mirror of all the LVs so that the (used space of the) VG is on one disk only. Start a "reorgvg rootvg" then to rearrange all the LVs to be contiguous again. Once this is finished remirror the LVs again using the freed disk. The LVM should make the placement identical on the disk. If you are not satisfied with the result you can also create and use map files (see the man page of "mklv") to control the process.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Red Hat

No space in volume group. How to create a file system using existing logical volume

Hello Guys, I want to create a file system dedicated for an application installation. But there is no space in volume group to create a new logical volume. There is enough space in other logical volume which is being mounted on /var. I know we can use that logical volume and create a virtual... (2 Replies)
Discussion started by: vamshigvk475
2 Replies

2. Linux

Logical Volume to physical disk mapping

When installing Linux, I choose some default setting to use all the disk space. My server has a single internal 250Gb SCSI disk. By default the install appears to have created 3 logical volumes lv_root, lv_home and lv_swap. fdisk -l shows the following lab3.nms:/dev>fdisk -l Disk... (2 Replies)
Discussion started by: jimthompson
2 Replies

3. UNIX for Dummies Questions & Answers

How to create a volume group, logical volume group and file system?

hi, I want to create a volume group of 200 GB and then create different file systems on that. please help me out. Its becomes confusing when the PP calculating PP. I don't understand this concept. (2 Replies)
Discussion started by: kamaldev
2 Replies

4. UNIX for Dummies Questions & Answers

Confusion Regarding Physical Volume,Volume Group,Logical Volume,Physical partition

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)
Discussion started by: kashifsd17
6 Replies

5. AIX

Logical volume name conflict in two volume group

Hello, I am a french computer technician, and i speak English just a little. On Aix 5.3, I encounter a name conflict logical volume on two volume group. The first volume lvnode01 is OK in rootvg and mounted. It is also consistent in the ODM root # lsvg -l rootvg |grep lvnode01 ... (10 Replies)
Discussion started by: dantares
10 Replies

6. HP-UX

Unmount and remove all Logical vol.Volume group and physical disk

Hi, Someone please help me with how i can unmount and remove all the files systems from a cluster. This is being shared by two servers that are active_standby. (3 Replies)
Discussion started by: joeli
3 Replies

7. AIX

Basic Filesystem / Physical Volume / Logical Volume Check

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)
Discussion started by: chipahoys
1 Replies

8. AIX

Moving a Logical Volume from one Volume Group to Another

Does anyone have any simple methods for moving a current logical volume from one volume group to another? I do not wish to move the data from one physical volume to another. Basically, I want to "relink" the logical volume to exist in a different volume group. Any ideas? (2 Replies)
Discussion started by: krisw
2 Replies

9. UNIX for Advanced & Expert Users

LVM - Extending Logical Volume within Volume Group

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)
Discussion started by: ghimanshu
3 Replies

10. UNIX for Dummies Questions & Answers

Physical volume- no free physical partitions

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)
Discussion started by: markper
9 Replies
Login or Register to Ask a Question