LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices

Reply
 
Search this Thread
Old 09-05-2009, 04:56 AM   #1
oli
Member
 
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, 05:27 AM   #2
gothicbob
Member
 
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.

http://sunoano.name/ws/public_xhtml/lvm.html

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


Reply

Tags
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 05:12 PM
Fedora LVM volume group & Physical Volume resize problem gabeyg Fedora 1 05-14-2008 11:26 AM
LVM -creating physical volume satimis Linux - General 2 08-10-2006 01:44 AM
LVM Physical Volume Lucky_Sevin Linux - Software 2 01-10-2006 10:44 AM
want to convert LVM physical volume to ext3 or vfs nikhil_damu Fedora 2 12-14-2005 11:16 PM


All times are GMT -5. The time now is 03:10 AM.

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