LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 08-17-2011, 03:53 PM   #1
sang_froid
Member
 
Registered: Oct 2006
Posts: 179

Rep: Reputation: 15
mke2fs says "bad blocks count"


Hi,

I attached a virtual hard disk to one of my Linux boxes.
And after running creating partition on the new disk, I ran the following command:

Code:
mke2fs -t ext3 /dev/sdb1
While executing that command, it says as below and quits:

Code:
mke2fs: bad blocks count - /dev/sdb1
FYI,the output of fdisk is as below:

Code:
fdisk -l /dev/sdb
Disk /dev/sdb: 1073 MB, 1073741824 bytes
255 heads, 63 sectors/track, 130 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1         130     1044193+  83  Linux

Why is this mke2fs reporting such and is not able to create file system ?
 
Old 08-17-2011, 05:07 PM   #2
macemoneta
Senior Member
 
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 344Reputation: 344Reputation: 344Reputation: 344
The 'bad blocks' message generally indicates that mke2fs is unable to write to at least portions of the device. You can try to map out bad blocks using the slower '-c' option. If it still fails, you'll need to try the (much slower) '-c -c' options.
 
1 members found this post helpful.
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
"bad tty" & "file descriptor error" while building RPM on F13 gosssamer Linux - Software 7 12-28-2010 05:02 PM
Bad mount of .mdf - "wrong fs type, bad option, bad superblock, on /dev/loop0" Maybe-not Linux - General 2 02-29-2008 01:30 PM
What is the expected output of mke2fs -c -c when there are bad blocks on the disk? pipopo Linux - General 6 02-06-2008 03:43 AM
Startup Problem, "Bad Blocks" ncrown23334 Linux - Software 3 07-01-2006 09:45 PM
My Linux tells me I have "Bad Blocks" ncrown23334 Linux - Hardware 1 07-01-2006 03:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05: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
Open Source Consulting | Domain Registration