LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 06-07-2012, 10:58 PM   #1
crazyeva
LQ Newbie
 
Registered: Jun 2012
Posts: 1

Rep: Reputation: Disabled
Question about disk partion with ext4 tool ?


Hello,everyone
I've downloaded e4fsprogs-1.41.12-2 for RHEL5 tool to manage my disk
I created a LV of size 15TB which is now in use
Then I need to enlarge it, so I used lvextend command to add 5TB to it.
When I use resize4fs to resize the partion, error appeared:

[root@localhost ~]# resize4fs /dev/VolGroup01/LogVol02
resize4fs 1.41.12 (17-May-2010)
resize4fs: File too large while trying to determine filesystem size

Now I find the LV size is 20TB, but available size is still 15TB:
--- Logical volume ---
LV Name /dev/VolGroup01/LogVol02
VG Name VolGroup01
LV UUID 4yOAKc-keY7-j9qn-Sap1-V4Td-sXMH-Zn7Kmd
LV Write Access read/write
LV Status available
# open 1
LV Size 19.99 TB
Current LE 5240420
Segments 10
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:2

/dev/mapper/VolGroup01-LogVol02
15T 14T 323G 98% /storage

I tryed e4fsck, it does not work. I dont know what to do now, can I enlarge my lv efficiently or do I have to roll back it? and how to do that without risking the data in the partion?
Is there anyone can help me?

thank you!
 
Old 06-07-2012, 11:22 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,120

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
I'd never heard of the e4... tools. The wiki indicates there are minimum levelset requirements.
Which RHEL (specifically), which kernel ?. And why didn't you just use "yum install" ?.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
migrated from ext3-disk to a ext4 disk - now linux wont boot zilogZ80 Linux - Newbie 4 02-05-2010 03:19 AM
Disk Partion msteiner Linux - Newbie 2 05-09-2007 12:01 PM
Help!!! Disk Partion Repost! GLDarkKnight Linux - Newbie 3 10-06-2005 04:01 PM
Hopfuly right part (Disk Partion) GLDarkKnight Linux - Software 2 10-06-2005 02:11 PM
Cannot partion linux disk chuchaz Linux - Software 3 06-15-2005 09:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:55 PM.

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
Open Source Consulting | Domain Registration