berobispo

Members
  • Content Count

    8
  • Joined

  • Last visited

About berobispo

  • Rank
    Newbie

Recent Profile Visitors

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

  1. Figured it out, using pishrink, finally! It takes a while because 28 GB of empty space are being copied in the beginning, but anyhow ;-) This is my procedure: 1) boot from "plain" armbian (#2, see above) 2) insert original SD card (#1, 32 GB) in reader 3) dd if=/dev/sd#1 of=/path/to/image.img 4) pishrink.sh /path/to/image.img 5)dd if=/path/to/image.img of=/dev/sd#3, #3 being the backup SD card, 16 GB note: "#1", e.g. is "/dev/sda", not "/dev/sda1", since you need to do a block level copy of the device, not only the disk.
  2. Update: I tried to clone the SD card doing the following, inspiration from this thread: 1) download armbian image, burn to another SD card (#2) 2) run armbian from this SD card #2 (works) 3) insert former boot SD card (#1) and backup SD card (#3) in SD card reader 4) dd if=/dev/#1 of=/dev/#3 bs=1M count=4 (to copy partition scheme and bootloader) 5) mount #1 /mnt/origin, mount #3 /mnt/clone 6) rsync -avSz /mnt/origin /mnt/clone (seems to work) 7) check /etc/fstab on #3, adjust UUID of / 8) try to boot from #3 --> doesn't work :-( I don't want to (can't) use dd because the SD card #3 is only 16 GB, whereas the #1 SD card is 32 GB, and my armbian installation takes only 4,1 GB. And I understand Igor's opinion that it's much more useful to save /home/* and /etc/* and a list of installed packages, but I want to have a working clone handy for instant use in case the #1 SD card fails, mostly because I am planning on installing pihole and I am worried about increased wear on the SD card. Can someone tell me why the approach aboce doesn't work? Does it have to do with /etc/fstab? Partitions? Thanks in advance! EDIT: both #1 and #3 are high quality (SanDisk Ultra A1)
  3. Hi! short question: Best way to create a bootable clone of sd card? I did some reading and found ">>create image on windows >> shrink image via gparted" doesn't work for me since I dont have a second computer running linux (will the linux subsystem on windows 10 help?). In the past, I used the rpi-clone on a raspberry, but reading in this forum has taught me that hotcloning an armbian sd card via script is not necessarily safe. Computers availabel to me are: 1) odroid hc2 running armbian 2) acer laptop running windows 10
  4. ...installed the JMS Firmware upgrade to be on the safe side and it seems I did not have the current version. See output of smartctl -a /dev/sdb1 below: === START OF INFORMATION SECTION === Vendor: JMicron Product: Generic Revision: 3101 Compliance: SPC-4 User Capacity: 4,000,787,030,016 bytes [4.00 TB] Logical block size: 512 bytes Physical block size: 4096 bytes LU is fully provisioned Logical Unit id: 0x3001234567891234 Serial number: 0123456789ABCDEF Device type: disk Local Time is: Tue Jan 29 11:45:38 2019 UTC SMART support is: Unavailable - device lacks SMART capability. Serial Number has changed, still no luck getting through to the HDD... EDIT: solved it! smartctl -a /dev/sdb1 gives the result pf the JMicron bridge, smartctl -a /dev/sdb1 -d sat gives the results of the HDD.
  5. Hi all! I am running a nextcloud server on an odroid HC2 and a 4 TB WD red HDD. So far, so good (thanks again @Igor for the quick help with the kernel downgrade!). And since I have bought the sbc recently, I do not seem to have the older firmware version with the HDD "emergency power down" bug, i.e. I haven't heard clacking sound from the HC2. Today, I set HDD spindown to 1 hour via hdparm (wd red does not support apm) because the HDD would spin down after about three minutes on its own. The HDD does not seem to apply these settings, so I installed smartmontools to check the HDD in general. Only to find that: smartctl -a /dev/sdb1 gives this: === START OF INFORMATION SECTION === Vendor: JMicron Product: Revision: 3101 Compliance: SPC-4 User Capacity: 4,000,787,030,016 bytes [4.00 TB] Logical block size: 512 bytes Physical block size: 4096 bytes LU is fully provisioned Logical Unit id: 0x3042000000000132 Serial number: DB00000000013B Device type: disk Local Time is: Tue Jan 29 11:03:47 2019 UTC SMART support is: Unavailable - device lacks SMART capability. To seems, it seems the JMicron USB-SATA Bridge prohibits armbian from seeing the actual HDD. Any way to fix this? Thanks!
  6. didn't change cables... downgrading the kernel did the trick! Thanks!
  7. oh, thanks! That was quick! which cables? the ethernet cable? So, it is rather unlikely the fstab entry with the 4tb hdd? I thought maybe the hdd is "too big" and checking the filesystem causes problems... EDIT: And how do I fix the network/downgrade the kernel? The migration is not finished yet, so downloading new image etc. wouldn't be a big problem. Should I do just that?
  8. Hi! recently bought a HC2 from hardkernel to migrate my nextcloud from a raspberry pi 3b. HDD is a WD red 4 TB. armbian stretch with the 4.19 kernel, downloaded from armbian.com (Armbian_5.69_Odroidxu4_Debian_stretch_next_4.19.14). My problem: after boot (sudo reboot now or sudo shutdown -r), no possibility to login, i.e. angryip scanner doesn't show the hc2, putty times out when trying to connect. All LEDs are lit or pulsate respectively. I have to physically disconnect the power supply and reboot, then I can easily login. This is probably not very healthy for the hdd (or the sd card..., although with the ro option and zram, not much is being written to the boot section anyway, right?) I speculated that the hc2 has a problem with the 4tb hdd when booting and added the nofail option to /etc/fstab, but this doesn't do the trick. Any help is greatly appreciated. I really like the hc2 formfactor and after having used nextcloud on the raspberry pi for 12 months now, I'd like to upgrade to a more powerful board, but this problem seems like a dealbreaker if I can't fix it. EDIT: I corrected the used image, I actually had the 4.19 installed!