failed connecting to HC1

Moderators: odroid, mdrjr

failed connecting to HC1

Unread postby klemperer » Fri Jul 06, 2018 11:15 pm

Just now I was copying some movies from HC1 (Install the OMV3 image) to my ipad using itunes, several minutes later, the transfer exited, and I can't access the files through SAMBA any more.Then I rebooted the HC1. Ping works, the blue light is flashing, but any connection to the HC1, neither SSH, telnet nor web works.

Can anyone helps? Thanks!
klemperer
 
Posts: 20
Joined: Mon Dec 11, 2017 9:27 am
languages_spoken: english

Re: failed connecting to HC1

Unread postby mad_ady » Sat Jul 07, 2018 4:15 am

If you have a linux system around you should fsck both partition on the sdcard
User avatar
mad_ady
 
Posts: 4736
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: failed connecting to HC1

Unread postby rooted » Sat Jul 07, 2018 5:46 am

From my experience lately, something is broken in the Armbian kernel OMV uses for the Exynos 5422.

I can not recommend enough to use something else.
User avatar
rooted
 
Posts: 5700
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: failed connecting to HC1

Unread postby klemperer » Sat Jul 07, 2018 8:46 am

Disk /dev/sdb: 14.9 GiB, 15931539456 bytes, 31116288 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: 0xd6a661fd

Device Boot Start End Sectors Size Id Type
/dev/sdb1 8192 139263 131072 64M 83 Linux
/dev/sdb2 139264 14700000 14560737 7G 83 Linux
/dev/sdb3 14700001 30805119 16105119 7.7G 83 Linux


root@odroid:~# fsck -a /dev/sdb1
fsck from util-linux 2.27.1
/dev/sdb1: clean, 58/16384 files, 28613/65536 blocks

root@odroid:~# fsck -a /dev/sdb2
fsck from util-linux 2.27.1

root@odroid:~# fsck -a /dev/sdb3
fsck from util-linux 2.27.1
fsck.ext2: Bad magic number in super-block while trying to open /dev/sdb3
/dev/sdb3:
The superblock could not be read or does not describe a valid ext2/ext3/ext4
filesystem. If the device is valid and it really contains an ext2/ext3/ext4
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>
or
e2fsck -b 32768 <device>

Then the /dev/sdb3 is broken? I tried to fixed with the command recommended, failed to fix it.

Any more suggestions? Thanks.
klemperer
 
Posts: 20
Joined: Mon Dec 11, 2017 9:27 am
languages_spoken: english

Re: failed connecting to HC1

Unread postby mad_ady » Sat Jul 07, 2018 1:51 pm

What does blkid show for sdb3? It might be swap or something else
Also, on the first two partitions run fsck -f to force checking even if they are marked clean.
User avatar
mad_ady
 
Posts: 4736
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1

Re: failed connecting to HC1

Unread postby klemperer » Sat Jul 07, 2018 4:21 pm

/dev/sdb3: PARTUUID="d6a661fd-03"
klemperer
 
Posts: 20
Joined: Mon Dec 11, 2017 9:27 am
languages_spoken: english

Re: failed connecting to HC1

Unread postby rooted » Sat Jul 07, 2018 5:08 pm

Try booting again but wait approximately 2 minutes, then try ssh.

This is one of the problems I had, randomly it would wait approximately 88 seconds to finish booting then none of my mounts worked.

If you do get ssh grab dmesg output and post it.
User avatar
rooted
 
Posts: 5700
Joined: Fri Dec 19, 2014 9:12 am
Location: Gulf of Mexico, US
languages_spoken: english
ODROIDs: C1, C1+, C2
XU3 Lite, XU4
N1
VU7+
HiFi Shield 2
Smart Power (original)

Re: failed connecting to HC1

Unread postby mad_ady » Sat Jul 07, 2018 5:23 pm

Hmm, it doesn't say what it is... If it was swap it would have been reported. How big is sdb3? Also post back the output of fdisk -l /dev/sdb
User avatar
mad_ady
 
Posts: 4736
Joined: Wed Jul 15, 2015 5:00 pm
Location: Bucharest, Romania
languages_spoken: english
ODROIDs: XU4, C1+, C2, N1


Return to General Chat

Who is online

Users browsing this forum: No registered users and 3 guests