Jump to content

nemonein

Members
  • Posts

    39
  • Joined

  • Last visited

  1. Thanks. I tested the card with a PC, and I think you're right. It's dead.
  2. Hi. I'm using Cubietruck, and installed Ubuntu server(mainline) on it. Suddenly, I can't write to disk(SD card). Actually, yes I can. I could create, edit, or even delete files, but all the changes are gone after the Cubietruck is rebooted. The deleted files are back, and created files are gone. What should I check? My SD card is Samsung Evo 16GB, and I'm running Cubietruck for more than 2 years. I have never encountered this weird situation.
  3. Another bloody and gloomy sunday. It hangs again. Same error. (I/O error, dev mmcblk0, sector xxxxxxx) Here the log, but nothing special I think. I'll change the SD card with the same one. And have to wait for another Sundays.. Wish me luck! ;-)
  4. For anyone who might concern. I reinstalled Armbian, and everything works fine so far. If anything happens, I'll post it here. I have no idea what causes this, but I resized(extend the partition to maximum size) the SD card, that could be the reason. This thread might help.
  5. @tkaiser Your advice is always very helpful to me.(to everyone of course.) Thank you again. For the record, my SD card is Samsung Evo plus. I have not known that this SD card is better than average one, because I live in the country where Samsung's HQ is. ;-) And for the conclusion, it would be good not to resize the partiotion. Thank you all.
  6. First iozone.. iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 Iozone: Performance Test of File I/O Version $Revision: 3.429 $ Compiled for 32 bit mode. Build: linux Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins Al Slater, Scott Rhine, Mike Wisner, Ken Goss Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR, Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner, Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone, Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root, Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer, Vangel Bojaxhi, Ben England, Vikentsi Lapa. Run began: Mon Mar 13 14:20:13 2017 Include fsync in write timing O_DIRECT feature enabled Auto Mode File size set to 102400 kB Record Size 4 kB Record Size 16 kB Record Size 512 kB Record Size 1024 kB Record Size 16384 kB Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 Output is in kBytes/sec Time Resolution = 0.000001 seconds. Processor cache size set to 1024 kBytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. random random bkwd record stride kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread 102400 4 1445 3069 7205 7220 7063 3036 102400 16 8590 10141 14269 14343 14297 11498 102400 512 13829 17603 22168 22161 22188 21008 102400 1024 16877 19525 22432 22405 22403 20929 102400 16384 17740 19398 22560 22534 22538 20072 iozone test complete. and results of 'dd's. $ dd if=/dev/zero of=110mb.file bs=1M count=110 110+0 records in 110+0 records out 115343360 bytes (115 MB, 110 MiB) copied, 1.02726 s, 112 MB/s $ dd if=/dev/zero of=fill-it bs=10M dd: error writing 'fill-it': No space left on device 2630+0 records in 2629+0 records out 27569053696 bytes (28 GB, 26 GiB) copied, 3021.98 s, 9.1 and the last iozone. $ iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 Iozone: Performance Test of File I/O Version $Revision: 3.429 $ Compiled for 32 bit mode. Build: linux Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins Al Slater, Scott Rhine, Mike Wisner, Ken Goss Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR, Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner, Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone, Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root, Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer, Vangel Bojaxhi, Ben England, Vikentsi Lapa. Run began: Mon Mar 13 15:44:28 2017 Include fsync in write timing O_DIRECT feature enabled Auto Mode File size set to 102400 kB Record Size 4 kB Record Size 16 kB Record Size 512 kB Record Size 1024 kB Record Size 16384 kB Command line used: iozone -e -I -a -s 100M -r 4k -r 16k -r 512k -r 1024k -r 16384k -i 0 -i 1 -i 2 Output is in kBytes/sec Time Resolution = 0.000001 seconds. Processor cache size set to 1024 kBytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. random random bkwd record stride kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread 102400 4 1144 2648 6812 6891 6712 2742 102400 16 8012 9677 13899 13896 13818 10989 102400 512 14474 17739 21164 21250 21239 19714 102400 1024 17004 18842 21424 21337 21481 20043 102400 16384 16069 18256 21861 21860 21842 19104 iozone test complete. Armbian monitor is here. http://sprunge.us/aEGY I don't know what you meant by this.
  7. @hrip6 Thanks, But that's not the point that I want to talk about. @tkaiser Thanks again, you've been very helpful. I have one more question. If I extend the partition to the end(like what I did before), is there any possibility that causes any trouble? I don't need to clone this card to another.
  8. I'm using Armbian 5.25(mainline, Ubuntu server) on Cubietruck. The partion is not extended to the full size of the SD card. Here's my results of fdisk -l and df. $ sudo fdisk -l Disk /dev/ram0: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram1: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram2: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/ram3: 4 MiB, 4194304 bytes, 8192 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 4096 bytes I/O size (minimum/optimal): 4096 bytes / 4096 bytes Disk /dev/mmcblk0: 59.6 GiB, 64021856256 bytes, 125042688 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xf3693e57 Device Boot Start End Sectors Size Id Type /dev/mmcblk0p1 2048 122541823 122539776 58.4G 83 Linux $ df -h /dev/mmcblk0 Filesystem Size Used Avail Use% Mounted on udev 996M 0 996M 0% /dev $ df -h /dev/mmcblk0p1 Filesystem Size Used Avail Use% Mounted on /dev/mmcblk0p1 58G 29G 29G 51% / About 1.6GB is remained in unused space. I know that Armbian needs 128MB emergency swap, but this 1.6GB is for swap? Last time I installed Armbian, I manually steretched the partition to the full size. I'm wondering that might cause this.
  9. For anyone who might be interested in.. Yes, another Sunday has come. It did not frozen, and I could connect to CubieTruck with ssh. However most of commands are not woking. ls works, but ps, lsof, reboot, shutdown... now work. I powered down and remove the SD card, and check it on my desktop PC. Here is the result of fsck. $ sudo fsck.ext4 -v -C 0 /dev/sdc1 e2fsck 1.42.13 (17-May-2015) ArmBuntu: 저널 복구중 (Journal recovering, maybe.) Clearing orphaned inode 6490 (uid=0, gid=0, mode=0100644, size=304832) Clearing orphaned inode 9584 (uid=0, gid=0, mode=0100644, size=345164) Clearing orphaned inode 1766981 (uid=999, gid=999, mode=0100600, size=11308) Clearing orphaned inode 1766927 (uid=999, gid=999, mode=0100600, size=2056) Setting free inodes count to 3691751 (was 3691763) Setting free blocks count to 8304046 (was 5050204) ArmBuntu: clean, 70825/3762576 files, 7326034/15630080 blocks There must be something wrong with my SD card. I can change this card to a new one, but I have to visit the Customer center, or send it to them by mail.. Anyway it takes time. I've just reinstall Armbian again, and wait for another Sunday.
  10. I've been using Armbian 5.2x since last December, but I've got this error 3 weeks ago. I'll wait and see if there's an error this Sunday. If so, then try to change the card.. BTW, I don't understand what you meant, "check the seating".
  11. @tkaiser Thank you for your concern. Here's another one. Which is the log after I tested armbianmonitor -c. http://sprunge.us/WIRS
  12. The results of armbianmonitor -c $HOME. ........ Starting iozone tests. Be patient, this can take a very long time to complete: Iozone: Performance Test of File I/O Version $Revision: 3.429 $ Compiled for 32 bit mode. Build: linux Contributors:William Norcott, Don Capps, Isom Crawford, Kirby Collins Al Slater, Scott Rhine, Mike Wisner, Ken Goss Steve Landherr, Brad Smith, Mark Kelly, Dr. Alain CYR, Randy Dunlap, Mark Montague, Dan Million, Gavin Brebner, Jean-Marc Zucconi, Jeff Blomberg, Benny Halevy, Dave Boone, Erik Habbinga, Kris Strecker, Walter Wong, Joshua Root, Fabrice Bacchella, Zhenghua Xue, Qin Li, Darren Sawyer, Vangel Bojaxhi, Ben England, Vikentsi Lapa. Run began: Mon Feb 27 14:57:12 2017 Include fsync in write timing O_DIRECT feature enabled Auto Mode File size set to 102400 kB Record Size 4 kB Record Size 512 kB Record Size 16384 kB Command line used: iozone -e -I -a -s 100M -r 4k -r 512k -r 16M -i 0 -i 1 -i 2 Output is in kBytes/sec Time Resolution = 0.000001 seconds. Processor cache size set to 1024 kBytes. Processor cache line size set to 32 bytes. File stride size set to 17 * record size. random random bkwd record stride kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread 102400 4 1151 2766 7293 7306 6765 2958 102400 512 17175 19856 21668 21732 21719 20625 102400 16384 15232 16455 22040 22038 22037 17607 iozone test complete. touch: cannot touch './cardtest.m2rKKL/.starttime': No such file or directory Test stopped, read-only filesystem Please be careful using this media since it seems it's already broken. Exiting test. I don't know why it says read only file system, while it is not. My sd disk is Samsung MICROSDXC 64GB EVO PLUS. Is there something wrong with my sd disk?
  13. @tkaiser Thanks. Here's the log. http://sprunge.us/eaYE @Toast If it happens randomly, I would try it.
  14. I'm using CT with Armbian 5.25(mainline) server version. The system hangs on every Sundays, and this is the 3rd time, since it hanged two weeks ago for the first time. When I connected a monitor with it, it says.. mmcblk0 : error -5 sending status command, retrying blk_update_request : I/O error, dev mmcblk0, sector 1503312 .... similar messages are repeated.. I have no idea what causes this. I do not use CRON. I installed these packages. Mpd, nginx, nfs server, samba server, deluge-daemon, pure-ftpd, Resilio Sync. Can anyone help me?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines