#1  
Old 19th June 2008, 15:12
adm-computers adm-computers is offline
Member
 
Join Date: Jan 2007
Posts: 32
Thanks: 1
Thanked 1 Time in 1 Post
Default LVM query

I have added a new HDD to my LVM - I'm using webmin to display system details and It's only showing 22gb when it should be showing 32Gb.

The source I used to add the new volume can from this link

http://lucaschan.com/weblog/2007/06/...-redhatcentos/

Have they missed something or does the LVM automatically increase the space when needed?
Reply With Quote
Sponsored Links
  #2  
Old 20th June 2008, 13:17
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
Default

How did you partition the new drive? One big partition, or multiple smaller ones?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 20th June 2008, 13:33
adm-computers adm-computers is offline
Member
 
Join Date: Jan 2007
Posts: 32
Thanks: 1
Thanked 1 Time in 1 Post
Default

When I setup the server I used two hard drives and allowed it to auto configure the partitions so I'd imagaine it did 2 partitions - 1 large 1 small!!

I just want to try out LVM so it's on a VM so I can rebuild it if need be

I partition the new drive with one large partition
Reply With Quote
  #4  
Old 21st June 2008, 10:12
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
Default

Quote:
Originally Posted by adm-computers View Post
When I setup the server I used two hard drives and allowed it to auto configure the partitions so I'd imagaine it did 2 partitions - 1 large 1 small!!
You can check that with
Code:
fdisk -l
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #5  
Old 24th June 2008, 18:34
adm-computers adm-computers is offline
Member
 
Join Date: Jan 2007
Posts: 32
Thanks: 1
Thanked 1 Time in 1 Post
Default

Hi Falko,

Been a bit busy at the mo but here is the output of fdisk -l

Code:
fdisk -l

Disk /dev/sda: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1          13      104391   83  Linux
/dev/sda2              14       19457   156183930   8e  Linux LVM

Disk /dev/sdb: 160.0 GB, 160041885696 bytes
255 heads, 63 sectors/track, 19457 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1   *           1       19457   156288321   8e  Linux LVM
I've removed the third drive at the mo and am gonna add it again

Last edited by adm-computers; 24th June 2008 at 19:11.
Reply With Quote
  #6  
Old 25th June 2008, 22:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,716 Times in 2,558 Posts
 
Default

Is /dev/sdb the drive that you added?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Rejected e-mail (unknown user) w/Postfix doronkeller HOWTO-Related Questions 9 27th January 2008 20:09
debian, lvm, raid, grub, custom kernel koi Installation/Configuration 4 3rd November 2007 10:39
Problems with the Virtual Users And Domains With Postfix, Courier And MySQL tutorial wwinfrey HOWTO-Related Questions 12 15th August 2006 16:38
Multiple MySQL Queries - with Postfix-mysql, courier-authmysql, maildrop-mysql... snowfly HOWTO-Related Questions 4 7th July 2006 04:19
Xen: Smp & Lvm zokahn HOWTO-Related Questions 5 27th January 2006 10:28


All times are GMT +2. The time now is 06:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.