Jump to content

Schlotze83!

Members
  • Posts

    13
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. Hello Guys, i am running an Odroid C2 with the latest Armbian based on debian Bullseye. As disk i am using an 8GB emmc flash drive. For longlive reasons i am thinking about to reduce the read or more important the write access to that drive. I know, that every SD card and also every EMMC flash drive got a certain amount of write access and then its dead... So i am ask you what can i do to reduce read/write: - move logs to external usb? - activate ZRAM? - disable cache...? - tmpfs? I am just at the beginning of this, so kindly let me know if you guys have some well know hints. Thanks JM
  2. Hi Mates, when i check my device with the dmesg command it looks like that my harddrive (connected WD Red Hard Drive via SATA) has an issue: 3.404949] mmc1: new high speed SDIO card at address 0001 [ 7.204630] ata1.00: exception Emask 0x0 SAct 0x2 SErr 0x0 action 0x0 [ 7.204662] ata1.00: irq_stat 0x40000000 [ 7.204676] ata1.00: failed command: READ FPDMA QUEUED [ 7.204686] ata1.00: cmd 60/08:08:00:66:54/00:00:57:00:00/40 tag 1 ncq dma 4096 in res 41/40:00:00:66:54/00:00:57:00:00/40 Emask 0x409 (media error) <F> [ 7.204718] ata1.00: status: { DRDY ERR } [ 7.204728] ata1.00: error: { UNC } [ 7.206016] ata1.00: configured for UDMA/133 [ 7.206081] sd 0:0:0:0: [sda] tag#1 UNKNOWN(0x2003) Result: hostbyte=0x00 driverbyte=DRIVER_OK cmd_age=4s [ 7.206097] sd 0:0:0:0: [sda] tag#1 Sense Key : 0x3 [current] [ 7.206109] sd 0:0:0:0: [sda] tag#1 ASC=0x11 ASCQ=0x4 [ 7.206124] sd 0:0:0:0: [sda] tag#1 CDB: opcode=0x28 28 00 57 54 66 00 00 00 08 00 [ 7.206134] blk_update_request: I/O error, dev sda, sector 1465148928 op 0x0:(READ) flags 0x80700 phys_seg 1 prio class 0 this is the smartctl test of the Device: === START OF INFORMATION SECTION === Model Family: Western Digital Red Device Model: WDC WD7500BFCX-68N6GN0 Serial Number: WD-WX51E85ASKYJ LU WWN Device Id: 5 0014ee 6b103c0ae Firmware Version: 82.00A82 User Capacity: 750.156.374.016 bytes [750 GB] Sector Sizes: 512 bytes logical, 4096 bytes physical Rotation Rate: 5400 rpm Device is: In smartctl database [for details use: -P show] ATA Version is: ACS-2 (minor revision not indicated) SATA Version is: SATA 3.0, 6.0 Gb/s (current: 3.0 Gb/s) Local Time is: Mon Apr 18 10:37:22 2022 CEST SMART support is: Available - device has SMART capability. SMART support is: Enabled === START OF READ SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED General SMART Values: Offline data collection status: (0x00) Offline data collection activity was never started. Auto Offline Data Collection: Disabled. Self-test execution status: ( 0) The previous self-test routine completed without error or no self-test has ever been run. Total time to complete Offline data collection: (13680) seconds. Offline data collection capabilities: (0x7b) SMART execute Offline immediate. Auto Offline data collection on/off support. Suspend Offline collection upon new command. Offline surface scan supported. Self-test supported. Conveyance Self-test supported. Selective Self-test supported. SMART capabilities: (0x0003) Saves SMART data before entering power-saving mode. Supports SMART auto save timer. Error logging capability: (0x01) Error logging supported. General Purpose Logging supported. Short self-test routine recommended polling time: ( 2) minutes. Extended self-test routine recommended polling time: ( 155) minutes. Conveyance self-test routine recommended polling time: ( 5) minutes. SCT capabilities: (0x703d) SCT Status supported. SCT Error Recovery Control supported. SCT Feature Control supported. SCT Data Table supported. SMART Attributes Data Structure revision number: 16 Vendor Specific SMART Attributes with Thresholds: ID# ATTRIBUTE_NAME FLAG VALUE WORST THRESH TYPE UPDATED WHEN_FAILED RAW_VALUE 1 Raw_Read_Error_Rate 0x002f 200 200 051 Pre-fail Always - 33 3 Spin_Up_Time 0x0027 188 178 021 Pre-fail Always - 1583 4 Start_Stop_Count 0x0032 100 100 000 Old_age Always - 86 5 Reallocated_Sector_Ct 0x0033 200 200 140 Pre-fail Always - 0 7 Seek_Error_Rate 0x002e 200 200 000 Old_age Always - 0 9 Power_On_Hours 0x0032 072 072 000 Old_age Always - 20880 10 Spin_Retry_Count 0x0032 100 253 000 Old_age Always - 0 11 Calibration_Retry_Count 0x0032 100 253 000 Old_age Always - 0 12 Power_Cycle_Count 0x0032 100 100 000 Old_age Always - 85 192 Power-Off_Retract_Count 0x0032 200 200 000 Old_age Always - 62 193 Load_Cycle_Count 0x0032 200 200 000 Old_age Always - 130 194 Temperature_Celsius 0x0022 117 105 000 Old_age Always - 30 196 Reallocated_Event_Count 0x0032 200 200 000 Old_age Always - 0 197 Current_Pending_Sector 0x0032 200 200 000 Old_age Always - 3 198 Offline_Uncorrectable 0x0030 100 253 000 Old_age Offline - 0 199 UDMA_CRC_Error_Count 0x0032 200 200 000 Old_age Always - 0 200 Multi_Zone_Error_Rate 0x0008 200 200 000 Old_age Offline - 0 SMART Error Log Version: 1 No Errors Logged SMART Self-test log structure revision number 1 Num Test_Description Status Remaining LifeTime(hours) LBA_of_first_error # 1 Extended offline Completed without error 00% 20871 - # 2 Short offline Completed without error 00% 20868 - # 3 Short offline Completed without error 00% 20868 - # 4 Conveyance offline Completed without error 00% 20198 - # 5 Conveyance offline Completed without error 00% 20196 - # 6 Conveyance offline Completed without error 00% 20196 - # 7 Conveyance offline Completed without error 00% 20195 - # 8 Short offline Completed without error 00% 20060 - # 9 Short offline Completed without error 00% 19317 - #10 Short offline Completed without error 00% 18575 - #11 Short offline Completed without error 00% 17856 - #12 Short offline Completed without error 00% 17112 - #13 Short offline Completed without error 00% 16392 - SMART Selective self-test log data structure revision number 1 SPAN MIN_LBA MAX_LBA CURRENT_TEST_STATUS 1 0 0 Not_testing 2 0 0 Not_testing 3 0 0 Not_testing 4 0 0 Not_testing 5 0 0 Not_testing Selective self-test flags (0x0): After scanning selected spans, do NOT read-scan remainder of disk. If Selective self-test is pending on power-up, resume after 0 minute delay. Someone can explain what to do? Will the drive die soon? - Thanks and happy Eastern!
  3. Thanks! So i added this one here: deb http://deb.debian.org/debian-security/ bullseye-security main deb-src http://deb.debian.org/debian-security/ bullseye-security main or better to use this one? deb http://deb.debian.org/debian-security/ bullseye-security main contrib non-free deb-src http://deb.debian.org/debian-security/ bullseye-security main contrib non-free Best Regards
  4. Gents, i have the latest Armbian based on Debian Bullseye on a BananaPi M2 Berry running. It works fine, but i receive seldom updates to install... the sources.list: deb http://deb.debian.org/debian bullseye main contrib non-free #deb-src http://deb.debian.org/debian bullseye main contrib non-free deb http://deb.debian.org/debian bullseye-updates main contrib non-free #deb-src http://deb.debian.org/debian bullseye-updates main contrib non-free deb http://deb.debian.org/debian bullseye-backports main contrib non-free #deb-src http://deb.debian.org/debian bullseye-backports main contrib non-free Compared to my older BananaPi M1 where Armbian based on Debian Stretch is running (and giving me updates nearly every 2,3 days: deb http://httpredir.debian.org/debian stretch main contrib non-free #deb-src http://httpredir.debian.org/debian stretch main contrib non-free deb http://httpredir.debian.org/debian stretch-updates main contrib non-free #deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free deb http://httpredir.debian.org/debian stretch-backports main contrib non-free #deb-src http://httpredir.debian.org/debian stretch-backports main contrib non-free deb http://security.debian.org/ stretch/updates main contrib non-free #deb-src http://security.debian.org/ stretch/updates main contrib non-free Someone can exlain? Should we add the security.debian.org manually to sources.list? - Thanks!
  5. Thanks so much, looks like i made it , wa? udev 431M 0 431M 0% /dev tmpfs 100M 724K 100M 1% /run /dev/sda1 687G 1,3G 651G 1% / tmpfs 500M 0 500M 0% /dev/shm tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs 500M 4,0K 500M 1% /tmp /dev/mmcblk0p1 1,7G 1,3G 385M 77% /media/mmcboot tmpfs 100M 0 100M 0% /run/user/1000
  6. Hi Werner, so, when i disable ramlog in the config and then reboot the /var/log will be automatically on the HDD somewhere under / is my understanding correct? - Thanks!
  7. Gents, installed Armbian Bullseye successfully to my Banana Pi M2 Berry. In second step i moved the OS to my attached 2,5 WD RED Sata Harddrive. This was easily possible with the command "sudo nand-sata-install". But now, i see that my /var/log is full, because its located in ZRAM. root@BananaPiM2Berry:/etc/systemd/system# df -h Filesystem Size Used Avail Use% Mounted on udev 431M 0 431M 0% /dev tmpfs 100M 11M 90M 11% /run /dev/sda1 687G 1,3G 651G 1% / tmpfs 500M 0 500M 0% /dev/shm tmpfs 5,0M 4,0K 5,0M 1% /run/lock tmpfs 500M 0 500M 0% /tmp /dev/mmcblk0p1 1,7G 1,3G 385M 77% /media/mmcboot /dev/zram1 49M 48M 0 100% /var/log tmpfs 100M 0 100M 0% /run/user/1000 As you can see i hve more than 650 GB avail in my root parttiion on /dev/sda1. But how can i setup /var/log to wirte on /dev/sda1 ? i believed to find it in /etc/fstab, but its not there. # <file system> <mount point> <type> <options> <dump> <pass> tmpfs /tmp tmpfs defaults,nosuid 0 0 UUID=7fe45d82-d362-438a-9b7a-baa3678fcab4 /media/mmcboot ext4 defaults,noatime,commit=600,errors=remount-ro,x-gvfs-hide 0 1 /media/mmcboot/boot /boot none bind 0 0 UUID=614c4feb-de66-4b2c-a046-ce72aaf2e600 / ext4 defaults,noatime,commit=600,errors=remount-ro,x-gvfs-hide 0 1 Right now, the device is unuseable, i cant even install system updates, since no more logs can be written. Since i have so much storage avail on my HDD, i wonder how to move /var/log there... Greatings Schlotze
  8. Guys, Hope my thread is correct here. i have an Banana Pi M2 Ultra on my shelf and want to start using it. So when i check the Armbian Hompepage for a propper up-to-date Image i just recognize its not anmyore supported. See here: https://www.armbian.com/bananapi-m2u/ But then , when i click on "Download from Archives" i see a lots of images for my hardware. But on the other way its says no more support. Confused now... Are the images in Download from archive all unstable or testing ones? Apprechiate if someone could explain. Thanks!
  9. Hey Guys, i own a Lemaker Banana Pro device. The hardware itself is very fine, no issues with it, but the software support is pretty low. When i check internet, i see at least two images for it: Armbian Bionic - mainline based kernel 4.19.y Armbian Stretch- mainline based kernel 4.19.y I recognize that Armbian Stretch is based on Debian 9, which is the old Debian Version at all, so i am not willing to install it. But i wonder how it is with Bionic? Is Armbian Bionic based on Ubuntu Bionic Beaver? Is it that what i means? How long will the support run for this Bionic image? For me it doesnt matter if i install debian or ubuntu on my BPro, since its stable & software supported. thanks guys!
  10. Thank you chwe, Guys, is there maybe a store in Europe or best in germany? That Aliexpress would me have to wait for more than 30 days for delievery ;-) is maybe this one here also the correct one? https://www.reichelt.de/banana-pi-s-ata-kabel-allnet-bana-sca-p144419.html?GROUPID=6671&amp;SEARCH=BananaPi&amp;&amp;r=1 Thanks for clarification
  11. Guys, purchased shortly my first Bananapi M1. I installed without problems Armbian to a SD Card and now in second step i would like to connect a 1TB Western Digital 2,5" SATA HDD. But which connection cable do i have to use with the Banana Pi? Can someone please post a link url if allowed or let me know? Thanks in advance!
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines