Skip to contentSkip to conversation

fsck write test

linux-lvm Uros Watzak 2 participants 2 messages Jan 11, 2002

lore
Share & tools
lore
#0 lore raw

Hello Wolfgang.

I have found your e-mail address in an older post on WWW in some Linux web board/forum. You mentioned there is a way to perform a write test on a partirion using fsck or mke2fs. Can you tell me how to do it ? I used fsck but it only does a read-only test. Is there any way I can do a write test on my drive ?

Thank you in advance for your answer.

Uros W.

#1 lore raw
Quoted 4 lines · Uros Watzak

Hello Wolfgang.

I have found your e-mail address in an older post on WWW in some Linux web board/forum.

This is actually a mailing list address...

Quoted 5 lines

You mentioned there is a
way to perform a write test on a partirion using fsck or mke2fs. Can you tell me how to do it ? I used fsck but it only does a read-only test. Is there any way I can do a write test on my drive ?

man badblocks(8), see -w and -n parameters. You can optionally use "mke2fs -c <dev>" to do the badblocks checking at the same time as you create the filesystem.

Cheers, Andreas
--
Andreas Dilger
http://sourceforge.net/projects/ext2resize/
http://www-mddsp.enel.ucalgary.ca/People/adilger/