In Ubuntu 9.04 i386 I have an automatic test for my
internal hard-drives .
How do I run such a test with an external 500 gb Sata hard-drive divided
Partitions /dev/sdd1fat 32 /media/disk-1 size 293.19 gb
other Partition /dev/sdd2 Ext3 /media/disk-2 172.5 gb
Unmount them first, you can't check a mounted filesystem, then run fsck
In a terminal;
sudo umount /dev/sdd1 /dev/sdd2
sudo fsck -a /dev/sdd1 /dev/sdd2
Although I'm not sure how it will handle the fat32 partition. I have
fsck.msdos here but I may have added that as part of some msdos or FAT
also note the first command is "umount" not "unmount"