Mycloud drive mount wont work

how do i correct mount the complete sda4 in mycloud via ssh.
df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 1968336 1709568 158780 92% /
/dev/root 1968336 1709568 158780 92% /
tmpfs 40960 3776 37184 10% /run
tmpfs 40960 64 40896 1% /run/lock
tmpfs 10240 0 10240 0% /dev
tmpfs 5120 0 5120 0% /run/shm
tmpfs 102400 1984 100416 2% /tmp
/dev/root 1968336 1709568 158780 92% /var/log.hdd
ramlog-tmpfs 40960 19008 21952 47% /var/log

need instruction to Mount:

CacheVolume
DataVolume
shares
Mount -t ext4 /dev/sda4 /DataVolume work but need help with CacheVolume and shares

Manual Firmware recover Ends up with error:

CrashCloud:/shares# /usr/local/sbin/updateFirmwareFromFile.sh /DataVolume/sq-040403-113-20160510.deb
updateFirmwareFromFile.sh:09/25/16 09:44:45:: ( /DataVolume/sq-040403-113-20160510.deb )
updateFirmwareFromFile.sh:09/25/16 09:44:45:upgrade start: /DataVolume/sq-040403-113-20160510.deb
updateFirmwareFromFile.sh:09/25/16 09:44:45:check_size=
/usr/local/sbin/updateFirmwareFromFile.sh: line 195: internalDrives: command not found
Error fw_update_status: failed 205 “all drives must be present for upgrade”
updateFirmwareFromFile.sh:09/25/16 09:44:45:failed 205 “all drives must be present for upgrade”
send_update_log=200

/etc# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 1968336 1709568 158780 92% /
/dev/root 1968336 1709568 158780 92% /
tmpfs 40960 3968 36992 10% /run
tmpfs 40960 64 40896 1% /run/lock
tmpfs 10240 0 10240 0% /dev
tmpfs 5120 0 5120 0% /run/shm
tmpfs 102400 2368 100032 3% /tmp
/dev/root 1968336 1709568 158780 92% /var/log.hdd
ramlog-tmpfs 40960 24448 16512 60% /var/log
/dev/sda4 3841069352 3272834184 490189104 87% /hdd
/dev/sda4 3841069352 3272834184 490189104 87% /DataVolume
/dev/sda4 3841069352 3272834184 490189104 87% /CacheVolume

/etc# updateFirmwareFromFile.sh /CacheVolume/updateFile.deb
updateFirmwareFromFile.sh:09/25/16 12:56:25:: ( /CacheVolume/updateFile.deb )
updateFirmwareFromFile.sh:09/25/16 12:56:25:upgrade start: /CacheVolume/updateFile.deb
updateFirmwareFromFile.sh:09/25/16 12:56:26:check_size=
/usr/local/sbin/updateFirmwareFromFile.sh: line 195: internalDrives: command not found
Error fw_update_status: failed 205 “all drives must be present for upgrade”
updateFirmwareFromFile.sh:09/25/16 12:56:26:failed 205 “all drives must be present for upgrade”

only error 205 now

This is my df from a gen1 system. YOu are missing the nfs mounts. You don’t need the /hdd mount.
LauralandHardy:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 1968336 680236 1188112 37% /
/dev/root 1968336 680236 1188112 37% /
tmpfs 40960 3712 37248 10% /run
tmpfs 40960 64 40896 1% /run/lock
tmpfs 10240 0 10240 0% /dev
tmpfs 5120 0 5120 0% /run/shm
tmpfs 102400 2624 99776 3% /tmp
/dev/root 1968336 680236 1188112 37% /var/log.hdd
ramlog-tmpfs 40960 8448 32512 21% /var/log
/dev/sda4 5809669936 69207376 5623346412 2% /DataVolume
/dev/sda4 5809669936 69207376 5623346412 2% /CacheVolume
/dev/sda4 5809669936 69207376 5623346412 2% /nfs/Public
/dev/sda4 5809669936 69207376 5623346412 2% /nfs/SmartWare
/dev/sda4 5809669936 69207376 5623346412 2% /nfs/TimeMachineBackup
/dev/sda4 5809669936 69207376 5623346412 2% /nfs/George

how to Mount the nfs correct?

Make sure that you have a folder named /nfs Then
mount -t ext3 /dev/sda4 /nfs/Public
mount -t ext3 /dev/sda4 /nfs/SmartWare
mount -t ext3 /dev/sda4 /nfs/TimeMachineBackup

The George folder is the user I created.

mount -t ext3 /dev/sda4 /nfs/Public
mount: /dev/sda4 already mounted or /nfs/Public busy
mount: according to mtab, /dev/sda4 is mounted on /DataVolume

ist ext4 to Mount
df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 1968336 1710188 158160 92% /
/dev/root 1968336 1710188 158160 92% /
tmpfs 40960 3776 37184 10% /run
tmpfs 40960 64 40896 1% /run/lock
tmpfs 10240 0 10240 0% /dev
tmpfs 5120 0 5120 0% /run/shm
tmpfs 102400 1856 100544 2% /tmp
/dev/root 1968336 1710188 158160 92% /var/log.hdd
ramlog-tmpfs 40960 20416 20544 50% /var/log
/dev/sda4 3841069352 3272848860 490174428 87% /DataVolume
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/Public
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/SmartWare
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/TimeMachineBackup
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/Download

how can i bind CacheVolume correct?

now ist evrything mounted but same error

df
Filesystem 1K-blocks Used Available Use% Mounted on
rootfs 1968336 1710184 158164 92% /
/dev/root 1968336 1710184 158164 92% /
tmpfs 40960 3776 37184 10% /run
tmpfs 40960 64 40896 1% /run/lock
tmpfs 10240 0 10240 0% /dev
tmpfs 5120 0 5120 0% /run/shm
tmpfs 102400 1920 100480 2% /tmp
/dev/root 1968336 1710184 158164 92% /var/log.hdd
ramlog-tmpfs 40960 18368 22592 45% /var/log
/dev/sda4 3841069352 3272848860 490174428 87% /DataVolume
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/Public
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/SmartWare
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/TimeMachineBackup
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/Download
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/Horror
/dev/sda4 3841069352 3272848860 490174428 87% /CacheVolume
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/Musik
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/Bilder
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/Hardware
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/Software
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/Treiber
/dev/sda4 3841069352 3272848860 490174428 87% /nfs/Backup_01
CrashCloud:/nfs# /usr/local/sbin/updateFirmwareFromFile.sh /DataVolume/updateFile.deb
updateFirmwareFromFile.sh:09/25/16 14:01:51:: ( /DataVolume/updateFile.deb )
updateFirmwareFromFile.sh:09/25/16 14:01:51:upgrade start: /DataVolume/updateFile.deb
updateFirmwareFromFile.sh:09/25/16 14:01:52:check_size=
/usr/local/sbin/updateFirmwareFromFile.sh: line 195: internalDrives: command not found
Error fw_update_status: failed 205 “all drives must be present for upgrade”
updateFirmwareFromFile.sh:09/25/16 14:01:52:failed 205 “all drives must be present for upgrade”
send_update_log=200

I was wrong. sda4 is ext4.

RAC

NP but it wont work with all drive and nfs mount

Also you need to use --bind when adding some of the mount points. You can see in the file /etc/init.d/mountDataVolume.sh

RAC
PS Don’t know where the nfs mounts are done.

first finish is the nfs work correct and i can backup all files,

second Problem now is to recover the Firmware

thank you for help and if you have other ideas will be great

You should search for the unbrick threads.

RAC

after reboot the Mount are deleted.

how can i Mount them fix

Let’s go back a bit.

How did you get into this situation? The things you are doing aren’t ‘normal’.

What has happened that made it necessary to upgrade via SSH, and why are your mounts missing?

First time i have installed the teanazar webmod with an wordpress.
second time i uninstalled the package Manual with apt-get remove 2 month ago
at thurday i want to actualize my Debian,

apt-get update
apt-get upgrade
apt-get autoclean

after this i have Problem with

The following packages have unmet dependencies:
libtirpc1 : Breaks: nfs-common (< 1:1.2.8-7) but 1:1.2.6-4 is to be installed
Breaks: nfs-kernel-server (< 1:1.2.8-7) but 1:1.2.6-4 is to be installed

reboot

and then the Trouble Begins

i think at check the Mount nfs/all .sh the Firmwareupdate will work again if the Partition are correct Mount and bind to the right Folders.

Yes… apt-get is a potential disaster on the v4 firmware MyCloud, because v4 is built with a 64k block size, rather than the 4k block size used for standard Debian repositories. You now probably have an unholy mess on your device…

If you can get firmwareupdate to run, and run a system restore, you may be okay. If you don’t have your data backed up, I’d try to do that now…

If you can’t resurrect your device with the method you’re using, you may have to use one of the unbricking methods to restore the firmware, after saving your data from the drive.

i have unpacked the latest Firmware with dpkg -x and try to figure out some way to dont loose my data,

in the Moment i backup all data if this wont works

i cant find the description from the /usr/local/sbin/updateFirmwareFromFile.sh line 196 or else. it checks:

if [ “${#driveList[@]}” -lt “${MIN_ROOTFS_DRIVE_COUNT}” ]; then
error=“failed 205 "all drives must be present for upgrade"”
pre-update_error $error
fi

if this Point will be correct i hope the Firmware restore will work

can anyone send me an lsblk, think here can be some Differenz, here is mine

lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 3.7T 0 disk
|-sda1 8:1 0 1.9G 0 part
| -md0 9:0 0 1.9G 0 raid1 / |-sda2 8:2 0 1.9G 0 part | -md0 9:0 0 1.9G 0 raid1 /
|-sda3 8:3 0 489M 0 part
|-sda4 8:4 0 3.6T 0 part /DataVolume
|-sda5 8:5 0 95M 0 part
|-sda6 8:6 0 96M 0 part
|-sda7 8:7 0 1M 0 part
`-sda8 8:8 0 2M 0 part

Here is mine for a 6TB My cloud gen1
lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 5.5T 0 disk
|-sda1 8:1 0 1.9G 0 part
| -md0 9:0 0 1.9G 0 raid1 / |-sda2 8:2 0 1.9G 0 part | -md0 9:0 0 1.9G 0 raid1 /
|-sda3 8:3 0 489M 0 part [SWAP]
|-sda4 8:4 0 5.5T 0 part /DataVolume
|-sda5 8:5 0 95M 0 part
|-sda6 8:6 0 96M 0 part
|-sda7 8:7 0 1M 0 part
`-sda8 8:8 0 2M 0 part

RAC

sda3 must be a swap, how can i do this?

the other binds now work.
i hpe this is the last challenge and the Firmware Flash runs again