Find the answer to your Linux question:
Results 1 to 4 of 4
Hi all, I have created a volume and everything seems to work fine but when I check iostat it only seems to write to one phisical volume(sdc1) and not the ...
  1. #1
    Just Joined!
    Join Date
    Sep 2011
    Posts
    2

    how does LVM write to disks

    Hi all,

    I have created a volume and everything seems to work fine but when I check iostat it only seems to write to one phisical volume(sdc1) and not the sdd1 disk is this normal?

    sdc1 349.47 152.87 29442.74 353763611 68132746597
    sdd1 0.01 0.05 0.00 123500 56

    Regards,

    Jorzz

  2. #2
    Linux User
    Join Date
    Jan 2005
    Location
    Saint Paul, MN
    Posts
    262
    It depends on if the volume is stripped or not.

    If it is stripped, the data is run from sdc then to sdd and then back to sdc and etc.

    If it is not stripped, then the data has to fill sdc before moving to sdd.

  3. #3
    Just Joined!
    Join Date
    Sep 2011
    Posts
    19
    LVM also provides mirroring options, so you could mirror between the two disks if you prefer. If you are going to stripe, see the -i and -I options and changing your stripe for optimal performance for your disk array. Test with stripe sizes between 32K through 512 K. in powers of two.

    --Eric

  4. #4
    Just Joined!
    Join Date
    Sep 2011
    Posts
    2
    thank you alf55 and linux security!!!

    much appreciated

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...