Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

LVM / Partition resizing

  • 23-07-2006 12: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