#1  
Old 30th July 2011, 01:48
iyeat iyeat is offline
Member
 
Join Date: Dec 2007
Posts: 43
Thanks: 4
Thanked 1 Time in 1 Post
Default Extending Ext4 LVM Partition

Greetings,

First of all, I want to preface by saying I have had very bad luck with extending linux filesystems.

My situation is this: I had a 4TB Hardware RAID5 (3x2TB) in a Fedora Box. I use this array for backups, files, music, lots of things.

Recently it started to grow low on space, so I procured a 4th 2TB drive, and added it to the Hardware RAID. No issues with that. The RAID BIOS shows the new ~6TB Capacity.

What I am having trouble doing is making Linux extend it's partition to the ~6TB size.

The RAID is device SDC1.

SDC1 is a member of the volume group vg_3ware.

I'd appreciate some help. All of the tutorials and howtos I've found seem useful, but I always get stuck because i only see the original ~4TB size in Linux, and not the new size.

Thanks!

C
Reply With Quote
Sponsored Links
  #2  
Old 30th July 2011, 12:16
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
Default

Did you check out this guide? http://www.howtoforge.com/linux_lvm
__________________
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 30th July 2011, 17:40
iyeat iyeat is offline
Member
 
Join Date: Dec 2007
Posts: 43
Thanks: 4
Thanked 1 Time in 1 Post
Default

Falko,

Thanks for the post, I appreciate the time.

I did consult the LVM guide. It's pretty comprehensive.

However, my partition table is using GPT because 6TB is too large for DOS.

Using the guide as a refernce, I was able to make the partition 6TB using parted.

Code:
[root@buster ~]# parted /dev/sdc
GNU Parted 2.3
Using /dev/sdc
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) p                                                                
Model: AMCC 9590SE-8ML DISK (scsi)
Disk /dev/sdc: 6000GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number  Start   End     Size    File system  Name     Flags
 1      17.4kB  6000GB  6000GB               primary
This is great, however using e2fsck gives an error that the device is in use:

Code:
[root@buster ~]# sudo e2fsck -f /dev/sdc1
e2fsck 1.41.12 (17-May-2010)
e2fsck: Device or resource busy while trying to open /dev/sdc1
Filesystem mounted or opened exclusively by another program?
I'm not sure if there is a trick to figuring out what is using the device, especially since it's not mounted.

Any advice is much appreciated.

Thanks!

C
Reply With Quote
  #4  
Old 31st July 2011, 12:39
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,744 Times in 2,577 Posts
 
Default

Have you tried a reboot?
__________________
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
Stuck in increasing the size of root partition by taking space from XEN LVM aligator007 Installation/Configuration 3 25th November 2010 13:08
How to Access a Second Hard Drive and the LVM partition matt_thumper Installation/Configuration 1 9th May 2010 16:47
Ubuntu 9.10 with KVM and copying KVM disk image to LVM yowzator HOWTO-Related Questions 3 8th March 2010 13:29
Can all the installation and configuration be automated (Kickstart) gabby Installation/Configuration 0 30th January 2010 19:47
LVM partition jefash Installation/Configuration 0 21st October 2005 05:03


All times are GMT +2. The time now is 21:36.


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