Tutorial[ Seagate Disks ]: Install Seagate OpenSeaChest Utilities
#1
Thumbs Up 
Hello All,
I saw that some users have Seagate IronWolfs disks paired with RockPro64..
There are some features that, are nice to configure on Seagate Disks..

Seagate has tools for disks..
Tools that are Present in the OpenSeaChest Utilities:
  • openSeaChest_Basics
  • openSeaChest_Configure
  • openSeaChest_Erase
  • openSeaChest_Firmware
  • openSeaChest_Format
  • openSeaChest_GenericTests
  • openSeaChest_Info
  • openSeaChest_Logs
  • openSeaChest_NVMe
  • openSeaChest_PowerControl
  • openSeaChest_SMART
Here is the Documentation:   Seagate SeaChest Utilities

The Repository is here: OpenSeaChest Utilities



You will need to compile OpenSeaChest Utilities, as root:

1) Jump to /root
Code:
cd /root

2) Use last Stable Releasev19.01.31 - Released 6 days ago, by xahmad )
Code:
git clone --recursive --branch v19.01.31 https://github.com/Seagate/openSeaChest.git

3) Jump into OpenSeaChest gcc compilation method and Compile the project:
    OBS: I tried using parallel compilation and it failed, better to use 1 process only like bellow..
Code:
cd openSeaChest/Make/gcc && make release

4) Wait for compilation to Finish, and check if there are erros at the end.
    If there are no errors, then copy binaries to final destination and remove code stuff used to compile:
Code:
mkdir -pv /opt/openSeaChest/bin && mv openseachest_exes/* /opt/openSeaChest/bin
cd / && rm -rf /root/openSeaChest

5) Update your root PATH environment var to know about OpenSeachest Utilities:
Code:
cat <<<'export PATH="${PATH}:/opt/openSeaChest/bin"' >> /root/.bashrc

6) Exit from root and log again has root,
Code:
exit && sudo su -

7) Now try to see if root, knows about OpenSeachest Utilities:
    type "open" and press <TAB>, you will see at least :
Code:
                           openSeaChest_FormatUnit    openSeaChest_PowerControl
openSeaChest_Basics        openSeaChest_GenericTests  openSeaChest_SMART
openSeaChest_Configure     openSeaChest_Info          openSeaChest_ZBD
openSeaChest_Erase         openSeaChest_Logs          
openSeaChest_Firmware      openSeaChest_NVMe          

8) Now has a Candy, check information about your Disk, using openSeaChest_Basics:
Code:
# openSeaChest_Basics --deviceInfo --device /dev/sdX

==========================================================================================
openSeaChest_Basics - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_Basics Version: 2.8.0-1_19_0 ARM
Build Date: Feb  3 2019
Today: Wed Feb  6 12:56:52 2019
==========================================================================================

/dev/sg0 - ST4000VN008-XXXXXX - XXXXXXXX - ATA
    Model Number: ST4000VN008-XXXXXX
    Serial Number: XXXXXXXX
    Firmware Revision: SC60
    World Wide Name: XXXXXXXXXXXXXXXX
    Drive Capacity (TB/TiB): 4.00/3.64
    Native Drive Capacity (TB/TiB): 4.00/3.64
    Temperature Data:
        Current Temperature (C): 16
        Highest Temperature (C): 27
        Lowest Temperature (C): 13
    Power On Time:  4 days 6 hours 59 minutes
    Power On Hours: 102.98
    MaxLBA: 7814037167
    Native MaxLBA: 7814037167
    Logical Sector Size (B): 512
    Physical Sector Size (B): 4096
    Sector Alignment: 0
    Rotation Rate (RPM): 5980
    Form Factor (inch): 3.5
    Last DST information:
        DST has never been run
    Long Drive Self Test Time:  10 hours 13 minutes
    Interface speed:
        Max Speed (Gb/s): 6.0
        Negotiated Speed (Gb/s): 6.0
    Annualized Workload Rate (TB/yr): 341.03
    Total Bytes Read (TB): 4.01
    Total Bytes Written (MB): 24.24
    Encryption Support: Not Supported
    Cache Size (MiB): 64.00
    Read Look-Ahead: Enabled
    Write Cache: Enabled
    Low Current Spinup: Enabled
    SMART Status: Good
    ATA Security Information: Supported
    Firmware Download Support: Full, Segmented, Deferred, DMA
    Specifications Supported:
        ACS-3
        ACS-2
        ATA8-ACS
        ATA/ATAPI-7
        ATA/ATAPI-6
        ATA/ATAPI-5
        ATA/ATAPI-4
        SATA 3.1
        SATA 3.0
        SATA 2.6
        SATA 2.5
        SATA II: Extensions
        SATA 1.0a
        ATA8-AST
    Features Supported:
        Sanitize
        SATA NCQ
        SATA Rebuild Assist
        SATA Software Settings Preservation [Enabled]
        SATA Device Initiated Power Management
        HPA
        Power Management
        Security
        SMART [Enabled]
        DCO
        48bit Address
        PUIS [Enabled]
        APM [Enabled]
        GPL
        Streaming
        SMART Self-Test
        SMART Error Logging
        Write-Read-Verify
        Sense Data Reporting [Enabled]
        SCT Write Same
        SCT Error Recovery Control
        SCT Feature Control
        SCT Data Tables
        Host Logging
        Seagate In Drive Diagnostics (IDD)

OBS: Read Carefully the Documentation about OpenSeachest Utilities, to not damage your data, or your disk..
          Start by openSeaChest_Basics tool, which seems less prone, to problems.. in the time you are aquiring the needed skills..

Hope you Enjoy.. [Image: thumbsup.png]
Regards
  Reply
#2
Appreciate and thanks on the tutorial.
  Reply
#3
(02-06-2019, 07:53 PM)tllim Wrote: Appreciate and thanks on the tutorial.

Hello tllim,
You welcome   Shy
  Reply
#4
(02-06-2019, 07:05 AM)tuxd3v Wrote: 8) Now has a Candy, check information about your Disk, using openSeaChest_Basics:
Hello tuxd3v, I need your help again please
I have decided to install OpenSeachest.
So far my actions are:
Code:
cd /root
git clone --recursive --branch v19.01.31 https://github.com/Seagate/openSeaChest.git
cd openSeaChest/Make/gcc && make release
after the make release command as far as I can see, there are no errors. Last lines after make release command >
Code:
../../utils/C/openSeaChest/openSeaChest_NVMe.c:74:5: note: in expansion of macro 'PARTIAL_DATA_ERASE_VAR'
    PARTIAL_DATA_ERASE_VAR
    ^~~~~~~~~~~~~~~~~~~~~~
../../utils/C/openSeaChest/openSeaChest_NVMe.c:1134:34: warning: 'fullSize' may be used uninitialized in this function [-Wmaybe-uninitialized]
                            while(offset < fullSize)
                                 ^
cc ../../utils/C/openSeaChest/openSeaChest_NVMe.o ../../src/EULA.o ../../src/openseachest_util_options.o -Wall ../../opensea-operations/Make/gcc/lib/libopensea-operations.a ../../opensea-transport/Make/gcc/lib/libopensea-transport.a ../../opensea-common/Make/gcc/lib/libopensea-common.a -lm -lrt -o openseachest_exes/openSeaChest_NVMe
cc -Wall -c -std=gnu99 -O3 -I../../opensea-common/include -I../../opensea-transport/include -I../../include -I../../opensea-operations/include -DDISABLE_TCG_SUPPORT ../../utils/C/openSeaChest/openSeaChest_Logs.c -o ../../utils/C/openSeaChest/openSeaChest_Logs.o
cc ../../utils/C/openSeaChest/openSeaChest_Logs.o ../../src/EULA.o ../../src/openseachest_util_options.o -Wall ../../opensea-operations/Make/gcc/lib/libopensea-operations.a ../../opensea-transport/Make/gcc/lib/libopensea-transport.a ../../opensea-common/Make/gcc/lib/libopensea-common.a -lm -lrt -o openseachest_exes/openSeaChest_Logs
Before I put it to copying and the binaries to the final destination, I first wanted to test it.
(02-06-2019, 07:05 AM)tuxd3v Wrote: 7) Now try to see if root, knows about OpenSeachest Utilities:
    type "open" and press <TAB>, you will see at least :
Code:
                           openSeaChest_FormatUnit    openSeaChest_PowerControl
openSeaChest_Basics        openSeaChest_GenericTests  openSeaChest_SMART
openSeaChest_Configure     openSeaChest_Info          openSeaChest_ZBD
openSeaChest_Erase         openSeaChest_Logs          
openSeaChest_Firmware      openSeaChest_NVMe        
Try with the command >
Code:
cd /root/openSeaChest/Make/gcc/openseachest_exes
ls
openSeaChest_Basics     openSeaChest_Firmware      openSeaChest_Info  openSeaChest_PowerControl
openSeaChest_Configure  openSeaChest_FormatUnit    openSeaChest_Logs  openSeaChest_SMART
openSeaChest_Erase      openSeaChest_GenericTests  openSeaChest_NVMe  openSeaChest_ZBD
type "open" and press <TAB>
No function
Code:
openSeaChest_Basics
-bash: openSeaChest_Basics: command not found
 openSeaChest_Info
-bash: openSeaChest_Info: command not found
What's wrong, how do I test the functions?
Many Thanks!
  Reply
#5
Sad 
(02-28-2019, 02:02 PM)Neo2018 Wrote: I have decided to install OpenSeachest.
So far my actions are:

Before I put it to copying and the binaries to the final destination, I first wanted to test it.
(02-06-2019, 07:05 AM)tuxd3v Wrote: 7) Now try to see if root, knows about OpenSeachest Utilities:
    type "open" and press <TAB>, you will see at least :
Code:
                           openSeaChest_FormatUnit    openSeaChest_PowerControl
openSeaChest_Basics        openSeaChest_GenericTests  openSeaChest_SMART
openSeaChest_Configure     openSeaChest_Info          openSeaChest_ZBD
openSeaChest_Erase         openSeaChest_Logs          
openSeaChest_Firmware      openSeaChest_NVMe        
Try with the command >
Code:
cd /root/openSeaChest/Make/gcc/openseachest_exes
ls
openSeaChest_Basics     openSeaChest_Firmware      openSeaChest_Info  openSeaChest_PowerControl
openSeaChest_Configure  openSeaChest_FormatUnit    openSeaChest_Logs  openSeaChest_SMART
openSeaChest_Erase      openSeaChest_GenericTests  openSeaChest_NVMe  openSeaChest_ZBD
type "open" and press <TAB>
No function
Code:
openSeaChest_Basics
-bash: openSeaChest_Basics: command not found
 openSeaChest_Info
-bash: openSeaChest_Info: command not found
What's wrong, how do I test the functions?
Many Thanks!

Hello Neo2018,
No problem [Image: wink.png]

Because you don't have binaries in final destination and maybe not in the PATH Environment Variable yet, you cannot execute them as if the system knows were they are..
You need to execute, or with absolute paths, or relative to the folder they are:

A example of openSeaChest_Basics options '-h' switch, to see possibilities of the tool:

1) Absolute paths:
Code:
/root/openSeaChest/Make/gcc/openseachest_exes/openSeaChest_Basics -h

2) Relative paths:
Code:
cd /root/openSeaChest/Make/gcc/openseachest_exes
./openSeaChest_Basics -h

In your case, that you want to see information about the disks( X is your drive letter, a,b,c,d and so on.. ):

1) Absolute paths:
Code:
/root/openSeaChest/Make/gcc/openseachest_exes/openSeaChest_Basics --deviceInfo --device /dev/sdX

2) Relative paths:
Code:
cd /root/openSeaChest/Make/gcc/openseachest_exes
./openSeaChest_Basics --deviceInfo --device /dev/sdX

In this way, you can use all tools, but its boring since you can follow steps 4,5,6.. and after that you can purely issue the command you want too 

Drop me a line, how it were going [Image: shy.png]
  Reply
#6
(03-01-2019, 10:40 AM)tuxd3v Wrote: In your case, that you want to see information about the disks( X is your drive letter, a,b,c,d and so on.. ):
1) Absolute paths:
Code:
/root/openSeaChest/Make/gcc/openseachest_exes/openSeaChest_Basics --deviceInfo --device /dev/sdX
2) Relative paths:
Code:
cd /root/openSeaChest/Make/gcc/openseachest_exes
./openSeaChest_Basics --deviceInfo --device /dev/sdX
Hey, thanks for your answer
I was too stupid last night, did not even come up with the idea to do it with ./openSeaChest_Basics. Sorry Blush
but unfortunately that does not work properly>  /root/openSeaChest/Make/gcc/openseachest_exes/openSeaChest_Basics --deviceInfo --device /dev/sdb > output >
Code:
/root/openSeaChest/Make/gcc/openseachest_exes/openSeaChest_Basics --deviceInfo --device /dev/sdb
==========================================================================================
openSeaChest_Basics - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_Basics Version: 2.8.0-1_19_0 ARM
Build Date: Feb 28 2019
Today: Fri Mar  1 18:18:46 2019
==========================================================================================
open: Bad address
open failure
Error: 14 - Bad address
Error: Could not open handle to /dev/sdb
my hard drives >
Code:
:~# df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            1.9G     0  1.9G   0% /dev
tmpfs           388M   40M  348M  11% /run
/dev/mmcblk1p7   57G  8.8G   46G  17% /
tmpfs           1.9G  8.0K  1.9G   1% /dev/shm
tmpfs           5.0M  8.0K  5.0M   1% /run/lock
tmpfs           1.9G     0  1.9G   0% /sys/fs/cgroup
tmpfs           1.9G   36K  1.9G   1% /tmp
/dev/mmcblk1p6  112M   10K  112M   1% /boot/efi
/dev/sda1       458G  266G  193G  58% /srv/dev-disk-by-label-Daten2
/dev/sdb1       3.6T  2.3T  1.4T  64% /srv/dev-disk-by-label-Daten
folder2ram      1.9G  499M  1.5G  26% /var/log
folder2ram      1.9G     0  1.9G   0% /var/tmp
folder2ram      1.9G  724K  1.9G   1% /var/lib/openmediavault/rrd
folder2ram      1.9G  1.6M  1.9G   1% /var/spool
folder2ram      1.9G   16M  1.9G   1% /var/lib/rrdcached
folder2ram      1.9G   12K  1.9G   1% /var/lib/monit
folder2ram      1.9G  4.0K  1.9G   1% /var/lib/php
folder2ram      1.9G  4.0K  1.9G   1% /var/lib/netatalk/CNID
folder2ram      1.9G  524K  1.9G   1% /var/cache/samba
overlay          57G  8.8G   46G  17% /var/lib/docker/overlay2/915c4ad2cc7d3cde1e6bede0bf6fccd152a371fe96a1dc7b3c388486136dc2db/merged
overlay          57G  8.8G   46G  17% /var/lib/docker/overlay2/926760e4cc0d73f08bc8d1c9acffad1b88c77f116812f790d4e29403509b9ca4/merged
overlay          57G  8.8G   46G  17% /var/lib/docker/overlay2/f5093a63511d249a8c80d8752f60ddc4fb166944dac056b354adf853053d8c5d/merged
shm              64M     0   64M   0% /var/lib/docker/containers/db1a35c9e6185adf6e04a220da21a23d1ecaf5dabb19e9600938c4fcfcef0490/mounts/shm
shm              64M     0   64M   0% /var/lib/docker/containers/e41de1c0c35a1dccf993ee58f88e610f910506bbc7526aa6b6a285b99a74bc0e/mounts/shm
shm              64M     0   64M   0% /var/lib/docker/containers/04dc60abbb2bab37469103288fb74ba2e0d119ec9a74bc31e0771221c9c853f9/mounts/shm
overlay          57G  8.8G   46G  17% /var/lib/docker/overlay2/82205090b3380be4d858d032a57cd65e99143ad7f6c56ea72710d77dddcc6283/merged
shm              64M     0   64M   0% /var/lib/docker/containers/99caab121e27b07f61b49427783d880f3f8f9349f9b98807dec560a5f427c699/mounts/shm
tmpfs           388M     0  388M   0% /run/user/0
That's why I wanted to test that first.
I try that with  >
Quote:In this way, you can use all tools, but its boring since you can follow steps 4,5,6.. and after that you can purely issue the command you want too

(03-01-2019, 10:40 AM)tuxd3v Wrote: In this way, you can use all tools, but its boring since you can follow steps 4,5,6.. and after that you can purely issue the command you want too
It does not work...
Quote:7) Now try to see if root, knows about OpenSeachest Utilities:
type "open" and press <TAB>, you will see at least :
No Answer....
Quote:4) Wait for compilation to Finish, and check if there are erros at the end.
    If there are no errors, then copy binaries to final destination and remove code stuff used to compile:
Code:
mkdir -pv /opt/openSeaChest/bin && mv openseachest_exes/* /opt/openSeaChest/bin
cd / && rm -rf /root/openSeaChest
The folder has now been deleted > cd / && rm -rf /root/openSeaChest ......... I now need everything from new download and > cd openSeaChest/Make/gcc && make release > re-execute?
Code:
:/opt/openSeaChest/bin# ls -la
total 8640
drwxr-xr-x 2 root root   4096 Mar  1 19:25 .
drwxr-xr-x 3 root root   4096 Mar  1 19:25 ..
-rwxr-xr-x 1 root root 747660 Feb 28 19:53 openSeaChest_Basics
-rwxr-xr-x 1 root root 733056 Feb 28 19:53 openSeaChest_Configure
-rwxr-xr-x 1 root root 737828 Feb 28 19:53 openSeaChest_Erase
-rwxr-xr-x 1 root root 636864 Feb 28 19:56 openSeaChest_Firmware
-rwxr-xr-x 1 root root 729564 Feb 28 19:56 openSeaChest_FormatUnit
-rwxr-xr-x 1 root root 752088 Feb 28 19:53 openSeaChest_GenericTests
-rwxr-xr-x 1 root root 824812 Feb 28 19:56 openSeaChest_Info
-rwxr-xr-x 1 root root 700332 Feb 28 19:56 openSeaChest_Logs
-rwxr-xr-x 1 root root 739004 Feb 28 19:56 openSeaChest_NVMe
-rwxr-xr-x 1 root root 743072 Feb 28 19:53 openSeaChest_PowerControl
-rwxr-xr-x 1 root root 741984 Feb 28 19:53 openSeaChest_SMART
-rwxr-xr-x 1 root root 725144 Feb 28 19:56 openSeaChest_ZBD
  Reply
#7
(03-01-2019, 11:48 AM)Neo2018 Wrote: The folder has now been deleted > cd / && rm -rf /root/openSeaChest ......... I now need everything from new download and > cd openSeaChest/Make/gcc && make release > re-execute?
Code:
:/opt/openSeaChest/bin# ls -la
total 8640
drwxr-xr-x 2 root root   4096 Mar  1 19:25 .
drwxr-xr-x 3 root root   4096 Mar  1 19:25 ..
-rwxr-xr-x 1 root root 747660 Feb 28 19:53 openSeaChest_Basics
-rwxr-xr-x 1 root root 733056 Feb 28 19:53 openSeaChest_Configure
-rwxr-xr-x 1 root root 737828 Feb 28 19:53 openSeaChest_Erase
-rwxr-xr-x 1 root root 636864 Feb 28 19:56 openSeaChest_Firmware
-rwxr-xr-x 1 root root 729564 Feb 28 19:56 openSeaChest_FormatUnit
-rwxr-xr-x 1 root root 752088 Feb 28 19:53 openSeaChest_GenericTests
-rwxr-xr-x 1 root root 824812 Feb 28 19:56 openSeaChest_Info
-rwxr-xr-x 1 root root 700332 Feb 28 19:56 openSeaChest_Logs
-rwxr-xr-x 1 root root 739004 Feb 28 19:56 openSeaChest_NVMe
-rwxr-xr-x 1 root root 743072 Feb 28 19:53 openSeaChest_PowerControl
-rwxr-xr-x 1 root root 741984 Feb 28 19:53 openSeaChest_SMART
-rwxr-xr-x 1 root root 725144 Feb 28 19:56 openSeaChest_ZBD

No, You now have the binaries in final destination.. [Image: shy.png]

you need this:
Code:
# grep openSeaChes /root/.bashrc --color
export PATH="${PATH}:/opt/openSeaChest/bin"

or you can also do it for your session with:

Code:
export PATH="${PATH}:/opt/openSeaChest/bin"
Then type 'open' + <TAB>

In the error you report..."wrong channel", that its strange, could be anny special char in the between..

when you do 
Code:
lsblk
 
What appears in your NAS box?
  Reply
#8
(03-01-2019, 04:56 PM)tuxd3v Wrote: or you can also do it for your session with:
Code:
export PATH="${PATH}:/opt/openSeaChest/bin"
Then type 'open' + <TAB>
Ok that works now.
Code:
:~# open
openSeaChest_Basics        openSeaChest_FormatUnit    openSeaChest_NVMe          openssl
openSeaChest_Configure     openSeaChest_GenericTests  openSeaChest_PowerControl  openvpn
openSeaChest_Erase         openSeaChest_Info          openSeaChest_SMART
openSeaChest_Firmware      openSeaChest_Logs          openSeaChest_ZBD
But >
Code:
:~# openSeaChest_Basics --deviceInfo --device /dev/sdb
==========================================================================================
openSeaChest_Basics - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_Basics Version: 2.8.0-1_19_0 ARM
Build Date: Feb 28 2019
Today: Sat Mar  2 11:38:54 2019
==========================================================================================
open: Bad address
open failure
Error: 14 - Bad address
Error: Could not open handle to /dev/sdb
Error ! ? Why, how so?
Quote:In the error you report..."wrong channel", that its strange, could be anny special char in the between..
when you do 
Code:
Code:
lsblk
 What appears in your NAS box?
Code:
:~# lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda            8:0    0 465.8G  0 disk
`-sda1         8:1    0 465.8G  0 part /srv/dev-disk-by-label-Daten2
sdb            8:16   0   3.7T  0 disk
`-sdb1         8:17   0   3.7T  0 part /srv/dev-disk-by-label-Daten
mtdblock0     31:0    0     4M  0 disk
mtdblock1     31:1    0    32K  0 disk
mtdblock2     31:2    0   256K  0 disk
mmcblk1      179:0    0  57.6G  0 disk
|-mmcblk1p1  179:1    0   3.9M  0 part
|-mmcblk1p2  179:2    0    64K  0 part
|-mmcblk1p3  179:3    0     4M  0 part
|-mmcblk1p4  179:4    0     4M  0 part
|-mmcblk1p5  179:5    0     4M  0 part
|-mmcblk1p6  179:6    0   112M  0 part /boot/efi
`-mmcblk1p7  179:7    0  57.5G  0 part /
mmcblk1boot0 179:32   0     4M  1 disk
mmcblk1boot1 179:64   0     4M  1 disk
mmcblk1rpmb  179:96   0     4M  0 disk
Where is the mistake?
  Reply
#9
(03-02-2019, 04:54 AM)Neo2018 Wrote:
Code:
:~# lsblk
NAME         MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda            8:0    0 465.8G  0 disk
`-sda1         8:1    0 465.8G  0 part /srv/dev-disk-by-label-Daten2
sdb            8:16   0   3.7T  0 disk
`-sdb1         8:17   0   3.7T  0 part /srv/dev-disk-by-label-Daten
mtdblock0     31:0    0     4M  0 disk
mtdblock1     31:1    0    32K  0 disk
mtdblock2     31:2    0   256K  0 disk
mmcblk1      179:0    0  57.6G  0 disk
|-mmcblk1p1  179:1    0   3.9M  0 part
|-mmcblk1p2  179:2    0    64K  0 part
|-mmcblk1p3  179:3    0     4M  0 part
|-mmcblk1p4  179:4    0     4M  0 part
|-mmcblk1p5  179:5    0     4M  0 part
|-mmcblk1p6  179:6    0   112M  0 part /boot/efi
`-mmcblk1p7  179:7    0  57.5G  0 part /
mmcblk1boot0 179:32   0     4M  1 disk
mmcblk1boot1 179:64   0     4M  1 disk
mmcblk1rpmb  179:96   0     4M  0 disk
Where is the mistake?

Hello Neo2018,
It could be a hidden character called 'special characters'..or it could be something else..

Run this command, to see if it detect the disks..
Code:
openSeaChest_Basics --scan

Please, the part that says:
'Model Number' - Substitute last content after '-' by 'XXXXXX'
'Serial Number'  - Substitute all by 'XXXXXXXX'

After that,
Paste output...it could be related to the pcie-controller, and this could be helpful, not only to you, but also to other users [Image: wink.png]
  Reply
#10
(03-02-2019, 11:06 AM)tuxd3v Wrote: It could be a hidden character called 'special characters'..or it could be something else..
Run this command, to see if it detect the disks..
Code:
openSeaChest_Basics --scan
>
Code:
:~# openSeaChest_Basics --scan
==========================================================================================
openSeaChest_Basics - openSeaChest drive utilities - NVMe Enabled
Copyright (c) 2014-2018 Seagate Technology LLC and/or its Affiliates, All Rights Reserved
openSeaChest_Basics Version: 2.8.0-1_19_0 ARM
Build Date: Feb 28 2019
Today: Sat Mar  2 18:13:39 2019
==========================================================================================
open: Bad address
open failure
Error: 14 - Bad address
open: Bad address
open failure
Error: 14 - Bad address
(03-02-2019, 11:06 AM)tuxd3v Wrote: Please, the part that says:
'Model Number' - Substitute last content after '-' by 'XXXXXX'
'Serial Number'  - Substitute all by 'XXXXXXXX'
After that,
Paste output...it could be related to the pcie-controller, and this could be helpful, not only to you, but also to other users [Image: wink.png]
IN OMV WEB/GUI INTERFACE
[Image: 2RXMK.jpg]

Code:
smartctl 6.6 2016-05-31 r4324 [aarch64-linux-4.4.154-1132-rockchip-ayufan-g8260cd865508] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Seagate IronWolf
Device Model:     ST4000VN008-2DR166
Serial Number:    ZDH36NNE
LU WWN Device Id: 5 000c50 0afc5c4f5
Firmware Version: SC60
User Capacity:    4,000,787,030,016 bytes [4.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5980 rpm
Form Factor:      3.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Sat Mar  2 18:28:35 2019 CET
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
AAM feature is:   Unavailable
APM level is:     254 (maximum performance)
Rd look-ahead is: Enabled
Write cache is:   Disabled
ATA Security is:  Disabled, NOT FROZEN [SEC1]
Wt Cache Reorder: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)    Offline data collection activity
                    was completed without error.
                    Auto Offline Data Collection: Enabled.
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:         (  591) 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:      (   1) minutes.
Extended self-test routine
recommended polling time:      ( 636) minutes.
Conveyance self-test routine
recommended polling time:      (   2) minutes.
SCT capabilities:            (0x50bd)    SCT Status supported.
                    SCT Error Recovery Control supported.
                    SCT Feature Control supported.
                    SCT Data Table supported.

SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAGS    VALUE WORST THRESH FAIL RAW_VALUE
 1 Raw_Read_Error_Rate     POSR--   080   064   044    -    100551871
 3 Spin_Up_Time            PO----   094   094   000    -    0
 4 Start_Stop_Count        -O--CK   085   085   020    -    15686
 5 Reallocated_Sector_Ct   PO--CK   100   100   010    -    0
 7 Seek_Error_Rate         POSR--   088   060   045    -    631875942
 9 Power_On_Hours          -O--CK   091   091   000    -    8453 (229 242 0)
10 Spin_Retry_Count        PO--C-   100   100   097    -    0
12 Power_Cycle_Count       -O--CK   100   100   020    -    37
184 End-to-End_Error        -O--CK   100   100   099    -    0
187 Reported_Uncorrect      -O--CK   100   100   000    -    0
188 Command_Timeout         -O--CK   100   100   000    -    0
189 High_Fly_Writes         -O-RCK   100   100   000    -    0
190 Airflow_Temperature_Cel -O---K   062   053   040    -    38 (Min/Max 24/41)
191 G-Sense_Error_Rate      -O--CK   100   100   000    -    0
192 Power-Off_Retract_Count -O--CK   090   090   000    -    21292
193 Load_Cycle_Count        -O--CK   082   082   000    -    37230
194 Temperature_Celsius     -O---K   038   047   000    -    38 (0 21 0 0 0)
197 Current_Pending_Sector  -O--C-   100   100   000    -    0
198 Offline_Uncorrectable   ----C-   100   100   000    -    0
199 UDMA_CRC_Error_Count    -OSRCK   200   200   000    -    1
240 Head_Flying_Hours       ------   100   253   000    -    3346 (16 125 0)
241 Total_LBAs_Written      ------   100   253   000    -    12977159047
242 Total_LBAs_Read         ------   100   253   000    -    38338985213
                           ||||||_ K auto-keep
                           |||||__ C event count
                           ||||___ R error rate
                           |||____ S speed/performance
                           ||_____ O updated online
                           |______ P prefailure warning

General Purpose Log Directory Version 1
SMART           Log Directory Version 1 [multi-sector log support]
Address    Access  R/W   Size  Description
0x00       GPL,SL  R/O      1  Log Directory
0x01           SL  R/O      1  Summary SMART error log
0x02           SL  R/O      5  Comprehensive SMART error log
0x03       GPL     R/O      5  Ext. Comprehensive SMART error log
0x04       GPL,SL  R/O      8  Device Statistics log
0x06           SL  R/O      1  SMART self-test log
0x07       GPL     R/O      1  Extended self-test log
0x09           SL  R/W      1  Selective self-test log
0x10       GPL     R/O      1  SATA NCQ Queued Error log
0x11       GPL     R/O      1  SATA Phy Event Counters log
0x13       GPL     R/O      1  SATA NCQ Send and Receive log
0x15       GPL     R/W      1  SATA Rebuild Assist log
0x21       GPL     R/O      1  Write stream error log
0x22       GPL     R/O      1  Read stream error log
0x24       GPL     R/O    512  Current Device Internal Status Data log
0x30       GPL,SL  R/O      9  IDENTIFY DEVICE data log
0x80-0x9f  GPL,SL  R/W     16  Host vendor specific log
0xa1       GPL,SL  VS      24  Device vendor specific log
0xa2       GPL     VS    8160  Device vendor specific log
0xa6       GPL     VS     192  Device vendor specific log
0xa8-0xa9  GPL,SL  VS     136  Device vendor specific log
0xab       GPL     VS       1  Device vendor specific log
0xb0       GPL     VS    9048  Device vendor specific log
0xbe-0xbf  GPL     VS   65535  Device vendor specific log
0xc1       GPL,SL  VS      16  Device vendor specific log
0xd1       GPL     VS     136  Device vendor specific log
0xd2       GPL     VS   10000  Device vendor specific log
0xd3       GPL     VS    1920  Device vendor specific log
0xe0       GPL,SL  R/W      1  SCT Command/Status
0xe1       GPL,SL  R/W      1  SCT Data Transfer

SMART Extended Comprehensive Error Log Version: 1 (5 sectors)
No Errors Logged

SMART Extended Self-test Log Version: 1 (1 sectors)
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%      8296         -
# 2  Short offline       Completed without error       00%      8296         -
# 3  Short offline       Completed without error       00%      6965         -
# 4  Short offline       Completed without error       00%      6368         -
# 5  Short offline       Completed without error       00%      6367         -
# 6  Short offline       Completed without error       00%      6366         -
# 7  Short offline       Completed without error       00%      6365         -
# 8  Short offline       Completed without error       00%      6364         -
# 9  Short offline       Completed without error       00%      6363         -
#10  Short offline       Completed without error       00%      6362         -
#11  Short offline       Completed without error       00%      6361         -
#12  Short offline       Completed without error       00%      6360         -
#13  Short offline       Completed without error       00%      6359         -
#14  Short offline       Completed without error       00%      6358         -
#15  Short offline       Completed without error       00%      6357         -
#16  Short offline       Completed without error       00%      6356         -
#17  Short offline       Completed without error       00%      6356         -
#18  Short offline       Completed without error       00%      6354         -
#19  Short offline       Completed without error       00%      6353         -

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.

SCT Status Version:                  3
SCT Version (vendor specific):       522 (0x020a)
SCT Support Level:                   1
Device State:                        Active (0)
Current Temperature:                    37 Celsius
Power Cycle Min/Max Temperature:     24/42 Celsius
Lifetime    Min/Max Temperature:     21/47 Celsius
Under/Over Temperature Limit Count:   0/53

SCT Temperature History Version:     2
Temperature Sampling Period:         3 minutes
Temperature Logging Interval:        59 minutes
Min/Max recommended Temperature:      0/ 0 Celsius
Min/Max Temperature Limit:            0/ 0 Celsius
Temperature History Size (Index):    128 (56)

Index    Estimated Time   Temperature Celsius
 57    2019-02-25 13:17    32  *************
 58    2019-02-25 14:16    33  **************
 59    2019-02-25 15:15    32  *************
...    ..(  4 skipped).    ..  *************
 64    2019-02-25 20:10    32  *************
 65    2019-02-25 21:09    31  ************
 66    2019-02-25 22:08    33  **************
 67    2019-02-25 23:07    33  **************
 68    2019-02-26 00:06    39  ********************
 69    2019-02-26 01:05    42  ***********************
 70    2019-02-26 02:04    36  *****************
 71    2019-02-26 03:03    33  **************
 72    2019-02-26 04:02    34  ***************
 73    2019-02-26 05:01    35  ****************
...    ..(  4 skipped).    ..  ****************
 78    2019-02-26 09:56    35  ****************
 79    2019-02-26 10:55    36  *****************
 80    2019-02-26 11:54    35  ****************
 81    2019-02-26 12:53    34  ***************
 82    2019-02-26 13:52    34  ***************
 83    2019-02-26 14:51    34  ***************
 84    2019-02-26 15:50    35  ****************
 85    2019-02-26 16:49    35  ****************
 86    2019-02-26 17:48    34  ***************
 87    2019-02-26 18:47    36  *****************
 88    2019-02-26 19:46    35  ****************
 89    2019-02-26 20:45    35  ****************
 90    2019-02-26 21:44    34  ***************
 91    2019-02-26 22:43    33  **************
 92    2019-02-26 23:42    41  **********************
 93    2019-02-27 00:41    40  *********************
 94    2019-02-27 01:40    38  *******************
 95    2019-02-27 02:39    34  ***************
 96    2019-02-27 03:38    33  **************
 97    2019-02-27 04:37    33  **************
 98    2019-02-27 05:36    33  **************
 99    2019-02-27 06:35    32  *************
...    ..(  2 skipped).    ..  *************
102    2019-02-27 09:32    32  *************
103    2019-02-27 10:31    31  ************
104    2019-02-27 11:30    33  **************
105    2019-02-27 12:29    33  **************
106    2019-02-27 13:28    33  **************
107    2019-02-27 14:27    34  ***************
108    2019-02-27 15:26    35  ****************
109    2019-02-27 16:25    34  ***************
110    2019-02-27 17:24    34  ***************
111    2019-02-27 18:23    33  **************
112    2019-02-27 19:22    33  **************
113    2019-02-27 20:21    34  ***************
114    2019-02-27 21:20    35  ****************
115    2019-02-27 22:19    34  ***************
116    2019-02-27 23:18    33  **************
117    2019-02-28 00:17    37  ******************
118    2019-02-28 01:16    33  **************
119    2019-02-28 02:15    33  **************
120    2019-02-28 03:14    32  *************
...    ..(  5 skipped).    ..  *************
126    2019-02-28 09:08    32  *************
127    2019-02-28 10:07    39  ********************
  0    2019-02-28 11:06    41  **********************
  1    2019-02-28 12:05    41  **********************
  2    2019-02-28 13:04    41  **********************
  3    2019-02-28 14:03     ?  -
  4    2019-02-28 15:02    24  *****
  5    2019-02-28 16:01    32  *************
  6    2019-02-28 17:00    32  *************
  7    2019-02-28 17:59    32  *************
  8    2019-02-28 18:58    31  ************
  9    2019-02-28 19:57    33  **************
 10    2019-02-28 20:56    38  *******************
 11    2019-02-28 21:55    30  ***********
 12    2019-02-28 22:54    34  ***************
 13    2019-02-28 23:53    38  *******************
 14    2019-03-01 00:52    31  ************
 15    2019-03-01 01:51    35  ****************
 16    2019-03-01 02:50    36  *****************
 17    2019-03-01 03:49    36  *****************
 18    2019-03-01 04:48    38  *******************
 19    2019-03-01 05:47    34  ***************
 20    2019-03-01 06:46    33  **************
 21    2019-03-01 07:45    33  **************
 22    2019-03-01 08:44    40  *********************
 23    2019-03-01 09:43    33  **************
 24    2019-03-01 10:42    40  *********************
 25    2019-03-01 11:41    41  **********************
 26    2019-03-01 12:40    30  ***********
 27    2019-03-01 13:39    31  ************
 28    2019-03-01 14:38    32  *************
 29    2019-03-01 15:37    31  ************
 30    2019-03-01 16:36    32  *************
 31    2019-03-01 17:35    31  ************
 32    2019-03-01 18:34    37  ******************
 33    2019-03-01 19:33    39  ********************
 34    2019-03-01 20:32    36  *****************
 35    2019-03-01 21:31    32  *************
 36    2019-03-01 22:30    32  *************
 37    2019-03-01 23:29    32  *************
 38    2019-03-02 00:28    33  **************
 39    2019-03-02 01:27    32  *************
 40    2019-03-02 02:26    33  **************
 41    2019-03-02 03:25    35  ****************
 42    2019-03-02 04:24    33  **************
 43    2019-03-02 05:23    32  *************
...    ..(  2 skipped).    ..  *************
 46    2019-03-02 08:20    32  *************
 47    2019-03-02 09:19    31  ************
 48    2019-03-02 10:18    31  ************
 49    2019-03-02 11:17    30  ***********
 50    2019-03-02 12:16    38  *******************
 51    2019-03-02 13:15    32  *************
 52    2019-03-02 14:14    32  *************
 53    2019-03-02 15:13    34  ***************
 54    2019-03-02 16:12    34  ***************
 55    2019-03-02 17:11    35  ****************
 56    2019-03-02 18:10    34  ***************

SCT Error Recovery Control:
          Read:     70 (7.0 seconds)
         Write:     70 (7.0 seconds)

Device Statistics (GP Log 0x04)
Page  Offset Size        Value Flags Description
0x01  =====  =               =  ===  == General Statistics (rev 1) ==
0x01  0x008  4              37  ---  Lifetime Power-On Resets
0x01  0x010  4            8453  ---  Power-on Hours
0x01  0x018  6     12977158894  ---  Logical Sectors Written
0x01  0x020  6        52184450  ---  Number of Write Commands
0x01  0x028  6     38338972784  ---  Logical Sectors Read
0x01  0x030  6       268830280  ---  Number of Read Commands
0x01  0x038  6               -  ---  Date and Time TimeStamp
0x03  =====  =               =  ===  == Rotating Media Statistics (rev 1) ==
0x03  0x008  4      2280457129  N--  Spindle Motor Power-on Hours
0x03  0x010  4      2280457043  N--  Head Flying Hours
0x03  0x018  4           37230  ---  Head Load Events
0x03  0x020  4               0  ---  Number of Reallocated Logical Sectors
0x03  0x028  4               0  ---  Read Recovery Attempts
0x03  0x030  4               0  ---  Number of Mechanical Start Failures
0x03  0x038  4               0  ---  Number of Realloc. Candidate Logical Sectors
0x03  0x040  4           21293  ---  Number of High Priority Unload Events
0x04  =====  =               =  ===  == General Errors Statistics (rev 1) ==
0x04  0x008  4               0  ---  Number of Reported Uncorrectable Errors
0x04  0x010  4               0  ---  Resets Between Cmd Acceptance and Completion
0x05  =====  =               =  ===  == Temperature Statistics (rev 1) ==
0x05  0x008  1              37  ---  Current Temperature
0x05  0x010  1              33  ---  Average Short Term Temperature
0x05  0x018  1              32  ---  Average Long Term Temperature
0x05  0x020  1              47  ---  Highest Temperature
0x05  0x028  1               0  ---  Lowest Temperature
0x05  0x030  1              43  ---  Highest Average Short Term Temperature
0x05  0x038  1              22  ---  Lowest Average Short Term Temperature
0x05  0x040  1              37  ---  Highest Average Long Term Temperature
0x05  0x048  1              28  ---  Lowest Average Long Term Temperature
0x05  0x050  4               0  ---  Time in Over-Temperature
0x05  0x058  1              70  ---  Specified Maximum Operating Temperature
0x05  0x060  4               0  ---  Time in Under-Temperature
0x05  0x068  1               0  ---  Specified Minimum Operating Temperature
0x06  =====  =               =  ===  == Transport Statistics (rev 1) ==
0x06  0x008  4           12711  ---  Number of Hardware Resets
0x06  0x010  4           12599  ---  Number of ASR Events
0x06  0x018  4               1  ---  Number of Interface CRC Errors
                               |||_ C monitored condition met
                               ||__ D supports DSN
                               |___ N normalized value

SATA Phy Event Counters (GP Log 0x11)
ID      Size     Value  Description
0x000a  2            9  Device-to-host register FISes sent due to a COMRESET
0x0001  2            0  Command failed due to ICRC error
0x0003  2            0  R_ERR response for device-to-host data FIS
0x0004  2            0  R_ERR response for host-to-device data FIS
0x0006  2            0  R_ERR response for device-to-host non-data FIS
0x0007  2            0  R_ERR response for host-to-device non-data FIS
[Image: 2RXNC.jpg][Image: 2RXND.jpg]

please tell me the console / terminal commands, for more output
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Wink Tutorial[ Seagate Disks ]: Optimize Life Span/Power Managment tuxd3v 14 841 06-19-2019, 04:40 AM
Last Post: Neo2018
Video How to Install Google PlayStore NightCrawler504 0 247 05-01-2019, 12:39 PM
Last Post: NightCrawler504
Video Video and Guide to install Android to emmc no emmc to usb adapter NightCrawler504 0 282 04-21-2019, 07:19 PM
Last Post: NightCrawler504
  Tutorial[ Multimedia ] : Play DVD movies tuxd3v 0 184 02-26-2019, 07:21 PM
Last Post: tuxd3v
  Tutorial:How to Configure ATS Fan control tuxd3v 22 5,221 02-10-2019, 09:09 AM
Last Post: tuxd3v
  Tutorial[ OpenCL ]: OpenCL 1.2 FULL_PROFILE Working tuxd3v 0 799 11-06-2018, 01:03 PM
Last Post: tuxd3v
  HOW TO - install linux on emmc without etcher or USB adapter dukla2000 4 2,381 07-31-2018, 12:40 PM
Last Post: dukla2000

Forum Jump:


Users browsing this thread: 1 Guest(s)