Help - Search - Members - Calendar
Full Version: /home Full C3100 Help!
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 General discussions
DoTheDog
Hi all, I just got a new c3100 in Japan about two weeks ago and have been loving it. I have been using meanie's guide here:
http://www.users.on.net/~hluc/myZaurus/
It has been great. Well, after installing a bunch of apps I noticed that I was getting kinda low on space on the /home drive (about 12MB left out of 89MB). That wasn't a problem until, I tried reinstalling Debian Pocketworkstation using xqt-debian-install.sh version 0.3.7. It failed saying that I was out of room on /home. I checked it (df -h) and sure enough it was completely full.

I tried running meanie's script to move all the . files out of /home/zaurus and that only freed up about 300K. I have been looking all over my /home drive to find the culprit but can't seem to. Anyone have any advice on where to look to free up more space? I want to get Debian back on. I was liking it alot but needed to install Open Office.

Any and All help is appreciated

Rob

Oh yeah, forgot to mention, I am running the stock Sharp Rom...
Meanie
QUOTE(DoTheDog @ Aug 23 2005, 01:44 PM)
Hi all, I just got a new c3100 in Japan about two weeks ago and have been loving it. I have been using meanie's guide here:
http://www.users.on.net/~hluc/myZaurus/
It has been great. Well, after installing a bunch of apps I noticed that I was getting kinda low on space on the /home drive (about 12MB left out of 89MB). That wasn't a problem until, I tried reinstalling Debian Pocketworkstation using xqt-debian-install.sh version 0.3.7. It failed saying that I was out of room on /home. I checked it (df -h) and sure enough it was completely full.

I tried running meanie's script to move all the . files out of /home/zaurus and that only freed up about 300K. I have been looking all over my /home drive to find the culprit but can't seem to. Anyone have any advice on where to look to free up more space? I want to get Debian back on. I was liking it alot but needed to install Open Office.

Any and All help is appreciated

Rob

Oh yeah, forgot to mention, I am running the stock Sharp Rom...
*


You probably filled up /hdd2 already. On the c3000, /home is stored on flash which is only 16MB and /home is allocated 4MB of it.
The c3100 has 128MB flash as far as i know, and i guess, both /home and your applications are installed there.
I have about 240MB of applications under /hdd2 (which is why I had to use cramfs to compress some of them)
See whether there is anything on /hdd2 (i assume that is where the flash is mounted but i don't really know for sure since i dont have a c3100 yet) that can be moved off to /hdd3 and/or compressed
DoTheDog
Meanie, Thanks for the reply. BTW you have a killer site for this stuff. Thanks for putting it out there for us!

On a df -h hdd2 shows up as only 9.5MB (hdd1 is the same) so I guess I would want to move stuff to hdd3. Both hdd1 and hdd2 only have 1MB of the 9.5MB used. Any help on what to move/link? I have read in some threads that some stuff cannot be moved to the microdrive due to boot and suspend issues that may affect stability. As I mentioned in the first post I have already run your script to move all the . files.
bam
how do you check how much is in home, and how much is availiable?
bluedevils
I assume this would do it.

CODE
df -k
DoTheDog
Actually it is "df -h" without the quotes. -h is for human readable I believe... biggrin.gif
bam
cool thanks
DoTheDog
quick update: I freed up about 1MB by clearing the netfront3 cache. I'm still wondering what else I can move off of there to make more room. Are there any other log files besides dmesg? I looked in /var/log and there isn't much there...
MONVMENTVM
oh yeah... i have almost the same problem with my c3100. i wanted to install xqt jumbopackage. i have about 17MB free on /home.
DoTheDog
Another quick update:
I created about 10MB of space by uninstalling FireFox. I realized that I had a different version running in Debian PocketWorkstation already. So I really didn't need it in X/Qt.
bluedevils
quick question (almost related). If the 128 is used for home, then where does the hdd3 (~3GB?) user space reside in the filesystem scheme?
DoTheDog
If you do a "df -h" you should see it mounted on /dev/hda3.
bluedevils
I don't have 3100 (yet). Where does /dev/hda3 mount to?

QUOTE(DoTheDog @ Aug 29 2005, 10:14 PM)
If you do a "df -h" you should see it mounted on /dev/hda3.
*
Meanie
QUOTE(bluedevils @ Aug 31 2005, 06:53 AM)
I don't have 3100 (yet).  Where does /dev/hda3 mount to?

QUOTE(DoTheDog @ Aug 29 2005, 10:14 PM)
If you do a "df -h" you should see it mounted on /dev/hda3.
*

*



On a C3000 /dev/hda3 is mounted to /hdd3

Can someone post the output of df -h for a C3100 and maybe if possible also the directory structure so I will be able to build more compatible ipks. you probably can run `ls -RF|grep /`
DoTheDog
Meanie,
Here is the df -h
# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 32.0M 32.0M 0 100% /
/dev/root 32.0M 32.0M 0 100% /
/dev/mtdblock3 89.0M 73.4M 15.6M 82% /home
/dev/ram1 44.0k 29.0k 15.0k 66% /dev
none 1.0M 36.0k 988.0k 4% /dev/shm
/dev/hda1 9.5M 1.0M 8.0M 11% /hdd1
/dev/hda2 9.5M 1.0M 8.0M 11% /hdd2
/dev/hda3 3.8G 1.3G 2.5G 34% /hdd3

I am having trouble with the ls -RF | grep /
I am getting a bunch of garbage characters, then when I try to highlight it to copy it kills the terminal.

I:ll give it another go.
DoTheDog
Here is the ls -RF |grep / results. bad characters and all. I:m not sure why it is doing this. I used your jaen ipk so that I could have both Japanese and English working. It works for most stuff. The translator has been a godsend. But for whatever reason the qconsole (and the terminal app as well~ don't like Japanese for some reason...

# ls -RF |grep /
Applications/
Settings/
./Applications:
Contents/
IR/
ImageNote_Files/
MusicPlayer/
Network/
addressbook/
dtm/
helpbrowser/
netfront3/
qtmail/
todolist/
./Applications/Contents:
TOEIC® 鐓�鐔緒�/
�����/
�鴻���若��/
���潟�����若��/
絎����沿�/
絎����鐓�鐔種�鐓�鐔�
�㏍���鐓�鐔逸�鐓�鐔醐�/
./Applications/Contents/TOEIC® 鐓�鐔緒�:
weekly TOEIC���鴻�� mini-training/
./Applications/Contents/TOEIC® 鐓�鐔緒�/weekly TOEIC���鴻�� mini-training:
./Applications/Contents/�����:
./Applications/Contents/�鴻���若��:
羆��c��綽��������潟�����若�潟�鴻�ゃ�潟�謂��������5/
羆��c��綽����莊居��激�с�����<�ゃ��������4鐔���膈����沿�����/
./Applications/Contents/�鴻���若��/羆��c��綽��������潟�����若�潟�鴻�ゃ�潟�謂��������5:
./Applications/Contents/�鴻���若��/羆��c��綽����莊居��激�с�����<�ゃ��������4鐔���膈����沿�����:
./Applications/Contents/���潟�����若��:
./Applications/Contents/絎����沿�:
./Applications/Contents/絎����鐓�鐔種�鐓�鐔�
���㏍�吾�с����X/
./Applications/Contents/絎����鐓�鐔種�鐓�鐔����㏍�吾�с����X:
./Applications/Contents/�㏍���鐓�鐔逸�鐓�鐔醐�:
./Applications/IR:
modules/
./Applications/IR/modules:
./Applications/ImageNote_Files:
./Applications/MusicPlayer:
./Applications/Network:
modules/
./Applications/Network/modules:
./Applications/addressbook:
./Applications/dtm:
./Applications/helpbrowser:
./Applications/netfront3:
cache/
plugins/
./Applications/netfront3/cache:
./Applications/netfront3/plugins:
./Applications/qtmail:
./Applications/todolist:
./Settings:
xfaethorx
is there a replacement for th cp command that supports the copying of symbolic links as the default one DOESNT if we can find one we can successfully copy all the home directories to larger storage and just simlink to it!
bluedevils
why wouldn't you be able to use tar? That preserves symlinks.
xfaethorx
i think mv does as well, the bottom line is you could move quite a bit of /home safely over to the HDD or SD card as long as the symlinks are maintained. I'm a bit reluctant to mv a directory incase I break something smile.gif.

Point is you could move /home/ in its entrity to /hdd3 and symlink to it biggrin.gif. Sure that will mean the HDD is doing more work than usual and you may consider using an SD card instead as that then means less moving parts, so less performance for your HDD to do.
Meanie
QUOTE(xfaethorx @ Sep 1 2005, 05:06 PM)
i think mv does as well, the bottom line is you could move quite a bit of /home safely over to the HDD or SD card as long as the symlinks are maintained. I'm a bit reluctant to mv a directory incase I break something smile.gif.

Point is you could move /home/ in its entrity to /hdd3 and symlink to it biggrin.gif. Sure that will mean the HDD is doing more work than usual and you may consider using an SD card instead as that then means less moving parts, so less performance for your HDD to do.
*


It isnt that bad, actually it is sad.gif This is the situation on the C3000. /home is only 4MB and almost everything lives on the microdrive.

Btw, what is in /hdd1 and /hdd2? I guess only directories and symlinks?
DoTheDog
Hey Meanie,
Not sure, on /hdd1 there is a .sys directory. Inside that directory there are two files:
hdimage2.tgz and hdlist1.dat all in about 3K is all. On /hdd2 same .sys directory with nothing in it. Seems a waste of 19MB...

Rob
xfaethorx
QUOTE(Meanie @ Sep 1 2005, 10:59 AM)
QUOTE(xfaethorx @ Sep 1 2005, 05:06 PM)
i think mv does as well, the bottom line is you could move quite a bit of /home safely over to the HDD or SD card as long as the symlinks are maintained. I'm a bit reluctant to mv a directory incase I break something smile.gif.

Point is you could move /home/ in its entrity to /hdd3 and symlink to it biggrin.gif. Sure that will mean the HDD is doing more work than usual and you may consider using an SD card instead as that then means less moving parts, so less performance for your HDD to do.
*


It isnt that bad, actually it is sad.gif This is the situation on the C3000. /home is only 4MB and almost everything lives on the microdrive.

Btw, what is in /hdd1 and /hdd2? I guess only directories and symlinks?
*



meanie.. I'm not sure but HDD1 and HDD2 look like other partitions either way they only hold the lost+found directories on my C3100..

i guess I'm going to have to do an mv on a bunch of directroies and see what happens !
DoTheDog
xfaethorx, did you succeed in moving stuff to your hard drive from your /home dir? Let me know if it worked and what you moved/linked.

QUOTE(xfaethorx @ Sep 2 2005, 02:02 AM)
QUOTE(Meanie @ Sep 1 2005, 10:59 AM)
QUOTE(xfaethorx @ Sep 1 2005, 05:06 PM)
i think mv does as well, the bottom line is you could move quite a bit of /home safely over to the HDD or SD card as long as the symlinks are maintained. I'm a bit reluctant to mv a directory incase I break something smile.gif.

Point is you could move /home/ in its entrity to /hdd3 and symlink to it biggrin.gif. Sure that will mean the HDD is doing more work than usual and you may consider using an SD card instead as that then means less moving parts, so less performance for your HDD to do.
*


It isnt that bad, actually it is sad.gif This is the situation on the C3000. /home is only 4MB and almost everything lives on the microdrive.

Btw, what is in /hdd1 and /hdd2? I guess only directories and symlinks?
*



meanie.. I'm not sure but HDD1 and HDD2 look like other partitions either way they only hold the lost+found directories on my C3100..

i guess I'm going to have to do an mv on a bunch of directroies and see what happens !
*

xfaethorx
QUOTE(DoTheDog @ Sep 14 2005, 02:25 AM)
xfaethorx, did you succeed in moving stuff to your hard drive from your /home dir? Let me know if it worked and what you moved/linked.

QUOTE(xfaethorx @ Sep 2 2005, 02:02 AM)
QUOTE(Meanie @ Sep 1 2005, 10:59 AM)
QUOTE(xfaethorx @ Sep 1 2005, 05:06 PM)
i think mv does as well, the bottom line is you could move quite a bit of /home safely over to the HDD or SD card as long as the symlinks are maintained. I'm a bit reluctant to mv a directory incase I break something smile.gif.

Point is you could move /home/ in its entrity to /hdd3 and symlink to it biggrin.gif. Sure that will mean the HDD is doing more work than usual and you may consider using an SD card instead as that then means less moving parts, so less performance for your HDD to do.
*


It isnt that bad, actually it is sad.gif This is the situation on the C3000. /home is only 4MB and almost everything lives on the microdrive.

Btw, what is in /hdd1 and /hdd2? I guess only directories and symlinks?
*



meanie.. I'm not sure but HDD1 and HDD2 look like other partitions either way they only hold the lost+found directories on my C3100..

i guess I'm going to have to do an mv on a bunch of directroies and see what happens !
*


*




the HDD is fat so it wont maintain the symlinks you'd have to convert part of or if not all of your drive to compensate for that.

I managed to move some applications over , thunderbird , firefox and abiword but it copies the symlink as a file so it'll make it bigger on the HDD if your bothered.

I did this BEFORE i finally got my hands on mkcramfs.

I've used mkcramfs since to cram the java of blackdown and a few other bits and bats.

I think the best thing for people to do is to look at what your installing, decide wether or not the install directory well NEVER be written to and then

1. cram it if you can and mount it at boot time.

2. if you can't cram it see if you can move it! thing is here if you want proper symlinks convert your HDD , i haven't I need to do more reading before I start breaking shit on here. So the rule of thumb here is you can symlink TO the directory from say /home to /hdd3 but you CANT put a symlink INSIDE that directory so be careful with what you move! Look at the directory structure before you move it. TBH i did a copy first and symlinked to it, tested ALL functionailty and then completed the "move" by removing the backed up directory!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.