New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

AreaScout
Posts: 1677
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell, Go2, C4
Has thanked: 100 times
Been thanked: 293 times
Contact:

Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

Post by AreaScout »

@mangaldasan

What does gdisk /dev/sda tell you ?

RG

mangaldasan
Posts: 44
Joined: Sat Nov 10, 2018 4:01 am
languages_spoken: english
ODROIDs: Odroid-XU4;CouldShell-2;Odroid-N2-4Gb Corelec Version
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

Post by mangaldasan »

GPT fdisk (gdisk) version 1.0.3

Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present

Creating new GPT entries.

Command (? for help):

mangaldasan
Posts: 44
Joined: Sat Nov 10, 2018 4:01 am
languages_spoken: english
ODROIDs: Odroid-XU4;CouldShell-2;Odroid-N2-4Gb Corelec Version
Has thanked: 4 times
Been thanked: 1 time
Contact:

Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

Post by mangaldasan »

Dear AG,
Even gdisk /dev/sdb also give the same result. Eventhough it is mounted in OMV and is accessible.
odroid@odroidxu4:~$ /sbin/gdisk /dev/sdb
GPT fdisk (gdisk) version 1.0.3

Partition table scan:
MBR: not present
BSD: not present
APM: not present
GPT: not present

Creating new GPT entries.

AreaScout
Posts: 1677
Joined: Sun Jul 07, 2013 3:05 am
languages_spoken: german, english
ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell, Go2, C4
Has thanked: 100 times
Been thanked: 293 times
Contact:

Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

Post by AreaScout »

    What does ls /dev/sd* and ls /dev/disk/by-id/ tell you ?

    RG

    mangaldasan
    Posts: 44
    Joined: Sat Nov 10, 2018 4:01 am
    languages_spoken: english
    ODROIDs: Odroid-XU4;CouldShell-2;Odroid-N2-4Gb Corelec Version
    Has thanked: 4 times
    Been thanked: 1 time
    Contact:

    Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

    Post by mangaldasan »

    AreaScout wrote:
    Sun Dec 20, 2020 3:41 am
      What does ls /dev/sd* and ls /dev/disk/by-id/ tell you ?

      RG
      Good Morning RG,
      Last night I have shutdown the CS2 and today again switch ON to check the command output you were asking.
      But unfortunately it struck in NAS - Booting OS screen itself...Even CS2 LCD also shows the same.
      Try to do SSH which refused. But Angry IP scanner could find the NAS IP and I could ping the IP.
      The same situation happened in my previous test SD - New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi
      So What to do? Please advise. My working /dev/sdb have 65% data..around 1000+ 1080p movie collections are there :(
      Thanks,
      Mangaldasan

      AreaScout
      Posts: 1677
      Joined: Sun Jul 07, 2013 3:05 am
      languages_spoken: german, english
      ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
      N1, Go, VU5A, Show2, CloudShell2,
      H2, N2, VU7A, VuShell, Go2, C4
      Has thanked: 100 times
      Been thanked: 293 times
      Contact:

      Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

      Post by AreaScout »

      mangaldasan wrote:
      Sun Dec 20, 2020 3:22 pm
      Good Morning RG,
      Last night I have shutdown the CS2 and today again switch ON to check the command output you were asking.
      But unfortunately it struck in NAS - Booting OS screen itself...Even CS2 LCD also shows the same.
      Try to do SSH which refused. But Angry IP scanner could find the NAS IP and I could ping the IP.
      The same situation happened in my previous test SD - New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi
      So What to do? Please advise. My working /dev/sdb have 65% data..around 1000+ 1080p movie collections are there :(
      Thanks,
      Mangaldasan
      Am I right with the assumption that this problem occurred after you have mounted the hard disk ? What file system are you using on the hard disk, is it EXT4 ? We had some problems with the use of btrfs a user reported

      You can also try to flash the latest firmware (v158.001.000.004) on the RAID controller there is a JMS561 folder in your root directory with the flash tool and firmware needed to update it but you would have to re-write the image to the SD card and doing the firmware update BEFORE you mount the hard disk -> https://wiki.odroid.com/accessory/add-o ... ate_device after flashing power down the device (unplug power cord) and restart

      If you want to know what goes wrong with your current installation you should have to have this debug cable https://www.hardkernel.com/shop/usb-uart-module-kit/ to see what service fails/hangs on boot time OR you edit the file /boot/boot.ini changing line number 24 search for console=null and replace it with console=tty1 then you can see the boot log on the CS2 LCD (Mount the SD with the card reader on a different system to edit it)

      I hope this helps

      RG

      mangaldasan
      Posts: 44
      Joined: Sat Nov 10, 2018 4:01 am
      languages_spoken: english
      ODROIDs: Odroid-XU4;CouldShell-2;Odroid-N2-4Gb Corelec Version
      Has thanked: 4 times
      Been thanked: 1 time
      Contact:

      Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

      Post by mangaldasan »

      Dear RG,
      Thanks for your prompt and immediate response. Even paid support never did this much fast reply. Appreciated.
      Well I am using EXT4 file system only. No issues, let me rewrite the SD card with your latest image again and do the steps accordingly. Hope my second Harddisk is not screwed up.
      I dont have DEBUG serial cable. So let me redo the SD image.
      Once again Thank you for your support and will update you the happening.

      AreaScout
      Posts: 1677
      Joined: Sun Jul 07, 2013 3:05 am
      languages_spoken: german, english
      ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
      N1, Go, VU5A, Show2, CloudShell2,
      H2, N2, VU7A, VuShell, Go2, C4
      Has thanked: 100 times
      Been thanked: 293 times
      Contact:

      Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

      Post by AreaScout »

        Also do the gdisk /dev/sda and gdisk /dev/sdb command before you mount the hard disk and watch if any errors are reported !

        RG

        mangaldasan
        Posts: 44
        Joined: Sat Nov 10, 2018 4:01 am
        languages_spoken: english
        ODROIDs: Odroid-XU4;CouldShell-2;Odroid-N2-4Gb Corelec Version
        Has thanked: 4 times
        Been thanked: 1 time
        Contact:

        Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

        Post by mangaldasan »

        AreaScout wrote:
        Sun Dec 20, 2020 6:38 pm
          Also do the gdisk /dev/sda and gdisk /dev/sdb command before you mount the hard disk and watch if any errors are reported !

          RG
          Hi RG, I am sorry, I did not noticed your last message. I did mounted , the /dev/sda throws error and not getting mounted in OpenMedia Vault Web GUI.
          When I try to mount /dev/sdb also throws some error, but it is mounted. I could access my files.
          Found that below items are updated in /etc/fstab . Do I have to HASH the first disk which is not mounted? I am affraid, if I REBOOT my CS2, will it boot or not?
          Pls advise, let me keep in ON till I get confirmation from you.
          UUID=c4fefa39-d8a3-4ac0-af16-bde6a4fb0fdf / ext4 defaults,noatime,nodiratime,commit=600,errors=remount-ro 0 1
          tmpfs /tmp tmpfs defaults,nosuid 0 0
          # >>> [openmediavault]
          /dev/disk/by-id/usb-Hitachi_HUA723020ALA640_MK0131YFG0YTYA-0:0 /srv/dev-disk-by-id-usb-Hitachi_HUA723020ALA640_MK0131YFG0YTYA-0-0 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
          /dev/disk/by-id/usb-Hitachi_HUA723020ALA640_MK0131YFG0YTYA-0:1 /srv/dev-disk-by-id-usb-Hitachi_HUA723020ALA640_MK0131YFG0YTYA-0-1 ext4 defaults,nofail,user_xattr,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
          # <<< [openmediavault]

          Thanks , Mangaldasan

          AreaScout
          Posts: 1677
          Joined: Sun Jul 07, 2013 3:05 am
          languages_spoken: german, english
          ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
          N1, Go, VU5A, Show2, CloudShell2,
          H2, N2, VU7A, VuShell, Go2, C4
          Has thanked: 100 times
          Been thanked: 293 times
          Contact:

          Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

          Post by AreaScout »

            Well you should check the file system, you can execute gdisk at any time, even if the disk is already mounted, but I would also do a fsck but this can only be done if the hard disk is NOT mounted, so before I would reboot, I would recommend unmount it and check with this commands

            gdisk /dev/sda
            gdisk /dev/sdb
            fsck /dev/sda
            fsck /dev/sdb

            Regards

            mangaldasan
            Posts: 44
            Joined: Sat Nov 10, 2018 4:01 am
            languages_spoken: english
            ODROIDs: Odroid-XU4;CouldShell-2;Odroid-N2-4Gb Corelec Version
            Has thanked: 4 times
            Been thanked: 1 time
            Contact:

            Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

            Post by mangaldasan »

            Hi RG,
            I have unmounted my second drive too. But it keeps throw the below error and OMV keep asking me to save the changes.
            --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
            Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': openmediavault: ---------- ID: create_filesystem_mountpoint_2fbf3ce4-308f-4ae6-a4dc-1a465ce1c667 Function: file.accumulated Result: True Comment: Accumulator create_filesystem_mountpoint_2fbf3ce4-308f-4ae6-a4dc-1a465ce1c667 for file /etc/fstab was charged by text Started: 15:23:12.354011 Duration: 2.734 ms Changes: ---------- ID: mount_filesystem_mountpoint_2fbf3ce4-308f-4ae6-a4dc-1a465ce1c667 Function: mount.mounted Name: /srv/dev-disk-by-id-usb-Hitachi_HUA723020ALA640_MK0131YFG0YTYA-0-0 Result: False Comment: mount: /srv/dev-disk-by-id-usb-Hitachi_HUA723020ALA640_MK0131YFG0YTYA-0-0: mount(2) system call failed: Structure needs cleaning. Started: 15:23:12.358378 Duration: 244.099 ms Changes: ---------- ID: append_fstab_entries Function: file.blockreplace Name: /etc/fstab Result: True Comment: No changes needed to be made Started: 15:23:12.604568 Duration: 10.868 ms Changes: Summary for openmediavault ------------ Succeeded: 2 Failed: 1 ------------ Total states run: 3 Total run time: 257.701 ms
            Error #0:
            OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; omv-salt deploy run --no-color fstab 2>&1' with exit code '1': openmediavault:
            ----------
            ID: create_filesystem_mountpoint_2fbf3ce4-308f-4ae6-a4dc-1a465ce1c667
            Function: file.accumulated
            Result: True
            Comment: Accumulator create_filesystem_mountpoint_2fbf3ce4-308f-4ae6-a4dc-1a465ce1c667 for file /etc/fstab was charged by text
            Started: 15:23:12.354011
            Duration: 2.734 ms
            Changes:
            ----------
            ID: mount_filesystem_mountpoint_2fbf3ce4-308f-4ae6-a4dc-1a465ce1c667
            Function: mount.mounted
            Name: /srv/dev-disk-by-id-usb-Hitachi_HUA723020ALA640_MK0131YFG0YTYA-0-0
            Result: False
            Comment: mount: /srv/dev-disk-by-id-usb-Hitachi_HUA723020ALA640_MK0131YFG0YTYA-0-0: mount(2) system call failed: Structure needs cleaning.
            Started: 15:23:12.358378
            Duration: 244.099 ms
            Changes:
            ----------
            ID: append_fstab_entries
            Function: file.blockreplace
            Name: /etc/fstab
            Result: True
            Comment: No changes needed to be made
            Started: 15:23:12.604568
            Duration: 10.868 ms
            Changes:

            Summary for openmediavault
            ------------
            Succeeded: 2
            Failed: 1
            ------------
            Total states run: 3
            Total run time: 257.701 ms in /usr/share/php/openmediavault/system/process.inc:182
            Stack trace:
            #0 /usr/share/php/openmediavault/engine/module/serviceabstract.inc(62): OMV\System\Process->execute()
            #1 /usr/share/openmediavault/engined/rpc/config.inc(167): OMV\Engine\Module\ServiceAbstract->deploy()
            #2 [internal function]: Engined\Rpc\Config->applyChanges(Array, Array)
            #3 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
            #4 /usr/share/php/openmediavault/rpc/serviceabstract.inc(149): OMV\Rpc\ServiceAbstract->callMethod('applyChanges', Array, Array)
            #5 /usr/share/php/openmediavault/rpc/serviceabstract.inc(588): OMV\Rpc\ServiceAbstract->OMV\Rpc\{closure}('/tmp/bgstatus2i...', '/tmp/bgoutput82...')
            #6 /usr/share/php/openmediavault/rpc/serviceabstract.inc(159): OMV\Rpc\ServiceAbstract->execBgProc(Object(Closure))
            #7 /usr/share/openmediavault/engined/rpc/config.inc(189): OMV\Rpc\ServiceAbstract->callMethodBg('applyChanges', Array, Array)
            #8 [internal function]: Engined\Rpc\Config->applyChangesBg(Array, Array)
            #9 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
            #10 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('applyChangesBg', Array, Array)
            #11 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Config', 'applyChangesBg', Array, Array, 1)
            #12 {main}
            ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
            After unmount I have issued the command you have suggessted
            odroid@odroidxu4:~$ /sbin/gdisk /dev/sda
            GPT fdisk (gdisk) version 1.0.3

            Partition table scan:
            MBR: not present
            BSD: not present
            APM: not present
            GPT: not present

            Creating new GPT entries.

            Command (? for help): quit
            odroid@odroidxu4:~$ /sbin/gdisk /dev/sdb
            GPT fdisk (gdisk) version 1.0.3

            Partition table scan:
            MBR: not present
            BSD: not present
            APM: not present
            GPT: not present

            Creating new GPT entries.

            Command (? for help): quit
            odroid@odroidxu4:~$ /sbin/fsck /dev/sda
            fsck from util-linux 2.33.1
            fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda
            odroid@odroidxu4:~$ /sbin/fsck /dev/sdb
            fsck from util-linux 2.33.1
            fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/sdb

            AreaScout
            Posts: 1677
            Joined: Sun Jul 07, 2013 3:05 am
            languages_spoken: german, english
            ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
            N1, Go, VU5A, Show2, CloudShell2,
            H2, N2, VU7A, VuShell, Go2, C4
            Has thanked: 100 times
            Been thanked: 293 times
            Contact:

            Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

            Post by AreaScout »

              I am really not exactly sure what's happening there, it could be that the RAID controller goes offline (looses connection) from time to time

              Please post the result of dmesg command

              And what about this command ? parted -l

              RG

              mangaldasan
              Posts: 44
              Joined: Sat Nov 10, 2018 4:01 am
              languages_spoken: english
              ODROIDs: Odroid-XU4;CouldShell-2;Odroid-N2-4Gb Corelec Version
              Has thanked: 4 times
              Been thanked: 1 time
              Contact:

              Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

              Post by mangaldasan »

              Dear RG,
              Thank you so much for your patients. Output of the parted command follows:-

              odroid@odroidxu4:~$ /sbin/parted -l
              Model: Hitachi HUA723020ALA640 (scsi)
              Disk /dev/sda: 2000GB
              Sector size (logical/physical): 512B/512B
              Partition Table: loop
              Disk Flags:

              Number Start End Size File system Flags
              1 0.00B 2000GB 2000GB ext4


              Model: Hitachi HUA723020ALA640 (scsi)
              Disk /dev/sdb: 2000GB
              Sector size (logical/physical): 512B/512B
              Partition Table: loop
              Disk Flags:

              Number Start End Size File system Flags
              1 0.00B 2000GB 2000GB ext4


              Model: SD ED4QT (sd/mmc)
              Disk /dev/mmcblk1: 128GB
              Sector size (logical/physical): 512B/512B
              Partition Table: msdos
              Disk Flags:

              Number Start End Size Type File system Flags
              1 10.5MB 127GB 127GB primary ext4
              ----------------------------------------------------------------------------------------------------------------------------
              dmesg output(just few messages)
              [ 8472.303423] EXT4-fs (sda): ext4_check_descriptors: Block bitmap for group 200 not in group (block 2531622362285802277)!
              [ 8472.303430] EXT4-fs (sda): group descriptors corrupted!
              [ 8472.434477] EXT4-fs (sdb): re-mounted. Opts: acl,grpjquota=aquota.group,jqfmt=vfsv0,user_xattr,usrjquota=aquota.user
              [ 8472.491095] EXT4-fs (sdb): re-mounted. Opts: acl,grpjquota=aquota.group,jqfmt=vfsv0,user_xattr,usrjquota=aquota.user
              [ 9609.231705] EXT4-fs (sda): ext4_check_descriptors: Block bitmap for group 200 not in group (block 2531622362285802277)!
              [ 9609.231713] EXT4-fs (sda): group descriptors corrupted!
              [ 9610.063443] cec-s5p-cec: message 10 timed out
              [ 9612.223437] cec-s5p-cec: message 10 timed out
              [ 9614.383440] cec-s5p-cec: message 10 timed out

              AreaScout
              Posts: 1677
              Joined: Sun Jul 07, 2013 3:05 am
              languages_spoken: german, english
              ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
              N1, Go, VU5A, Show2, CloudShell2,
              H2, N2, VU7A, VuShell, Go2, C4
              Has thanked: 100 times
              Been thanked: 293 times
              Contact:

              Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

              Post by AreaScout »

                Sorry with fsck /dev/sda I was wrong it should be fsck /dev/sda1 and fsck /dev/sdb1 or something, depends what partition is on the hard disk, check with fdisk -l /dev/sda that is what is reported on my system:

                Code: Select all

                fdisk -l /dev/sda
                Disk /dev/sda: 465.7 GiB, 500061700096 bytes, 976683008 sectors
                Disk model: 1
                Units: sectors of 1 * 512 = 512 bytes
                Sector size (logical/physical): 512 bytes / 512 bytes
                I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
                Disklabel type: gpt
                Disk identifier: 7A043A77-D04B-43D7-B4F9-9A07BF9427D6
                
                Device     Start       End   Sectors   Size Type
                /dev/sda1   2048 976682974 976680927 465.7G Linux filesystem
                
                Regards

                mangaldasan
                Posts: 44
                Joined: Sat Nov 10, 2018 4:01 am
                languages_spoken: english
                ODROIDs: Odroid-XU4;CouldShell-2;Odroid-N2-4Gb Corelec Version
                Has thanked: 4 times
                Been thanked: 1 time
                Contact:

                Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                Post by mangaldasan »

                Dear AG,
                There is no device file called sda1 & sdb1. Only has 2 files sda & sdb
                odroid@odroidxu4:~$ /sbin/fsck /dev/sda1
                But I dont have any such issue at all in my previous Ubuntu with Kodi 18.7 final packages + Mali GBM driver testing on Ubuntu 18.04 minimal image(viewtopic.php?f=98&t=34149)
                My both the Hard Disk on RAID PM mode was working like charm. Only here one drive has issue. Now eventhough the second is getting mounted, but it is throw some error too.
                Here is the output you are asked for.....

                fsck from util-linux 2.33.1
                fsck: error 2 (No such file or directory) while executing fsck.ext2 for /dev/sda1
                odroid@odroidxu4:~$ fdisk -l
                Command 'fdisk' is available in the following places
                * /sbin/fdisk
                * /usr/sbin/fdisk
                The command could not be located because '/sbin:/usr/sbin' is not included in the PATH environment variable.
                This is most likely caused by the lack of administrative privileges associated with your user account.
                fdisk: command not found
                odroid@odroidxu4:~$ /sbin/fdisk -l /dev/sda
                Disk /dev/sda: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
                Disk model: HUA723020ALA640
                Units: sectors of 1 * 512 = 512 bytes
                Sector size (logical/physical): 512 bytes / 512 bytes
                I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
                odroid@odroidxu4:~$ /sbin/fdisk -l /dev/sdb
                Disk /dev/sdb: 1.8 TiB, 2000398934016 bytes, 3907029168 sectors
                Disk model: HUA723020ALA640
                Units: sectors of 1 * 512 = 512 bytes
                Sector size (logical/physical): 512 bytes / 512 bytes
                I/O size (minimum/optimal): 4096 bytes / 33553920 bytes
                odroid@odroidxu4:~$

                AreaScout
                Posts: 1677
                Joined: Sun Jul 07, 2013 3:05 am
                languages_spoken: german, english
                ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                N1, Go, VU5A, Show2, CloudShell2,
                H2, N2, VU7A, VuShell, Go2, C4
                Has thanked: 100 times
                Been thanked: 293 times
                Contact:

                Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                Post by AreaScout »

                  Hu what's going on here ... fsck fails both on /dev/sda AND /dev/sda1 ?? I mean this strange

                  Code: Select all

                  odroid@odroidxu4:~$ /sbin/fsck /dev/sda
                  fsck from util-linux 2.33.1
                  fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda
                  odroid@odroidxu4:~$ /sbin/fsck /dev/sdb
                  fsck from util-linux 2.33.1
                  fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/sdb
                  
                  Are you using a LVM disk ? Please show me the output of lsblk -f

                  Regards

                  mangaldasan
                  Posts: 44
                  Joined: Sat Nov 10, 2018 4:01 am
                  languages_spoken: english
                  ODROIDs: Odroid-XU4;CouldShell-2;Odroid-N2-4Gb Corelec Version
                  Has thanked: 4 times
                  Been thanked: 1 time
                  Contact:

                  Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                  Post by mangaldasan »

                  Dear AG,
                  Here is the lsblk output you are asking for.....
                  odroid@odroidxu4:~$ lsblk -f
                  NAME FSTYPE LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
                  sda ext4 99795cec-d229-49b8-a8b8-8abbb5a9669d
                  sdb ext4 d3a54cc3-1b42-4be4-8559-b6ac06a21ee1
                  mmcblk1
                  └─mmcblk1p1 ext4 c4fefa39-d8a3-4ac0-af16-bde6a4fb0fdf 112.8G 2% /
                  Thanks,

                  AreaScout
                  Posts: 1677
                  Joined: Sun Jul 07, 2013 3:05 am
                  languages_spoken: german, english
                  ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                  N1, Go, VU5A, Show2, CloudShell2,
                  H2, N2, VU7A, VuShell, Go2, C4
                  Has thanked: 100 times
                  Been thanked: 293 times
                  Contact:

                  Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                  Post by AreaScout »

                    Thanks for the output, well ok it's not LVM and the drive does magically disappear if you try to run fsck over it as we could see on this output

                    Code: Select all

                    odroid@odroidxu4:~$ /sbin/fsck /dev/sda
                    fsck from util-linux 2.33.1
                    fsck: error 2 (No such file or directory) while executing fsck.ext4 for /dev/sda
                    
                    Was that just a permission error ? Did you create a user with the name odroid ? Did you try to run this command as with sudo ?

                    If not please re-run the command as root user or with

                    sudo fsck /dev/sda
                    sudo fsck /dev/sdb

                    Regards

                    mangaldasan
                    Posts: 44
                    Joined: Sat Nov 10, 2018 4:01 am
                    languages_spoken: english
                    ODROIDs: Odroid-XU4;CouldShell-2;Odroid-N2-4Gb Corelec Version
                    Has thanked: 4 times
                    Been thanked: 1 time
                    Contact:

                    Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                    Post by mangaldasan »

                    Dear AG,
                    Yes you are right. It is my bad, I was ran fsck without SUDO.
                    Now I have ran the sudo fsck .dev/sda which took some times and ran, asking me to type Yes for few times and fix all. Then it is finished the process.
                    Now Can I mount the /dev/sda through OMV Filesystem?
                    Please advise.
                    Thanks,
                    Mangaldasan

                    AreaScout
                    Posts: 1677
                    Joined: Sun Jul 07, 2013 3:05 am
                    languages_spoken: german, english
                    ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                    N1, Go, VU5A, Show2, CloudShell2,
                    H2, N2, VU7A, VuShell, Go2, C4
                    Has thanked: 100 times
                    Been thanked: 293 times
                    Contact:

                    Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                    Post by AreaScout »

                      Yes I hope that this solves the problem -> it should

                      Regards

                      mangaldasan
                      Posts: 44
                      Joined: Sat Nov 10, 2018 4:01 am
                      languages_spoken: english
                      ODROIDs: Odroid-XU4;CouldShell-2;Odroid-N2-4Gb Corelec Version
                      Has thanked: 4 times
                      Been thanked: 1 time
                      Contact:

                      Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                      Post by mangaldasan »

                      AreaScout wrote:
                      Mon Dec 21, 2020 5:10 am
                        Yes I hope that this solves the problem -> it should

                        Regards
                        Dear RG,
                        Yes the problem was resolved. In fact, yesterday after ran fsck /dev/sda and fixed all the errors. Suddenly CS2 behaves very slow and not even taking any command. I just checked fdisk and mount command took ages to show. Also OMV FileSystem menu is not showing any mounted filesystems. So I was shutdown the CS2 and went to bed. Next day(today) morning switched ON CS2 and able to mount both of my HDD and created the SAMBA shares and uploaded some of my data. But the transfer rate was very low. This could due to my local Wifi setup. Anyhow, THANK YOU SO MUCH FOR YOUR CONTINUOS SUPPORT. Let me use this image for sometime and give the feed back after one week.
                        Great work and Great support.
                        With Regards,
                        Mangaldasan.
                        These users thanked the author mangaldasan for the post:
                        AreaScout (Tue Dec 22, 2020 2:54 am)

                        mangaldasan
                        Posts: 44
                        Joined: Sat Nov 10, 2018 4:01 am
                        languages_spoken: english
                        ODROIDs: Odroid-XU4;CouldShell-2;Odroid-N2-4Gb Corelec Version
                        Has thanked: 4 times
                        Been thanked: 1 time
                        Contact:

                        Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                        Post by mangaldasan »

                        Dear AG,
                        The New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi image is stable so far. So far so good. I need some suggestion.
                        1.Can I change the Monitoring config for LCD screen of CS2? For eg changing the Color Scheme , screen off after some time like this can I tweak by changing the config file?
                        2.In my previous Ubuntu setup the Samba transfer rate was 7 to 8Mb per second(because of my old router setup). But now with this Debian Buster image it is transferring files in Samba , less than 2Mb only. Is there any thing I can tweak in OMV side?
                        3.The S.M.A.R.T settings in OMV can be enabled? Is the HDD spin time OFF for the sake of life of my HDD.
                        4.If possible advise, Kodi Movie Library DB is not happening. Otherwise let me check with Kodi Forum.
                        Please advise. Thanks
                        Mangaldasan

                        AreaScout
                        Posts: 1677
                        Joined: Sun Jul 07, 2013 3:05 am
                        languages_spoken: german, english
                        ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                        N1, Go, VU5A, Show2, CloudShell2,
                        H2, N2, VU7A, VuShell, Go2, C4
                        Has thanked: 100 times
                        Been thanked: 293 times
                        Contact:

                        Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                        Post by AreaScout »

                          For 1. and 3.:
                          Sure all changes has to be made inside this file /etc/cloudshell2-monitoring/cloudshell2-monitoring.conf each line is explained, if you set LCD backlight on/off timer the HDD will also spin down when the LCD backlight is off (default), if the backlight is on it will not because each readout of the RAID controller will wakeup the drive, if the backlight is off no RAID status will be readout if spin down is allowed and temperature is taken from the CPU to control the FAN in this time (usually night time) -> to make the changes take effect you have to restart the tool with sudo systemctl restart cloudshell2-monitoring more over here -> viewtopic.php?p=246480#p246480

                          For 2.:
                          I would suggest you to use a wired network connection, WLAN sometimes can make big troubles

                          For 4.:
                          Movie Library DB works for me, but he it's Christmas time maybe the artwork servers are stressed out this days

                          RG

                          dabarsa87
                          Posts: 211
                          Joined: Tue Feb 23, 2016 5:06 am
                          languages_spoken: spanish
                          Has thanked: 0
                          Been thanked: 1 time
                          Contact:

                          Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                          Post by dabarsa87 »

                          Hello, I don't know if it happens to me alone or to someone else, but whenever I update OMV the screen stays black and I have to enter this command in Putty:

                          Code: Select all

                          fdtoverlay -v -i /boot/dtb/exynos5422-odroidxu4.dtb -o /boot/dtb/exynos5422-odroidxu4.dtb /boot/dtb/overlays/hktft-cs-ogst.dtbo /boot/dtb/overlays/i2c0.dtbo /boot/dtb/overlays/i2c1.dtbo
                          

                          AreaScout
                          Posts: 1677
                          Joined: Sun Jul 07, 2013 3:05 am
                          languages_spoken: german, english
                          ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                          N1, Go, VU5A, Show2, CloudShell2,
                          H2, N2, VU7A, VuShell, Go2, C4
                          Has thanked: 100 times
                          Been thanked: 293 times
                          Contact:

                          Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                          Post by AreaScout »

                            Do you use eMMC ?

                            dabarsa87
                            Posts: 211
                            Joined: Tue Feb 23, 2016 5:06 am
                            languages_spoken: spanish
                            Has thanked: 0
                            Been thanked: 1 time
                            Contact:

                            Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                            Post by dabarsa87 »

                            No, use sd

                            Enviado desde mi SM-G930F mediante Tapatalk


                            AreaScout
                            Posts: 1677
                            Joined: Sun Jul 07, 2013 3:05 am
                            languages_spoken: german, english
                            ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                            N1, Go, VU5A, Show2, CloudShell2,
                            H2, N2, VU7A, VuShell, Go2, C4
                            Has thanked: 100 times
                            Been thanked: 293 times
                            Contact:

                            Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                            Post by AreaScout »

                              Try to execute armbian-config then System -> Install -> Install Update the bootloader on SD/eMMC and try again

                              dabarsa87
                              Posts: 211
                              Joined: Tue Feb 23, 2016 5:06 am
                              languages_spoken: spanish
                              Has thanked: 0
                              Been thanked: 1 time
                              Contact:

                              Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                              Post by dabarsa87 »

                              Ok

                              Enviado desde mi SM-G930F mediante Tapatalk


                              soerenderfor
                              Posts: 111
                              Joined: Sun Jun 17, 2018 10:01 pm
                              languages_spoken: Danish, English
                              ODROIDs: ODROID U3, ODROID C2, ODROID XU4, ODROID N2, ODROID H2.
                              Has thanked: 7 times
                              Been thanked: 15 times
                              Contact:

                              Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                              Post by soerenderfor »

                              @AreaScout - Do you have any plans to make new updated image? If some performance tweaks, or nice featueres have been released. Thanks.

                              AreaScout
                              Posts: 1677
                              Joined: Sun Jul 07, 2013 3:05 am
                              languages_spoken: german, english
                              ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                              N1, Go, VU5A, Show2, CloudShell2,
                              H2, N2, VU7A, VuShell, Go2, C4
                              Has thanked: 100 times
                              Been thanked: 293 times
                              Contact:

                              Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                              Post by AreaScout »

                              @soerenderfor

                              I would if I had the time for it, on Wednesday I have to start a fulltime job in a printing office which is totally different to what I have learned and done in the past, so I will be shifted away from what I love to do :cry:

                              soerenderfor
                              Posts: 111
                              Joined: Sun Jun 17, 2018 10:01 pm
                              languages_spoken: Danish, English
                              ODROIDs: ODROID U3, ODROID C2, ODROID XU4, ODROID N2, ODROID H2.
                              Has thanked: 7 times
                              Been thanked: 15 times
                              Contact:

                              Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                              Post by soerenderfor »

                              @AreaScout

                              Ohh, may i ask what job you had before? I hope you will be glad for the new job, maybe it is not so bad. May the force be with you my friend:-)

                              AreaScout
                              Posts: 1677
                              Joined: Sun Jul 07, 2013 3:05 am
                              languages_spoken: german, english
                              ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                              N1, Go, VU5A, Show2, CloudShell2,
                              H2, N2, VU7A, VuShell, Go2, C4
                              Has thanked: 100 times
                              Been thanked: 293 times
                              Contact:

                              Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                              Post by AreaScout »

                                I made my graduation as electrician doing that for several years turning into PLC programing doing that for several years turning into field technician for a big bank company (maintaining Server/Workstations Printers ATM's and other cash machines) doing advanced training and certification for Micrsosoft Windows MCSA/MCSE as well as network related certification, sniffer e.t.c I was traveling a lot and have seen estimated 90% of companies producing for steel industry inside my Country, I have traveled and worked in almost every neighbor state high industry level around Austria.
                                soerenderfor wrote:
                                Tue Feb 09, 2021 3:21 pm
                                May the force be with you my friend
                                Feeling a little bit like Yoda in Star Wars Episode V "I am so tired" :lol:

                                Also have to say, May the force be with you my friend
                                These users thanked the author AreaScout for the post:
                                odroid (Tue Feb 09, 2021 6:01 pm)

                                soerenderfor
                                Posts: 111
                                Joined: Sun Jun 17, 2018 10:01 pm
                                languages_spoken: Danish, English
                                ODROIDs: ODROID U3, ODROID C2, ODROID XU4, ODROID N2, ODROID H2.
                                Has thanked: 7 times
                                Been thanked: 15 times
                                Contact:

                                Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                                Post by soerenderfor »

                                AreaScout wrote:
                                Tue Feb 09, 2021 5:59 pm
                                  I made my graduation as electrician doing that for several years turning into PLC programing doing that for several years turning into field technician for a big bank company (maintaining Server/Workstations Printers ATM's and other cash machines) doing advanced training and certification for Micrsosoft Windows MCSA/MCSE as well as network related certification, sniffer e.t.c I was traveling a lot and have seen estimated 90% of companies producing for steel industry inside my Country, I have traveled and worked in almost every neighbor state high industry level around Austria.
                                  soerenderfor wrote:
                                  Tue Feb 09, 2021 3:21 pm
                                  May the force be with you my friend
                                  Feeling a little bit like Yoda in Star Wars Episode V "I am so tired" :lol:

                                  Also have to say, May the force be with you my friend
                                  Okay now i feel with you, it seems you will now meet a very different job. But i think you can only be postive suprised. Good first day to you!

                                  Nuts_
                                  Posts: 22
                                  Joined: Thu May 20, 2021 4:09 pm
                                  languages_spoken: english, russian
                                  ODROIDs: XU4, N2
                                  Has thanked: 15 times
                                  Been thanked: 0
                                  Contact:

                                  Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                                  Post by Nuts_ »

                                  Have no luck to run this: bootloop at spash screen
                                  Can it work without cloudshell2 on pure XU4 ?

                                  AreaScout
                                  Posts: 1677
                                  Joined: Sun Jul 07, 2013 3:05 am
                                  languages_spoken: german, english
                                  ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
                                  N1, Go, VU5A, Show2, CloudShell2,
                                  H2, N2, VU7A, VuShell, Go2, C4
                                  Has thanked: 100 times
                                  Been thanked: 293 times
                                  Contact:

                                  Re: New NAS Image Debian Buster OMV5 Kernel 5.4.81 + Kodi

                                  Post by AreaScout »

                                  Nuts_ wrote:
                                  Thu May 20, 2021 4:56 pm
                                  Have no luck to run this: bootloop at spash screen
                                  Can it work without cloudshell2 on pure XU4 ?
                                  No, it includes my cloudshell2-monitoring tool and it is trying to read out the RAID controller, maybe if you can stop this tool it will boot

                                  RG

                                  Post Reply

                                  Return to “CloudShell”

                                  Who is online

                                  Users browsing this forum: No registered users and 1 guest