OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: daniel3000 on April 23, 2007, 07:00:53 am

Title: Fsck.vfat Fails On Hard Drive
Post by: daniel3000 on April 23, 2007, 07:00:53 am
Hi guys,

on my SL-C3200 with a 3GB third partition (FAT 32), fsck.vfat fails:

Code: [Select]
root@˜>fsck.vfat /dev/hda3
disfsck 2.11, 12 Mar 2005, FAT32, LFN
Seek to -1279934976:Invalid argument


Does anyone know this symptom?
I have observed it on three different SL-C3200 with slightly different partitioning (hda3 sizes 3GB and 4GB)
fsck.vfat works fine on flash cards.

Thanks
daniel
Title: Fsck.vfat Fails On Hard Drive
Post by: Meanie on April 23, 2007, 07:30:43 am
Quote
Hi guys,

on my SL-C3200 with a 3GB third partition (FAT 32), fsck.vfat fails:

Code: [Select]
root@˜>fsck.vfat /dev/hda3
disfsck 2.11, 12 Mar 2005, FAT32, LFN
Seek to -1279934976:Invalid argument


Does anyone know this symptom?
I have observed it on three different SL-C3200 with slightly different partitioning (hda3 sizes 3GB and 4GB)
fsck.vfat works fine on flash cards.

Thanks
daniel
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159549\"][{POST_SNAPBACK}][/a][/div]

i suspect this is an issue with fat only supporting a max of 2GB and fsck.vfat only supporting that.
i cant fsck my 4GB SD while I can fsck my 1GB SD both formatted with FAT
Title: Fsck.vfat Fails On Hard Drive
Post by: daniel3000 on April 23, 2007, 09:13:24 am
Quote
i suspect this is an issue with fat only supporting a max of 2GB and fsck.vfat only supporting that.
i cant fsck my 4GB SD while I can fsck my 1GB SD both formatted with FAT
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159550\"][{POST_SNAPBACK}][/a][/div]

thanks...
do you have any experiences if it is safe to check the FAT partition of the hard drive via USB (USB storage client) from a Windows PC?

daniel
Title: Fsck.vfat Fails On Hard Drive
Post by: Jon_J on April 23, 2007, 10:35:53 am
I have used fsck.vfat /dev/hda3 on my C3100 running Cacko several times.
My partition is 3.8GB (Default Sharp/Cacko partition)
My only complaint about this is, It only works in emergency mode, using the D+B option.
I think I get a similar error as daneil3000 if NOT using emergency console.
A year and several months ago I when I first got my C3100, I was having a problem with a file that "seemed" like it wasn't completely deleted.
Someone that knew what they were talking about, told me to use this after starting emergency mode with the D+B option.
Quote
To do a file system check on /hdd3 use below command:
If you boot with the B+D option, login as root and use
fsck.vfat -a -f -t -v -V /dev/hda3
This has worked for me every time.
It does take about an hour or more to finish.
It does warn that FAT32 support is ALPHA

BTW, checking a drive or defragging a drive over USB in Windows is very slow. I don't recommend this.
Title: Fsck.vfat Fails On Hard Drive
Post by: speculatrix on April 23, 2007, 03:57:50 pm
is it possible to cross-build a newer fat32 kernel module  and a new fsck.vfat command and use that instead?