Does the following mean I didn't have any bad blocks or just that any
that were there are now marked unusable?
[root@beast root]# badblocks -sn /dev/hda
Checking for bad blocks (non-destructive read-write test): done
[root@beast root]#
Fabrice FACORAT wrote:
>
> Le Lundi 27 Août 2001 20:04, vous avez écrit :
> > As root I tried the command and got the following
> > error:
> > [root@si-drake sczjd]# dumpe2fs -b /dev/hda
> > dumpe2fs 1.23, 15-Aug-2001 for EXT2 FS 0.5b, 95/08/09
> > dumpe2fs: Bad magic number in super-block while trying
> > to open /dev/hda
>
> I've never use such a command but I think that you'd better test an ext2
> partition : /dev/hdxy
>
> you've got also the prog : badblocks
> badblocks -s /dev/hdxy
>
> > Couldn't find valid filesystem superblock.
>
> I hope it don't trash your MBR
> grep ext2 /etc/fstab
>
> --
> Copyleft Faber's prod. 2001
> http://perso.wanadoo.fr/linux_wizard/index.html