LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-16-2014, 11:07 PM   #1
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Rep: Reputation: Disabled
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
 
Old 10-16-2014, 11:41 PM   #2
gdejonge
Member
 
Registered: Aug 2010
Location: Netherlands
Distribution: Kubuntu, Debian, Suse, Slackware
Posts: 317

Rep: Reputation: 73
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.
 
Old 10-17-2014, 01:53 AM   #3
byran cheung
Member
 
Registered: Sep 2013
Posts: 321

Original Poster
Rep: Reputation: Disabled
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

Last edited by byran cheung; 10-17-2014 at 01:59 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VG and LV volumn ust Linux - Newbie 6 07-29-2013 09:42 AM
mount volumn elainelaw Linux - Newbie 1 04-12-2010 09:02 AM
volumn control huangyongqiang Linux - Newbie 5 12-16-2007 06:41 AM
Audio Volumn in 10.1 raylhm SUSE / openSUSE 4 12-07-2006 03:29 AM
Strange sound volumn??? olnex Linux - Laptop and Netbook 2 11-09-2005 08:19 PM


All times are GMT -5. The time now is 01:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration