Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • Thanks for your thoughts. Why would i need Space at the beginning of the disk? Is there any need to have the new partition at the beginning? Why wouldnt it be possible to put the partition for /var/www after /home? Also, how should i resize the partition - do i have to fail/remove the partition from the traid first, resize it, put it back in?
    – damaltor
    Commented Jun 21, 2018 at 11:37
  • "the beginning of the disk" was badly worded - ignoring abstraction layers like LVM you can only extend partitions by adding to the end of the partition because - I believe - all major file systems have something akin to an index (which lists filenames and positions ) at the beginning of the partition. If you expad a partition at the beginning that index is suddenly in the wrong place.
    – davidgo
    Commented Jun 21, 2018 at 20:04
  • The order of mounting /var/www and /home is irrelevant - my solution was designed to free space at the correct place on disk.
    – davidgo
    Commented Jun 21, 2018 at 20:06
  • well, i wanted to shrink the partition, so it is probably fine. thanks anyways, you helped me out a bunch.
    – damaltor
    Commented Jun 21, 2018 at 20:06