sd card trouble

Applications, development tools, FPGA, C, WEB
Post Reply
aschuetz
Posts: 34
Joined: Tue Nov 24, 2015 11:26 am

sd card trouble

Post by aschuetz » Tue Apr 24, 2018 2:30 pm

Dear all,

I use a few RPs in the lab. But I have some problems with corrupt sd cards. Usually I use SSH to shutdown the device but sometimes it happens that someone switch off the device by the power switch of the power supply.
However, the RP does not boot anymore. Because it doesn't have a graphical output I usually take the sd card out and use fsck to repair it. Afterwards it works fine until such a "hard shutdown". I know that sd cards are not robust but I never had such problems with all of my Raspberry Pi devices. I used 3 different sd cards. I'm going to order new cards because I don't know how to solve that problem :(

Any ideas what is going wrong here?

Code: Select all

$ sudo fsck -v /dev/mmcblk0p2
fsck from util-linux 2.20.1
e2fsck 1.42.9 (4-Feb-2014)
/dev/mmcblk0p2 contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inodes that were part of a corrupted orphan linked list found.  Fix<y>? yes
Inode 209 was part of the orphaned inode list.  FIXED.
Inode 2072 was part of the orphaned inode list.  FIXED.
Inode 2094 was part of the orphaned inode list.  FIXED.
Inode 2472 was part of the orphaned inode list.  FIXED.
Inode 5572 was part of the orphaned inode list.  FIXED.
Inode 6639 was part of the orphaned inode list.  FIXED.
Inode 6908 was part of the orphaned inode list.  FIXED.
Inode 6919 was part of the orphaned inode list.  FIXED.
Inode 13819 was part of the orphaned inode list.  FIXED.
Inode 14259 was part of the orphaned inode list.  FIXED.
Inode 14260 was part of the orphaned inode list.  FIXED.
Inode 15027 was part of the orphaned inode list.  FIXED.

Inode 45516 was part of the orphaned inode list.  FIXED.
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information

/dev/mmcblk0p2: ***** FILE SYSTEM WAS MODIFIED *****

       71586 inodes used (33.08%, out of 216432)
          98 non-contiguous files (0.1%)
          92 non-contiguous directories (0.1%)
             # of inodes with ind/dind/tind blocks: 0/0/0
             Extent depth histogram: 66770/34
      708220 blocks used (81.90%, out of 864768)
           0 bad blocks
           1 large file

       58998 regular files
        7555 directories
          62 character device files
          25 block device files
           0 fifos
          22 links
        4891 symbolic links (4641 fast symbolic links)
          46 sockets
------------
       71599 files


Post Reply
jadalnie klasyczne ekskluzywne meble wypoczynkowe do salonu ekskluzywne meble tapicerowane ekskluzywne meble do sypialni ekskluzywne meble włoskie

Who is online

Users browsing this forum: No registered users and 23 guests