lkml.org 
[lkml]   [1997]   [Mar]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectFile System Corruption teste

    File system corruption tests continued with new operating system:
    This is an ext2 file system on Linux version 2.1.29.
    Spare disk, 98% full of a file called ZERO, from `cp /dev/zero /mnt/ZERO`
    /dev/sdc1 893986 832547 15254 98% /mnt
    # ls -la /mnt
    total 832548
    drwxr-xr-x 3 root root 1024 Mar 11 18:24 ./
    drwxr-xr-x 21 root root 1024 Mar 11 18:00 ../
    -rw------- 1 root root 849182720 Mar 11 18:29 ZERO
    drwxr-xr-x 2 root root 12288 Mar 10 15:27 lost+found/
    # cmp -l /mnt/ZERO /dev/zero &> xxx &
    # head xxx
    94295041 17 0
    94295042 17 0
    94295043 17 0
    94295044 17 0
    94295045 17 0
    94295046 17 0
    94295047 17 0
    94295048 17 0
    94295049 17 0
    94295050 17 0
    # tail xxx
    94384120 17 0
    94384121 17 0
    94384122 17 0
    94384123 17 0
    94384124 17 0
    94384125 17 0
    94384126 17 0
    94384127 17 0
    94384128 17 0
    cmp: /mnt/ZERO: I/O error # Normal (EOF)

    This shows file system corruption starting at byte offset 94295041.
    This means that the last good byte was at 94295040. 94295041 / 1024 = 92085.
    I don't know what this means. Bet it isn't good, though.

    Cheers,
    Dick Johnson
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
    Richard B. Johnson
    Project Engineer
    Analogic Corporation
    Voice : (508) 977-3000 ext. 3754
    Fax : (508) 532-6097
    Modem : (508) 977-6870
    Ftp : ftp@boneserver.analogic.com
    Email : rjohnson@analogic.com, johnson@analogic.com
    Penguin : Linux version 2.1.29 on an i586 machine (66.15 BogoMips).
    Warning : It's hard to remain at the trailing edge of technology.
    -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


    \
     
     \ /
      Last update: 2005-03-22 13:39    [W:0.028 / U:0.732 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site