Allan

#if _no_previous_reply_received_

Your filesystem is corrupt; if you really have everything backed up, you 
have 2 choices :

Unmount the partition then, whilst being careful to ensure you are happy 
with what you are doing :


e2fsck -y /dev/partition-your-filesystem-is-on

which will simply "yes" every fix question.  This will probably work, 
moving anything iffy into lost+found for you to peruse/delete at your 
leisure.  Restore any required, but missing files from your backup or dig 
around and see if they have appeared in lost+found as a strange number 
filename.

2nd option � mke2fs /dev/partition-your-filesystem-is-on

this will re-format it, so you'll need to restore that backup you have...

#else

Glad to hear you've got it all under control !

#endif

Regards
Jim


>>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<<

On 26/06/01, 13:41:34, Allan Whiteford <[EMAIL PROTECTED]> wrote 
regarding [scottish] File system problems:


> Hi,

> CVS started complaining at me about file permissions, an "ls -l" in the
> offending directory gave me:

> -rw-r--r--   1 nalal    seven         449 Apr 29 21:54 aid.p
> -rw-r--r--   1 nalal    seven         687 Mar 18 23:38 aircastle.p
> -rw-r--r--   1 nalal    seven         318 Mar 18 23:38 alibaba.p
> -rw-r--r--   1 nalal    seven         584 Mar 18 23:38 apollo.p
> -rw-r--r--   1 nalal    seven         588 Apr 29 21:54 bhands.p
> -rw-r--r--   1 nalal    seven         666 Mar 18 23:38 bhelliom.p
> -rw-r--r--   1 nalal    seven         213 Jan  8 14:29 blackwolf.p
> -rw-r--r--   1 nalal    seven         435 Apr 29 21:54 blur.p
> -rw-r--r--   1 nalal    seven         280 Mar 18 23:38 bulltemple.p
> -rw-r--r--   1 nalal    seven         916 Mar 18 23:38 cathedral.p
> -rw-r--r--   1 nalal    seven         203 Apr 29 12:42 classes.p
> -rw-r--r--   1 nalal    seven         740 Mar 18 23:38 claymonster.p
> -rw-r--r--   1 nalal    seven         216 Apr 29 21:54 cripple.p
> -rw-r--r--   1 nalal    seven         352 Apr 29 21:54 dead.p
> -rw-r--r--   1 nalal    seven         449 Apr 29 21:54 doors.p
> -rw-r--r--   1 nalal    seven         560 Apr 29 21:54 drain.p
> ?--xr-s--x 25955 8236     25441    4294967295 Oct 29  2024 elvenforest.p
> -rw-r--r--   1 nalal    seven         940 Apr 16 01:15 evil.p
> ?--Srwx-wt 17746 2313     20294    4294967295 Jun 22  2010 excalibur.p
> ?--xrw-r-t 16975 8302     8253     4294967295 Feb  5  1987 fieryking.p
> -rw-r--r--   1 nalal    seven         397 Apr 24 16:09 fireball.p
> -rw-r--r--   1 nalal    seven         261 Apr 29 12:42 foresight.p
> -rw-r--r--   1 nalal    seven         834 Apr 29 21:54 frob.p
> ?--x-wxrwt 29537 20303    25964    4294967295 Feb  5  1988 frost.p
> -rw-r--r--   1 nalal    seven         467 Apr 29 12:42 gravity.p
> c--xr--r-- 8295 31074    28265    115,  32 Apr  4  1987 holygrail.p
> ?r-xrwSr--   0 28274    root     1818314272 Jan  1  1970 horus.p
> -rw-r--r--   1 nalal    seven         532 Apr 29 12:42 icestorm.p
> ?---------   0 root     root            0 Jan  1  1970 ildharas.p
> -rw-r--r--   1 nalal    seven         385 Feb  1 19:32 kleth.p
> ?---------   0 root     root            0 Jan  1  1970 krull.p
> -rw-r--r--   1 nalal    seven        1041 Mar  5 23:06 lackhand.p
> -rw-r--r--   1 nalal    seven         400 Apr 25 09:24 lit.p
> ?---------   0 root     root            0 Jan  1  1970 mana.p
> -rw-r--r--   1 nalal    seven         430 Apr 29 21:54 missile.p
> -rw-r--r--   1 nalal    seven         707 Apr  6 13:28 mithdan.p
> -rw-r--r--   1 nalal    seven         478 Apr 30 15:08 oz.p
> ?---------   0 root     root            0 Jan  1  1970 painting.p
> ?---------   0 root     root            0 Jan  1  1970 pinfo
> -rw-r--r--   1 nalal    seven         273 Apr 29 12:42 resurrect.p
> ?---------   0 root     root            0 Jan  1  1970 rivansword.p
> ?---------   0 root     root            0 Jan  1  1970 sabre.p
> -rw-r--r--   1 nalal    seven         324 May 28 17:30 shaman.p
> ?---------   0 root     root            0 Jan  1  1970 shazareth.p
> -rw-r--r--   1 nalal    seven         426 Apr 24 16:08 shock.p
> -rw-r--r--   1 nalal    seven         730 Apr 24 01:17 skills.p
> -rw-r--r--   1 nalal    seven        1317 Apr 29 21:54 spells.p
> ?---------   0 root     root            0 Jan  1  1970 sundisc.p
> -rw-r--r--   1 nalal    seven        1028 Mar  6 08:46 talon.p
> ?---------   0 root     root            0 Jan  1  1970 tornado.p
> -rw-r--r--   1 nalal    seven         708 Apr 19 20:34 triton.p
> -rw-r--r--   1 nalal    seven         668 Apr 29 12:42 venomstrike.p
> -rw-r--r--   1 nalal    seven         750 Mar 31 20:46 watercastle.p
> -rw-r--r--   1 nalal    seven         576 Apr 29 12:42 where.p
> ?---------   0 root     root            0 Jan  1  1970 xanicar.p


> After various "su", "rm *", "rm -f" etc. I can get it down to:

> ?--xr-s--x 25955 8236     25441    4294967295 Oct 29  2024 elvenforest.p
> ?--Srwx-wt 17746 2313     20294    4294967295 Jun 22  2010 excalibur.p
> ?--x-wxrwt 29537 20303    25964    4294967295 Feb  5  1988 frost.p
> c--xr--r-- 8295 31074    28265    115,  32 Apr  4  1987 holygrail.p

> I can't delete these files:

> # rm -f elvenforest.p
> rm: cannot unlink `elvenforest.p': Operation not permitted

> If I umount home and do an fsck I get:

> # fsck /home
> Parallelizing fsck version 1.17 (26-Oct-1999)
> e2fsck 1.17, 26-Oct-1999 for EXT2 FS 0.5b, 95/08/09
> /dev/hda4 has gone too long without being checked, check forced.
> Pass 1: Checking inodes, blocks, and sizes
> Inode 703, i_size is 4096, should be 28672.  Fix<y>?

> There is no cruical data on the disk which isn't backed up.

> Should I tell fsck to fix or it?

> Is my disk on the way out, should I replace it? If so, does anyone have
> a small
> hard disk (~ 3GB) which they would be willing to sell?

> Thanks,

> Allan
> --
> The continents names all end with the same letter they start with.
> --------------------------------------------------------------------
> http://www.lug.org.uk                   http://www.linuxportal.co.uk
> http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
> --------------------------------------------------------------------
--------------------------------------------------------------------
http://www.lug.org.uk                   http://www.linuxportal.co.uk
http://www.linuxjob.co.uk               http://www.linuxshop.co.uk
--------------------------------------------------------------------

Reply via email to