LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   question about volumn group (https://www.linuxquestions.org/questions/linux-newbie-8/question-about-volumn-group-4175522384/)

byran cheung 10-16-2014 10:07 PM

question about volumn group
 
Hi ,

I am not understand the LV and VG structure and how to change the volumn size , the below is existing setting .

the / directory only have 1.5G available , if I want to increase the size , what can I do ?




/dev/sda3 10% /
/dev/mapper/VG00-LV02
52% /home
/dev/mapper/VG00-LV01
21% /var
/dev/mapper/VG00-LV00
19% /opt
/dev/mapper/VG00-LV03
2% /tmp
/dev/mapper/VG01-LV00
13% /users

gdejonge 10-16-2014 10:41 PM

Hi,

Quote:

/dev/sda3 10% /
According to your output the root directory is not part of your volume group but is a primary partition on your disk.
The only way to extend this, is when there is still unallocated space after this partition.
You can check this with the normal partition tools like fdisk.

NB: If you going to change partitions, always make sure you have a recent and valid backup.

Cheers.

byran cheung 10-17-2014 12:53 AM

my fdisk -l is as below ,

is that mean sda3 is allocated by VG , no free space now ?

Device Boot Start End Blocks Id System
/dev/sda1 * 1 51 409626 83 Linux
/dev/sda2 52 1303 10056690 83 Linux
/dev/sda3 1304 2610 10498477+ 8e Linux LVM

df -l
======
Filesystem 1K-blocks Mounted on
/dev/sda2 9741532 /
/dev/mapper/VG00-LV00
6094400 /var
/dev/mapper/VG00-LV02
2031440 /tmp
/dev/mapper/VG00-LV01
2031440 /home
/dev/sda1 396623 /boot
tmpfs 1029408 /dev/shm


All times are GMT -5. The time now is 11:37 AM.