I've lost all my files .

Re: I've lost all my files .

Postby Jocko » Mon Apr 27, 2020 8:45 am

Hi

In addition with fvdw's post, the folder shares should not be here. It is not a folder created by the firmware. Maybe there are some big files here
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: I've lost all my files .

Postby fvdw » Mon Apr 27, 2020 9:02 am

indeed (Jocko means the folder "shares" found in /proc/1/root
Look inside whats in there

Code: Select all
ls -s /proc/1/root/shares

If it does not contain files (you need to judge) remove it
Code: Select all
rm -R /proc/1/root/shares
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: I've lost all my files .

Postby antieco » Mon Apr 27, 2020 11:24 am

Hi, thanks !

Code: Select all
root@Cloudbox:/ # cat boot.log
start boot log
is a physical machine
detect and set platform
cloudbox
kirkwood
UIMAGE-414133-KIRKWOOD-1
Current kernel: 4.14.133 #1 PREEMPT Wed Jul 17 14:46:56 CEST 2019
cloudbox
kirkwood
 mount dev/pts
update dev nodes
booting using sda1 root file system...
enable IP forwarding...
run udevstart to update dev nodes when necessary
inserting kernel modules:
modprobe: module 'iscsi_trgt' not found
start buttons control daemon
device = cloudbox
source = buttons-cloudbox
buttons-nwsp2 daemon started
Sun Apr 26 12:12:34 ART 2020
create temporary passwd file
create temporary group file
set samba environment for version 4.x
/bin/mount: /opt/lib/libblkid.so.1: no version information available (required by /usr/lib/libmount.so.1)
/bin/mount: /opt/lib/libblkid.so.1: no version information available (required by /usr/lib/libmount.so.1)
/bin/mount: /opt/lib/libblkid.so.1: no version information available (required by /usr/lib/libmount.so.1)
configure loopback network interface
setting reboot and standby
cloudbox
rebootd-cloudbox
cloudbox
standbyd-cloudbox
starting php based setup routines step 1
 * Initialize the volatile db file...    [ OK ]
 * Starting udevd...                                     [ OK ]
 * Finishing restore RAID devices...     [ OK ]
 * Found database configuration file...  [ OK ]
 * Updating Disks database...                    [ OK ]
 * Starting mount of volumes...
   - Mounting volume Vol-A:  [ Fail ]
 * Finishing mount of volumes...                 [ Fail ]
 * Generating Hosts File...                      [ OK ]
 * Configuring System Hostname...                [ OK ]
 * Configuring LAN interface...                  [ OK ]
 * Initializing Timezone...                      [ OK ]
 * Starting web server...
        Configure WebDav service :                       [ OK ]
        Web server :                                           [ OK ]
 * Starting mount of internal USB ...
 * Finishing mount internal USB ...      [ OK ]
 * Configuring Disks...                                  [ OK ]
 * Configuring Samba...                                  [ OK ]
 * Configuring System Users...
        Root password: use default password
        Set users, linux and samba accounts      [ OK ]
 * Starting Fvdw-sl Discovery Daemon...  [ OK ]
 * Starting ZeroConf Service...                  [ OK ]
start rpcbind service
starting php based setup routines step 2
 * Starting dropbear...                                  [ OK ]
 * Kill temporary dropbear...                    [ OK ]
starting php based setup routines step 3
 * Starting NFS Server...                                [ OK ]
 * Starting daemon update Hosts File...  [ OK ]
 * Starting Disk Temperature Guard...    [ OK ]
 * Starting mount of remote shares...
 * Finishing mount shares...                     [ OK ]
 * Starting FTP Service...                               [ OK ]
 * Starting NTP client...                                [ OK ]
 * Starting Minidlna Server...                   [ FAIL ]
 * Starting Twonky Server...                     [ FAIL ]
 * Starting Transmission Client...               [ OK ]
 * Starting Plex Media Server...                 [ FAIL ]
starting php based setup routines step banner


*** fvdw-sl NAS firmware
    This is fvdw-sl version: fvdw-sl 18.2
    built on: October 18 2019

    LAN IP address: 10.0.0.7 (DHCP)

    Port configuration:

    LAN   -> eth0
php based setup routines finished
web permission on resolv.conf
set device tuning for dms performance
move smbd en nmbd db files away from ram disk to prevent hanging samba server
LED settings
else loop1 finished
rcS finished



Code: Select all
root@Cloudbox:/ # ls -l /usr/lib | grep blkid
lrwxrwxrwx  1 root root      17 2019-01-29 06:58 libblkid.so -> libblkid.so.1.1.0
lrwxrwxrwx  1 root root      17 2019-01-29 06:58 libblkid.so.1 -> libblkid.so.1.1.0
-rwxr-xr-x  1 root root   38048 2014-08-03 07:16 libblkid.so.1.0
-rwxr-xr-x  1 root root  249712 2017-06-13 15:10 libblkid.so.1.1.0


I might have installed something (as your asking ) but it's been a long time without playing with it (months ) so why is this happening now ..?

Enviado desde mi ONEPLUS A6003 mediante Tapatalk
antieco
Donator VIP
Donator VIP
 
Posts: 40
Joined: Thu Mar 14, 2019 4:13 pm

Re: I've lost all my files .

Postby fvdw » Mon Apr 27, 2020 11:44 am

oke proceed as follow remove this shares folder

Code: Select all
rm -R /proc/1/root/shares


remove libblkid for /opt/lib
Code: Select all
rm /opt/lib/blkid*


Now try again if you can mount sda7

Code: Select all
mount /dev/sda7 /sda7

(I assume folder /sda7 still exist)
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: I've lost all my files .

Postby antieco » Mon Apr 27, 2020 1:06 pm

Code: Select all
root@Cloudbox:/ # rm /opt/lib/libblkid*
root@Cloudbox:/ # mount /dev/sda7 /sda7
mount: /opt/lib/libuuid.so.1: no version information available (required by /usr/lib/libblkid.so.1)


Enviado desde mi ONEPLUS A6003 mediante Tapatalk
antieco
Donator VIP
Donator VIP
 
Posts: 40
Joined: Thu Mar 14, 2019 4:13 pm

Re: I've lost all my files .

Postby fvdw » Mon Apr 27, 2020 1:21 pm

also remove /opt/lib/libuuid*

Code: Select all
rm /opt/lib/libuuid*


How about free space on /dev/root after removing /proc/1/root/shares ?
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: I've lost all my files .

Postby antieco » Mon Apr 27, 2020 1:42 pm

Code: Select all
root@Cloudbox:/ # rm /opt/lib/libuuid*
root@Cloudbox:/ # mount /dev/sda7 /sda7
mount: /sda7: /dev/sda7 already mounted on /lacie-boot.
root@Cloudbox:/ # df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       488M  210M  274M  44% /
/dev/sda5       740M  3.8M  729M   1% /rw_fs
tmpfs           4.9M  1.7M  3.2M  35% /rw_fs/tmp/usr/var
/dev/sda7       227M  227M     0 100% /sda7
root@Cloudbox:/ #



Enviado desde mi ONEPLUS A6003 mediante Tapatalk
antieco
Donator VIP
Donator VIP
 
Posts: 40
Joined: Thu Mar 14, 2019 4:13 pm

Re: I've lost all my files .

Postby Jocko » Mon Apr 27, 2020 1:54 pm

antieco wrote:mount: /sda7: /dev/sda7 already mounted on /lacie-boot.
That means on your previous command, mount command succeeded to mount the partition on /sda7 even if you got a warning.

Please to note library dependency for mount binary is
Code: Select all
root@Acrab:/ # ldd /usr/bin/mount
        libmount.so.1 => /usr/lib/libmount.so.1 (0xb6eb4000)
        libblkid.so.1 => /usr/lib/libblkid.so.1 (0xb6e6e000)
        libuuid.so.1 => /usr/lib/libuuid.so.1 (0xb6e63000)
        librt.so.1 => /lib/librt.so.1 (0xb6e54000)
        libc.so.6 => /lib/libc.so.6 (0xb6d18000)
        /lib/ld-linux.so.3 (0xb6f09000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xb6cf8000)
so mount expects libuuid.so.1 in /usr/lib folder and not in /opt.
Maybe after removing them in /opt, you have to update the lib cache. So run the command
Code: Select all
ldconfig
and try again to mount /dev/sda7
Code: Select all
umount /sda7
mount /dev/sda7 /sda7
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: I've lost all my files .

Postby fvdw » Mon Apr 27, 2020 1:55 pm

Try this
Code: Select all
busybox mount /dev/sda7 /sda7
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: I've lost all my files .

Postby antieco » Mon Apr 27, 2020 2:14 pm

Busy

Code: Select all
root@Cloudbox:/ # umount /sda7
umount: /sda7: target is busy.
root@Cloudbox:/ #



Enviado desde mi ONEPLUS A6003 mediante Tapatalk
antieco
Donator VIP
Donator VIP
 
Posts: 40
Joined: Thu Mar 14, 2019 4:13 pm

PreviousNext

Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: Google [Bot] and 3 guests