Find the answer to your Linux question:
Results 1 to 6 of 6
Hello, I have a big problem with corrupted files. I don't exactly know why but when I shut down my computer (embedded), some files are sometimes corrupted on the next ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    9

    [SOLVED] corrupted files


    Hello,

    I have a big problem with corrupted files.

    I don't exactly know why but when I shut down my computer (embedded), some files are sometimes corrupted on the next computer boot.

    I possibly thought that the problem due to files which are still open when the computer power off.

    Did somebody already encounter the same problem?

    Slax
    Linux 2.6.20
    KDE 3.5.2
    I don't know if the problem should be resovled if I update the kernel?

    Thank you for your help!

  2. #2
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,763
    can you post the errors messages ? How do you know files are corrupted?
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    9
    Size of these files : 0kb

    And it is show like that on a "ls": nameOfMyFile.ext Input/output error.

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru Lakshmipathi's Avatar
    Join Date
    Sep 2006
    Location
    3rd rock from sun - Often seen near moon
    Posts
    1,763
    Can you see any error message in /var/log/messages?
    First they ignore you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
    -----
    FOSS India Award winning ext3fs Undelete tool www.giis.co.in. Online Linux Terminal http://www.webminal.org

  6. #5
    Just Joined!
    Join Date
    Mar 2010
    Posts
    9
    Yes,

    kernel: [205.244751] input: AT Translated Set 2 keyboard as /class/input/input3
    kernel: [206.866784] input: ImPS/2 Generic Wheel Mouse as /class/input/input4

    But I don't know if it is dependant.

  7. #6
    Just Joined!
    Join Date
    Mar 2010
    Posts
    9

    Red face [Solved] Corrupted files on Slax

    I solved my problem:

    - File input stream not correctly closed and
    - Add a commit buffer cache to disk (sync)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •