LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 02-17-2014, 04:22 AM   #1
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Rep: Reputation: 34
mkfs.ext4 command is hanging after creating a LVM volume in rhel 6.5


HI,

mkfs.ext4 command is hanging after creating a LVM volume in rhel 6.5 but works fine in rhel 5.6.

Also getting messagees as "hung_task_timout_secs" for mkfs.ext4 on another console & the system hangs soon after these messages and had to be rebooted. This issue is accuring
repetatively only in rhel 6.5

Appreciate for any early response.
 
Old 02-17-2014, 04:32 AM   #2
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
Other filesystem formats in redhat

Hi,

Is there any other filesystem format utilities other then mkfs for ext4 which is inbuid in redhat
 
Old 02-17-2014, 05:18 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,533

Rep: Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041Reputation: 2041
Code:
cat /proc/filesystems
More than you ever imagined ...

EDIT: might have misread that - try typing mkfs then hit the <tab> key twice in quick succession.

Last edited by syg00; 02-17-2014 at 05:20 AM.
 
Old 02-17-2014, 05:22 AM   #4
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,189

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
every filesystem has only one (dedicated) mkfs utility. but you can use external tools like easeus partition manager to create filesystems. Why do you need another one?
 
1 members found this post helpful.
Old 02-17-2014, 05:22 AM   #5
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
No, I mean by other linux format tools other then mkfs.
 
Old 02-17-2014, 05:24 AM   #6
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
Actually I am having issue with mkfs so I want to use other filesystem tools.
 
Old 02-17-2014, 07:04 AM   #7
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,189

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
http://www.linuxquestions.org/questi...-a-4175495195/
 
1 members found this post helpful.
Old 02-17-2014, 07:05 AM   #8
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 9,189

Rep: Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673Reputation: 2673
you would need to present all the steps you have made. Also you can request official support from redhat.
 
1 members found this post helpful.
Old 02-17-2014, 07:10 AM   #9
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
Both request are different, please dont relate with one another.
 
Old 02-17-2014, 07:21 AM   #10
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,688

Rep: Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259
Quote:
Originally Posted by smilemukul View Post
Actually I am having issue with mkfs so I want to use other filesystem tools.
mkfs itself isn't a filesystem tool. All it does is route to the specific tool for the given filesystem. Most of them are mkfs.<filesystem name> due to the history of filesystems.

You haven't said what your issue with mkfs is, so nobody can help.
 
Old 02-17-2014, 08:46 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,716

Rep: Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751Reputation: 1751
http://www.linuxquestions.org/questi...-a-4175495195/
 
Old 02-17-2014, 11:37 AM   #12
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,688

Rep: Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259
mkfs.ext4 doesn't create a LVM.

for mkfs to hang means the underlying partition is bad (actually, the LVM is not responding).

During the filesystem creation, mkfs initializes the journal, inode list, superblocks, alternate/backup superblocks, allocation bitmaps... If one of these writes hangs/fails... the underlying partition has failed.

So this is a LVM problem.

Last edited by jpollard; 02-17-2014 at 11:38 AM.
 
Old 02-17-2014, 11:13 PM   #13
smilemukul
Member
 
Registered: Jun 2009
Distribution: Redhat,CentOS,Ubuntu,Puppet
Posts: 292

Original Poster
Rep: Reputation: 34
Thanks but I am able to make a fresh installation of RHEL 5.6 and format the partition with ext4 but this is failing in RHEL 6.5 installation with the same underlying hardware where the command is hanging on "writing superblocks and filesystem accounting information".
 
Old 02-18-2014, 06:54 AM   #14
jpollard
Senior Member
 
Registered: Dec 2012
Location: Washington DC area
Distribution: Fedora, CentOS, Slackware
Posts: 4,688

Rep: Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259Reputation: 1259
That still doesn't prevent it from being an LVM problem.

Did you recreate the LVM using 6.5?
 
  


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
recovering a 'ntfs' partition which got ruined by mkfs.ext4 command jagsir Linux - General 6 09-19-2010 07:53 AM
How to change the LVM logical volume owner in RHEL 5.3 srithi Linux - Newbie 3 12-31-2009 12:34 PM
can we use partition type 83 for creating a lvm volume. mayrus9 Red Hat 2 10-20-2009 12:13 AM
Creating an LVM Volume Group with a mounted ext3 partition alexpacio Linux - Software 1 11-09-2008 02:44 PM
LVM -creating physical volume satimis Linux - General 2 08-10-2006 01:44 AM


All times are GMT -5. The time now is 02:15 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration