Author Topic: Cacko Incorrectly Says /hdd3 Is Full  (Read 3154 times)

hughsieman

  • Newbie
  • *
  • Posts: 28
    • View Profile
Cacko Incorrectly Says /hdd3 Is Full
« on: April 16, 2007, 07:17:12 am »
Hi

When I plug my SL-C3200 running Cacko full into my Windows XP machine via USB, with PC Link Mode setting to Storage - Internal HDD, Windows Explorer says that there is 580MB free.

However, Cacko thinks it is full, my df line for /hdd3 reads:-

/dev/hda   35968284   5935472    32812    99%    /hdd3

There has always been a difference between what Cacko and Windows reports but it has become a problem now as I cannot create a swap file even though I know there is space available.

Also, I am trying to bluetooth a file from my phone to the Zaurus and cannot as the Zaurus believes the disk drive is full.

Any assistance would be very much appreciated.

Cheers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Cacko Incorrectly Says /hdd3 Is Full
« Reply #1 on: April 16, 2007, 07:26:44 am »
Quote
Hi

When I plug my SL-C3200 running Cacko full into my Windows XP machine via USB, with PC Link Mode setting to Storage - Internal HDD, Windows Explorer says that there is 580MB free.

However, Cacko thinks it is full, my df line for /hdd3 reads:-

/dev/hda   35968284   5935472    32812    99%    /hdd3

There has always been a difference between what Cacko and Windows reports but it has become a problem now as I cannot create a swap file even though I know there is space available.

Also, I am trying to bluetooth a file from my phone to the Zaurus and cannot as the Zaurus believes the disk drive is full.

Any assistance would be very much appreciated.

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


every tried running fsck or scandisk on it?
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

mikew

  • Full Member
  • ***
  • Posts: 193
    • View Profile
Cacko Incorrectly Says /hdd3 Is Full
« Reply #2 on: April 16, 2007, 09:39:35 am »
You should defrag the disk occasionally as Meanie suggests, especially if you keep the disk quite full.

Attach the Zaurus to your PC in storage mode
Right click on drive in Windows Explorer & select Tools
Select defragment disk
You may need to ignore the warning that there is not enough free space to defrag the disk properly.

You may also want to try the option to check/fix drive errors, it does take a long time to run, especially useful if the Zaurus can't find a file that you are sure you have not deleted!

Mike
C3200, C760 Cacko 1.23 ROM, 1gb SD, 1gb CF, WiFi, Imate Jasjar & Psion Netbook

hughsieman

  • Newbie
  • *
  • Posts: 28
    • View Profile
Cacko Incorrectly Says /hdd3 Is Full
« Reply #3 on: April 16, 2007, 09:59:26 am »
Thanks for the replies

I tried fsck /hdd3 but get the following back:-

The superblock could not be read or does not describe a correct ext2 filesystem.......

Do I need to specify FAT filesystem and if so how?

I will give a defrag a go as well later on.

Cheers
« Last Edit: April 16, 2007, 10:04:08 am by hughsieman »

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Cacko Incorrectly Says /hdd3 Is Full
« Reply #4 on: April 16, 2007, 10:58:13 am »
I've had the same thing happen to me in the past
This is how I do it when I get corrupted files on my FAT partition.
Don't use defrag, it is much to slow over USB.
The below will check and fix all errors on your FAT partition.
This may take about an hour.
This method uses the emergency console accessed with the B+D option.
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

Below is an excerpt from some instructions to get to the emergency console:
--------------------------------------------------------------------------------------
To use the D+B option do as follows...

1. Remove power and battery from the SL-C3000.
2. Leaving the Battery Cover OFF, return the battery cover lock to the LOCKED position.

At this point examine the battery compartment.
On the edge that is closest to Zaurus Logo are a set of slots where the battery cover 'keys into' when closed.

If you look at the slot that sits almost exactly vertically central of the whole Zaurus (not the compartment),
you will notice that there is a reset button. Do NOT press it just yet.

3. Open the unit so the screen is at right angles to the base unit and sit the unit on the back of the screen so that the keyboard is accessible with one hand and the base of the unit is accessible with the other.

4. Hold down D+B on the keyboard and whilst these keys are held depress the reset button using the stylus.

5. Release the D+B keys and within a few seconds the unit should start to boot into Emergency Linux.

You can now login as root with no password (In other words, type "root" to login)

------------------------------------------------------------------------------------------
Alternative method to get to D+B option and Also D+M option:

It makes things a LOT easier if you are already booted & running. You can simply select REBOOT from the popup menu, tap the YES box then hold down the DM or DB keys till the screen darkens & the system boots again. Can keep the Z flat & stable while using both hands to press the keys.
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

hughsieman

  • Newbie
  • *
  • Posts: 28
    • View Profile
Cacko Incorrectly Says /hdd3 Is Full
« Reply #5 on: April 16, 2007, 11:14:19 am »
Cheers Jon

That's running now. I did start the checkdisk from my Windows machine but it was SLOOOOWWWWWW! so I cancelled it and ran fsck.

I don't need to worry that it says that FAT32 support is ALPHA do I?java script:emoticon(':unsure:')
smilie

Any idea how this happens? It seems that files added/deleted from HDD3 via Windows aren't always reflected by Cacko. My df line above shows 32MB free which is where I deleted my swapfile which I did on the Zaurus itself so that was shown. Very strange.

Thanks again

Jon_J

  • Hero Member
  • *****
  • Posts: 1853
    • View Profile
    • http://
Cacko Incorrectly Says /hdd3 Is Full
« Reply #6 on: April 16, 2007, 11:21:45 am »
Quote
Cheers Jon

That's running now. I did start the checkdisk from my Windows machine but it was SLOOOOWWWWWW! so I cancelled it and ran fsck.

I don't need to worry that it says that FAT32 support is ALPHA do I?java script:emoticon(':unsure:')
smilie

Any idea how this happens? It seems that files added/deleted from HDD3 via Windows aren't always reflected by Cacko. My df line above shows 32MB free which is where I deleted my swapfile which I did on the Zaurus itself so that was shown. Very strange.

Thanks again
[div align=\"right\"][a href=\"index.php?act=findpost&pid=159007\"][{POST_SNAPBACK}][/a][/div]
I have always used fsck.vfat with no problems. I think I just ignored the ALPHA message.
As far as getting corrupted files on your FAT partition, this has happened to me if I unplug my USB cable from my windows machine too soon just after I transferred some files to my Zaurus.
Once you run fsck.vfat from the emergency console, your file size differences and remaining space issues should be cleared up.

EDIT:
One more thing, that you probably already know.
It's not good to fill up a partition to it's maximum capacity. I always like to leave at least 25% - 30% free space on all my partitions. (I think this has mostly to do with windows and FAT)
« Last Edit: April 16, 2007, 11:26:49 am by Jon_J »
C3100 Multiboot-->Angstrom 2007.12-r18 | Cacko 1.23 | ArchLinuxARM
C3200 pdaxii13v2-5.5-alpha4 Akita on NAND

Ambicom WL1100C-CF Wifi - Ambicom CF modem - Ambicom CF GPS - Belkin-F5D5050 USB LAN
Socket CF Bluetooth rev K - Iogear 4 port USB micro hub - pocket CF card reader
Targus mini USB optical mouse - 2 Targus SD card readers

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Cacko Incorrectly Says /hdd3 Is Full
« Reply #7 on: April 17, 2007, 08:45:21 am »
it is a bad idea to completely fill up the disk on any type of filesystems. some space is needed for housekeeping, ie journalling or keeping references/links for defragmentation, and if you got no space, there is no way for your filesystem to stay unfragmented...
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K