Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    /opt filling /root under LVM -> move /opt to different logical volume?

    I installed Debian a while ago on a file and print server. I also installed a few utilities that, by default, install to the /opt drive. When one of the utilities broke, I discovered that /root was full, which makes sense because I didn't break /opt out when creating the file structure (using LVM) on installation. I'm looking for advice on the easiest way to fix this.

    Is there a way to relocate /opt on the same partition as /home, which has plenty of space? I'm looking to avoid creating a new logical volume.

    Last edited by missoulajmw; 10-10-2010 at 12:31 AM. Reason: clearer description of issue

  2. #2
    You can shut down any app that might be using /opt, move it to something like /home/opt, and then create a symbolic link from /opt => /home/opt.

Posting Permissions

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