lkml.org 
[lkml]   [1997]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectext2 crash? | 2.1.56/e2fsprogs 1.10
Hi Ted,

I get this last night and something similar last autumn/winter.
Before I found it I get 13 MB in /lost+found during startup filesystem
check.
It was horrible to recreate my /usr partition and so I restore it from
backup.
During this task I get the message "Can't create file or directory ---
file exists at 'PATH'" or something like that. So I looked at it and
found:

SunWave1>pwd
/usr/local/khoros2200/envision/objects/xvroutine/spectrum/help/figures
SunWave1>l
total 3654767352
drwxr-xr-x 2 root root 1024 Oct 1 01:07 .
drwxr-xr-x 3 root root 1024 Jun 29 17:18 ..
-rw-r--r-- 1 root root 7543 Mar 10 1997 codebook.eps
-rw-r--r-- 1 root root 3398 Mar 10 1997 codebook.fig
-rw-r--r-- 1 root root 5502 Mar 10 1997 codebook_col.eps
dr-x-w--wT 19523 10579 20041 1126704160 Jul 27 2010
codebook_col.fig
dr-s--S-wT 17474 24408 18764 1145194828 Oct 17 2014
codebook_intro.eps
?r-S--x--x 11529 27693 2336 1936548715 Jun 5 2032
codebook_row.eps
br-xr-xr-x 18756 29300 16969 46, 107 Oct 8 2013
codebook_row.fig
d--x--x--t 21313 18756 21569 1815030098 Nov 7 1974
codebook_sum.eps
dr-x-wS-wx 2313 22098 8202 1112099935 May 14 2031
codebook_sum.fig
SunWave1>rm -r codebook_col.fig codebook_intro.eps codebook_row.eps
codebook_row.fig
codebook_sum.eps codebook_sum
.fig
rm: descend directory `codebook_col.fig', overriding mode 1522? y
rm: memory exhausted
SunWave1>

Any comments?
I heard something about, that you are working on an e2fsprogs version
that checks the file mask before writing it? --- Which is the current
release of e2fsprogs? 1.10 or newer?

BTW Here comes the beginning of my rc.S script because I never get the
chance to check the filesystems read only mounted as the script should
offer:-(

I put in two lines for testing and that works (echo "!!!!! Dieter was
here 25.08.1997 !!!!!"; sleep 30s), but /bin/login never comes up in the
error case!!!
The script goes smoothly to the end and invokes rc.M, so the partitions
would be remount read/write!!!

#!/bin/sh
#
# /etc/rc.d/rc.S: System initialization script.
#
# Mostly written by: Patrick J. Volkerding, <volkerdi@ftp.cdrom.com>
#

PATH=/sbin:/usr/sbin:/bin:/usr/bin

# enable swapping
/sbin/swapon -a

# Start update.
/sbin/update &

# Now, start kerneld as soon as possible, so that any disk
# driver modules can be loaded "automagically"
if [ -x /sbin/kerneld ]
then
/sbin/kerneld
fi

# Test to see if the root partition is read-only, like it ought to be.
READWRITE=no
if echo -n >> "Testing filesystem status"; then
rm -f "Testing filesystem status"
READWRITE=yes
fi

# Check the integrity of all filesystems
if [ ! $READWRITE = yes ]; then
/sbin/fsck -A -p
# If there was a failure, drop into single-user mode.
if [ $? -gt 1 ] ; then
echo
echo
echo "**************************************"
echo "fsck returned error code - REBOOT NOW!"
echo "**************************************"
echo
echo
/bin/login
echo "!!!!! Dieter was here 25.08.1997 !!!!!"
sleep 30s
fi
# Remount the root filesystem in read-write mode
echo "Remounting root device with read-write enabled."
/sbin/mount -w -n -o remount /
if [ $? -gt 0 ] ; then
echo
echo "Attempt to remount root device as read-write failed! This is
going to"
echo "cause serious problems... "
.
.
.

What's wrong here? Old login tool?
Any help is appreciated.

--

Dieter Nuetzel
Graduate Student, Computer Science

University of Hamburg
Department of Computer Science
Cognitive Systems Group
Vogt-Koelln-Strasse 30
22527 Hamburg, Germany

email: nuetzel@kogs.informatik.uni-hamburg.de



\
 
 \ /
  Last update: 2005-03-22 13:40    [W:0.120 / U:0.288 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site