large fat32 drive size error


Forum: Other Help Topics
Topic: large fat32 drive size error
started by: stunix*com

Posted by stunix*com on July 16 2008,23:10
a little while ago I bought an external usb seagate 750g drive.  its great for all my movies and music. df -h shows 110gb though i hadn't noticed it for a little while till i configured saw torsmo to show it.
Now i have found that it doesn't even show most of the files on the drive and sometimes any files i add can corrupt.

I have just upgraded/reinstalled to 4.4.3 for my "http/smb/dhcp/ssh/vnc/no-ip/dyndns/ftp/partimage wireless/eth routing itx server" and it still does the same thing.  so i had to do a poor and unsafe workaround, mounting the 750gb on an old win2k laptop, and sharing it so dsl can see it and re-share it, now showing the full 750gb next to a 160gb hda2.

anyone got any ideas?  i dont want to attempt a format to ext2/3 and all the win defrag and error checking shows me the drive is fine.

Posted by Juanito on July 17 2008,03:55
I don't know if it is the same issue, but I have a maxtor MSS+ 500GB external hd. Even though the hd runs linux internally, it is configured such that only windows can set it up as a share and I can only access the drive via samba.
Posted by chaostic on July 17 2008,04:24
stunix: Try gparted to test the drive.

(And Juanito, your's is a network drive, right? Wouldn't be the same thing)

Posted by curaga on July 17 2008,08:01
Kernel messages from plugging it in?
Posted by stunix*com on July 20 2008,15:36
sorry for the delay but i didnt want to fiddle till id finished reimaging 10 new machines for work.
here is dmesg showing log of usb drive

it can now see 700gb but only 11g of data on it.

when mounted on M$ and remounted df and torsmo shows 510g on it.

currently all eggs are in this basket till i save to get a second one so im a little reluctant to do an fsck incase it decides to clean up everything outside the 11gb it sees.

Code Sample

#
#
#
#
#
#
#
<6>usb.c: registered new driver usbdevfs
<6>usb.c: registered new driver hub
<6>usb-uhci.c: $Revision: 1.275 $ time 14:05:13 Aug 18 2005
<6>usb-uhci.c: High bandwidth mode enabled
<6>PCI: Found IRQ 11 for device 00:07.2
<6>usb-uhci.c: USB UHCI at I/O 0x8400, IRQ 11
<4>usb-uhci.c: Detected 2 ports
<6>usb.c: new USB bus registered, assigned bus number 1
<6>hub.c: USB hub found
<6>hub.c: 2 ports detected
<6>usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
<6>Initializing USB Mass Storage driver...
<6>usb.c: registered new driver usb-storage
<6>USB Mass Storage support registered.
<6>hub.c: new USB device 00:07.2-2, assigned address 2
<6>scsi1 : SCSI emulation for USB Mass Storage devices
<4>  Vendor: ST375064  Model: 0A                Rev: 3.AA
<4>  Type:   Direct-Access                      ANSI SCSI revision: 02
<4>Attached scsi disk sda at scsi1, channel 0, id 0, lun 0
<4>SCSI device sda: 1465149168 512-byte hdwr sectors (750156 MB)
<6> sda: sda1
<7>WARNING: USB Mass Storage data integrity not assured
<7>USB Mass Storage device found at 2
#
#
#
#
#
#
#
/dev/hda1 on /mnt/hda1 type ext2 (rw,nosuid,nodev)
/dev/hda2 on /mnt/hda2 type ext2 (rw,nosuid,nodev)
/dev/hda3 on /mnt/hda3 type ext2 (rw,nosuid,nodev)
/dev/hda4 on /mnt/hda4 type ext2 (rw,nosuid,nodev)
/dev/sda1 on /mnt/sda1 type vfat (rw,nosuid,nodev,umask=000,uid=1001,gid=50)
Filesystem                Size      Used Available Use% Mounted on
/dev/root.old             2.9M    643.0k      2.3M  22% /
/dev/pts                119.3M     55.8M     63.5M  47% /dev/pts
/dev/hda1               236.7M    135.0M     89.6M  60% /cdrom
/dev/cloop              122.1M    122.1M         0 100% /KNOPPIX
/ramdisk                116.4M     55.2M     61.2M  47% /ramdisk
unionfs                 238.4M    177.2M     61.2M  74% /KNOPPIX/bin
unionfs                 119.3M     55.8M     63.5M  47% /dev
unionfs                 119.3M     55.8M     63.5M  47% /etc
unionfs                 238.4M    177.2M     61.2M  74% /KNOPPIX/lib
unionfs                 238.4M    177.2M     61.2M  74% /KNOPPIX/sbin
unionfs                 238.4M    177.2M     61.2M  74% /KNOPPIX/usr
unionfs                 116.4M     55.2M     61.2M  47% /ramdisk/var
/dev/cloop1               2.9M      2.9M         0 100% /ramdisk/opt/partimage
/dev/hda1               236.7M    135.0M     89.6M  60% /mnt/hda1
/dev/hda2               237.0M    136.6M     88.2M  61% /mnt/hda2
/dev/hda3               939.0M     37.9M    901.0M   4% /mnt/hda3
/dev/hda4                90.3G     56.8G     33.5G  63% /mnt/hda4
/dev/sda1               698.5G     11.0G    687.4G   2% /mnt/sda1
#
#
#
#
#
#
#

Posted by curaga on July 20 2008,17:15
You might try to use dosfsck on it still. In the default mode it handles the drive as readonly, it can't do a thing to it without the -r or -a switches, so you at least would find out if there are errors.
Posted by stunix*com on July 21 2008,16:41
id guessed dosfstools.dsl wasnt on the iso, but it seems to have dissapeared from the mydsl browser.

lucky i have a copy elsewhere, just have to find it.

Posted by stunix*com on July 21 2008,23:11
ok, tried dosfsck and fsck.vfat and get more or less the same message.
Code Sample

dosfsck 2.8 (28 Feb 2001)
dosfsck 2.8, 28 Feb 2001, FAT32, LFN
No FSINFO sector
1) Create one
2) Do without FSINFO
?
Filesystem has 22891382 clusters but only space for 6110078 FAT entries.

i have tried both 1&2 and it refuses to create an fsinfo tab.  even fsck.vfat -lva /dev/sda1quits soon after starting

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.