Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

LVM / Partition resizing

  • 23-07-2006 01:14PM
    #1
    Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭


    General question:

    So there is no defrag utility for ext3 filesystems, but there is an option to reduce the size of a given partition. My question is this:

    Let's say part of a file is towards the end of partition a, and you reduce the partition size (to create a new partition, let's say partition b). Does that mean that the partitions are no longer contiguous on disk?

    Khannie specific bit:
    my root partition is ext3 on LVM and is 200G of a 320G disk. It will only ever use, say, 100G. I want to reduce its size to 100G, and add the remaining 220G to an existing LVM. The potential of non-contiguous disk has me concerned about performance though.


Comments

  • Registered Users, Registered Users 2 Posts: 1,421 ✭✭✭Steveire


    I wouldn't worry about it. The way the partition table is presented to you as a kind of line divided up into segments is understandable, but not accurate to how the hard disk actually works. So as far as I know, the contiguous point doesn't matter. I could be wrong though.

    I know nothing about LVM, but I reckon you should just go for it.


  • Registered Users, Registered Users 2 Posts: 37,485 ✭✭✭✭Khannie


    Steveire wrote:
    I know nothing about LVM, but I reckon you should just go for it.

    :D You're probably right.

    LVM's really just a nice wrapper around partitions.


Advertisement