|
|
fs-etfs-ram problem when multiple instances running (6.4.1)
|
|
10/23/2009 2:49 PM
post40642
|
fs-etfs-ram problem when multiple instances running (6.4.1)
Is anyone else having problems running more than one instance of fs-etfs-ram?
The second instance of the ram filesystem seem to corrupt itself and I am unable to get a handle on what is going on.
Here is a trivial test case in which I try to copy some files from one ramdisk to another and attempt to see that the
cksum is correct. It fails to work... Any ideas????
Other test cases where I use "cp -R" I get errors like
cp: read (/ram0/ive/lib/security/java.security): Input/output error
cp: read (/ram0/ive/lib/security/java.policy): Input/output error
etc...
Shell session of trivial test case:
#
# fs-etfs-ram -C 0 -c 0 -e -m /ram0 -D size=12
# fs-etfs-ram -C 0 -c 0 -e -m /ram1 -D size=12
#
NOTE: ftp some files (in my case npm2xx-*) to /ram0 here
#
# ls -l /ram0
total 10954
-r--r--r-- 1 tridium 0 1024 Oct 23 14:36 .badblks
-r--r--r-- 1 tridium 0 720 Oct 23 14:36 .counts
-r--r--r-- 1 tridium 0 1024 Oct 23 14:36 .filetable
-r--r--r-- 1 tridium 0 0 Oct 23 14:36 .reserved
-rw-r----- 1 tridium 0 2792592 Oct 23 14:36 npm2xx-etfs2048.image
-rw-r----- 1 tridium 0 2812160 Oct 23 14:36 npm2xx-etfs512.image
#
# cksum /ram0/*
290056355 2792592 /ram0/npm2xx-etfs2048.image
2659190978 2812160 /ram0/npm2xx-etfs512.image
#
# cp /ram0/n* /ram1
#
# ls -l /ram1
total 10954
-r--r--r-- 1 tridium 0 1024 Oct 23 14:36 .badblks
-r--r--r-- 1 tridium 0 720 Oct 23 14:36 .counts
-r--r--r-- 1 tridium 0 1024 Oct 23 14:36 .filetable
-r--r--r-- 1 tridium 0 0 Oct 23 14:36 .reserved
-rw-r----- 1 tridium 0 2792592 Oct 23 14:36 npm2xx-etfs2048.image
-rw-r----- 1 tridium 0 2812160 Oct 23 14:36 npm2xx-etfs512.image
#
# cksum /ram1/*
290056355 2792592 /ram1/npm2xx-etfs2048.image
1424276914 2812160 /ram1/npm2xx-etfs512.image
#
# df -k
/dev/etfs6 11520 6052 5468 53% /ram1/
/dev/etfs4 11520 6052 5468 53% /ram0/
/dev/etfs2 28672 21332 7340 75% /ffs0/
/dev/etfs6 11700 11700 0 100% (/ram1/)
/dev/etfs5 0 0 0 100%
/dev/etfs4 11700 11700 0 100% (/ram0/)
/dev/etfs3 0 0 0 100%
/dev/etfs2 29120 29120 0 100% (/ffs0/)
/dev/etfs1 4160 4160 0 100%
#
# etfsctl -d /dev/etfs4 -i
Device RAM12M
Blocks Clusters/Block Clustersize Totalsize
180 64 1024 11796480
Pools
Clean Spare Filthy Inactive Xpool Cache
90 4 0 7 2048 32
Counts
Erase Avg Read Cache Write Mine Copy Defrag BadBlks
1 0 10957 105 86 1 0 0 0
Errors
Ecc Chksum Device
0 0 0
#
# etfsctl -d /dev/etfs6 -i
Device RAM12M
Blocks Clusters/Block Clustersize Totalsize
180 64 1024 11796480
Pools
Clean Spare Filthy Inactive Xpool Cache
90 4 0 5 2048 32
Counts
Erase Avg Read Cache Write Mine Copy Defrag BadBlks
1 0 5480 51 86 1 0 0 0
Errors
Ecc Chksum Device
0 0 0
#
# pidin in
CPU:PPC Release:6.4.1 FreeMem:101Mb/128Mb BootTime:Dec 31 19:00:00 STD 1969
Processes: 31, Threads: 63
Processor1: 80811014 8245 240MHz FPU
#
|
|
|
|
|