Re: [nslu2-general] Re: initrd getting full...
- In message <fhgkv0+nuqv@...>, creisor <creisor@...> writes
>--- In firstname.lastname@example.org, "jim_nslu" <jim_nslu@...> wrote:Firstly, the Older Unslung version 5.5 firmware is smaller, on my
>> I'm trying to set up my slug with Raid1, as per the instructions at
>> Currently, I've not got much installed - OpenSSH is basically it.
>> I've got a pair of 320Gb WD Essential drives attached, and I have
>> unslung to Disk1 (sdb).
>> Running df reports the following disk usage:
>> # df
>> Filesystem 1k-blocks Used Available Use% Mounted on
>> rootfs 307426936 58556 304245104 0% /
>> /dev/sdb1 6528 6368 160 98% /initrd
>> /dev/sdb1 307426936 58556 304245104 0% /
>> /dev/sda1 1185768 77652 1047880 7%
>> /dev/sdb1 307426936 58556 304245104 0% /share/hdd/data
>> /dev/sdb2 116661 4144 111313 4% /share/hdd/conf
>> /dev/sdb2 116661 4144 111313 4%
>> So initrd appears to only have about 6Mb of disk space allocated to
>> it, and it is 98% full, meaning that there's not sufficient space to
>> copy in the files necessary to run Raid1.
>> The only way that I have differed from the Raid1 instructions (above)
>> is to have unslung to sdb instead of sda, and I presume that doen't
>> require me to make any changes to the /dev/md4, /dev/md3 /dev/md2 and
>> /dev/md1 paths.
>Sorry if this is a repeat...I replied on Nabble before realizing it
>forwards to this list, so I joined this list and will re-post:
>Did you ever get your answer? I have the *exact* same setup, even the
>same brand and size of drives. I unslung to drive 1, just like you.
>My initrd size varies from yours by 1%, but like you, there's not
>enough room to copy md.o, raid1.o, and mdadm to /initrd/unslung:
>bash-3.2# df -k
>Filesystem 1k-blocks Used Available Use% Mounted on
>rootfs 307426936 53704 304249956 0% /
>/dev/sdb1 6528 6332 196 97% /initrd
>/dev/sdb1 307426936 53704 304249956 0% /
>/dev/sdb1 307426936 53704 304249956 0% /share/hdd/data
>/dev/sdb2 116661 4144 111313 4% /share/hdd/conf
>/dev/sdb2 116661 4144 111313 4% /share/flash/conf
>I'll keep plugging away at this and reply back if I come up with the
machine takes up only 82% but to be aware that with version 5.5 there
seems to be an upper fill limit of about 95%, filling the flash more
than this seem to make the NSLU2 freeze during the boot process, only
recoverable by re-flashing.
/initrd is the Slugs internal flash ram where the firmware is stored.
I have seen some posts some time back that seem to show which files in
this folder tree can be safely delete to free up more room when using
Unslung version 6. From memory I think that the relevant messages had
something to do with the weather station project so you may want to try
searching for messages on this theme.