LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Please help with rearranging file system (https://www.linuxquestions.org/questions/linux-newbie-8/please-help-with-rearranging-file-system-4175465055/)

yaximik 06-06-2013 09:15 PM

Please help with rearranging file system
 
Hello,

Currently all my file system is in one VolGroup00, such as LogVol00 is mounted as /, LogVol01 is swap (unmounted), LogVol02 is mounted as /usr, LogVol03 is mounted as /tmp, LogVol04 as /var, and logVol05 as /home.

I used most of the available space in VolGroup00 for /home, leaving about 21GB for /tmp. Now some programs quit because there is not enough space on /tmp, even if I clean it up. So I want to add more to /tmp, but there is no more extents as all is given to /home.

I added 4 more disks, formatted them as ext3 and combined them as one VolGroup01. Now I would like to move the entire content of the LogVol05 to VolGroup01, unmount LogVol05 from /home, mount VolGroup01 as /home, clean up LogVol05 and then use the freed space to add more extents to other LogVols in VolGroup00, including increasing LogVol03 (/tmp). Can I do that and what is the safe way of doing this?

a.abdulna 06-07-2013 06:16 AM

@yaximik,

Which distro your using ? and this is LVM partitions ?

yaximik 06-07-2013 07:13 AM

RHEL58, yes this is what I see in the LVM window, that is Logical Volume Management app from Administration menu.

chrism01 06-07-2013 11:53 PM

Try lsblk or 'parted -l' on the cmd line and check to see if you have indeed used all available space & exactly where.


All times are GMT -5. The time now is 10:21 AM.