mkfs.ext4 command is hanging after creating a LVM volume in rhel 6.5
Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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?
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.
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.
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".
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.