[clug] fsck.ext3 errors output - partitioning a contributor?

Martin Pool mbp at samba.org
Fri May 23 10:23:42 EST 2003


On 22 May 2003, Daniel <cottmain at plug.linux.org.au> wrote:
> Hello All,
> I repartitioned and reformatted a disk:
> 1-swap 128mb, 2-ext3 650mb, 3-ext3 650mb, 4-ext3 30plus gig
> then tried to copy files and directories to partition 4 and found it
> copied files, but would not create directories.
> 
> Did an fsck.ext3 /dev/hdb4 ... (with drive unmounted when fscking).
> Found errors reported as below. 
> 
> Does this indicate the drive is 'on the way out' or might there be a
> chance I contributed to the situation by incorrect partition sizes?

It looks like a media error to me. 

If you don't have anything important on the disk yet then you can use
badblocks(8) to do a read-write test on the disk.  If there's data you
don't want to lose then do a read-only test.  I strongly recommend
this.  If it's failing it's better to know now.   If it's a new disk
you may be able to return it under warranty.

> Should a partition be a base 2 size?

No.  It just has to be a multiple of sectors (or blocks?) of about
4kB; fdisk/mkfs will do this automatically.

-- 
Martin 

linux.conf.au 2004: Adelaide, Australia         http://lca2004.linux.org.au/



More information about the linux mailing list