(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.. ):Hey, thanks for your answer
1) Absolute paths:
2) Relative paths:Code:/root/openSeaChest/Make/gcc/openseachest_exes/openSeaChest_Basics --deviceInfo --device /dev/sdX
Code:cd /root/openSeaChest/Make/gcc/openseachest_exes
./openSeaChest_Basics --deviceInfo --device /dev/sdX
I was too stupid last night, did not even come up with the idea to do it with ./openSeaChest_Basics. Sorry
![Blush Blush](https://forum.pine64.org/images/smilies/blush.png)
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
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
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 tooIt does not work...
Quote:7) Now try to see if root, knows about OpenSeachest Utilities:No Answer....
type "open" and press <TAB>, you will see at least :
Quote:4) Wait for compilation to Finish, and check if there are erros at the end.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?
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
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