Find the answer to your Linux question:
Results 1 to 2 of 2
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 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2010
    Posts
    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.

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

  2. #2
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,763
    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
  •