Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-05-2009, 05:56 AM   #1
Registered: Jun 2007
Location: Australia
Distribution: Centos and Fedora
Posts: 34

Rep: Reputation: 16
How does LVM decide which Physical Volume to write data to?

I am moving data from a single drive to a new volume group called "3ware" (helps me remember which controller the drives are attached to!).

The steps I took are as follows:

1. Created a PV made of /dev/md3 (two 750GB drives in RAID1).
2. Created a PV made of /dev/md9 (two 500GB drives in RAID1).
3. Added the 750GB then the 500GB physical volumes to the new volume group (in that order).

Now when I started moving data onto the new group I can see with iostat that the data is being put onto md9. So what determines which physical volumes get the data?
Old 09-08-2009, 06:27 AM   #2
Registered: Sep 2005
Location: Birmingham / Bath Uk
Distribution: Kubuntu 8.10, Debain 4.0
Posts: 86

Rep: Reputation: 16
Good question, I'd never really thought about it before so I did a little research. Wikipedia has a decent explanation of LVM, but this website which was referenced is more definitive.

Not a direct answer to your question, but hope I've helped.


data, groups, logical, lvm, physical, volume, volumes

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems With LVM i cant create physical Volume msanguino Linux - Software 4 03-23-2009 06:12 PM
Fedora LVM volume group & Physical Volume resize problem gabeyg Fedora 1 05-14-2008 12:26 PM
LVM -creating physical volume satimis Linux - General 2 08-10-2006 02:44 AM
LVM Physical Volume Lucky_Sevin Linux - Software 2 01-10-2006 11:44 AM
want to convert LVM physical volume to ext3 or vfs nikhil_damu Fedora 2 12-15-2005 12:16 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 01:30 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration