I've lost all my files .

I've lost all my files .

Postby antieco » Sun Apr 26, 2020 3:04 pm

Hi , today I realized that my files are gone .. no trace of them ..
Firmware works fine , but it's saying I'm out of space..
How can I send a log or something helpful to see if it's possible to recover files .?
Shared folder is accessible, but no files are shown.
Many thanks

/Edit

I tried running disk repair on fvdw-sl but i get this:

Code: Select all
Setup task fscheck.sh is now running
Found disk: sda(Z1E5H6ZX)
Check file system on sda8(please wait, take a long time... ca 1 hour/TB)
=>/usr/sbin/e2fsck: /opt/lib/libblkid.so.1: no version information available (required by /usr/sbin/e2fsck)
/usr/sbin/e2fsck: /opt/lib/libblkid.so.1: no version information available (required by /usr/sbin/e2fsck)
/usr/sbin/e2fsck: /opt/lib/libblkid.so.1: no version information available (required by /usr/sbin/e2fsck)
/usr/sbin/e2fsck: /opt/lib/libuuid.so.1: no version information available (required by /usr/sbin/e2fsck)
/usr/sbin/e2fsck: symbol lookup error: /usr/sbin/e2fsck: undefined symbol: undo_io_manager
Fail (could not check the file system)


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 » Sun Apr 26, 2020 6:51 pm

Hi
Seems possible your data partition is not mounted and that files have been stored as result in system partition causing it running out of space.

Please post output of command
Code: Select all
mount

And
Code: Select all
df -h


.
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 » Sun Apr 26, 2020 7:35 pm

fvdw wrote:Hi
Seems possible your data partition is not mounted and that files have been stored as result in system partition causing it running out of space.

Please post output of command
Code: Select all
mount

And
Code: Select all
df -h


.


Hi, thanks for replying..

mount
Code: Select all
root@Cloudbox:/ # mount
mount: /opt/lib/libblkid.so.1: no version information available (required by /usr/lib/libmount.so.1)
mount: /opt/lib/libblkid.so.1: no version information available (required by /usr/lib/libmount.so.1)
mount: /opt/lib/libblkid.so.1: no version information available (required by /usr/lib/libmount.so.1)
/dev/sda1 on / type ext3 (rw,relatime,data=ordered)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
/dev/sda5 on /rw_fs type ext3 (rw,noatime,data=ordered)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,relatime,size=5000k)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
/dev/sda7 on /lacie-boot type ext3 (rw,relatime,data=ordered)
root@Cloudbox:/ #


df -h
Code: Select all
root@Cloudbox:/ # df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       488M  210M  274M  44% /
/dev/sda5       740M  3.7M  729M   1% /rw_fs
tmpfs           4.9M  1.7M  3.2M  35% /rw_fs/tmp/usr/var
/dev/root       227M  227M     0 100% /lacie-boot
root@Cloudbox:/ #
antieco
Donator VIP
Donator VIP
 
Posts: 40
Joined: Thu Mar 14, 2019 4:13 pm

Re: I've lost all my files .

Postby fvdw » Sun Apr 26, 2020 7:53 pm

seems sda7 is full, strange

does these commands work
Code: Select all
mkdir sda7
mount /dev/sda7 /sda7
ls -l /sda7


If they don't work we need to load the standalone kernel to see whats wrong with partition sda7

ps sda8 is not mounted, that explains why you don't see the content of you shared folders, probably they will be present again after we solved this issue of full sda7 and mounting sda8
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 » Sun Apr 26, 2020 8:39 pm

fvdw wrote:seems sda7 is full, strange

does these commands work
Code: Select all
mkdir sda7
mount /dev/sda7 /sda7
ls -l /sda7


If they don't work we need to load the standalone kernel to see whats wrong with partition sda7

ps sda8 is not mounted, that explains why you don't see the content of you shared folders, probably they will be present again after we solved this issue of full sda7 and mounting sda8
I been able to make the dir, just that .

Code: Select all
root@Cloudbox:/ # mount /dev/sda7 /sda7
mount: /opt/lib/libblkid.so.1: no version information available (required by /usr/lib/libmount.so.1)                          mount: /opt/lib/libblkid.so.1: no version information available (required by /usr/lib/libmount.so.1)                          mount: /opt/lib/libblkid.so.1: no version information available (required by /usr/lib/libmount.so.1)                          mount: relocation error: /usr/lib/libmount.so.1: symbol blkid_new_probe_from_filename, version BLKID_2.17 not defined in file libblkid.so.1 with link time reference                         root@Cloudbox:/ #


Code: Select all
root@Cloudbox:/ # ls -l sda7/
total 0                                                        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 fvdw » Sun Apr 26, 2020 8:44 pm

so mount doesn't work

before going to run the standalone kernel please give these commands

Code: Select all
ls -al /proc/1/root
ls -al /proc/1/root/share
ls -al /proc/1/root/share/1000
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 » Sun Apr 26, 2020 9:40 pm

Code: Select all
root@Cloudbox:/ # ls -al /proc/1/root
lrwxrwxrwx  1 root root 0 2020-04-26 18:37 /proc/1/root -> /

root@Cloudbox:/ # ls -al /proc/1/root/share
total 12
drwxrwxrwx   3 root root 4096 2018-01-01 12:00 .
drwxr-xr-x  26 root root 4096 2019-07-20 17:29 ..
drwxrwxrwx   6 root root 4096 2019-05-16 21:29 1000

root@Cloudbox:/ # ls -al /proc/1/root/share/1000
total 24
drwxrwxrwx  6 root root 4096 2019-05-16 21:29 .
drwxrwxrwx  3 root root 4096 2018-01-01 12:00 ..
drwxrwxrwx  3 root root 4096 2019-05-12 23:28 fvdw
-rw-r--r--  1 root root    0 2019-05-16 21:29 mt-daapd
drwxrwxrwx  5 root root 4096 2019-05-19 00:23 tr-daemon
drwxrwxrwx  3 root root 4096 2019-05-15 23:42 tr-downloads
drwxrwxrwx  2 root root 4096 2019-05-16 21:29 twonkymedia





there they are


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 » Sun Apr 26, 2020 9:58 pm

It seems the -al options do not work from chrooted file system to list real root file system
Please repeat using this commands
Code: Select all
ls -s /proc/1//root
ls -s /proc/1/root/share
ls -s /proc/1/root/share/1000
ls -s /proc/1/root/share/1000/fvdw


and
Code: Select all
ls /lacie-boot


I need to be sure whats in there before attempting to delete some folders to make space on sda7

I expect that the last command will give as output
Code: Select all
sda1boot


If this is the case I think it is save to remove some folders from sda7 as they should not be there and filled up sda7 partition. How this could happen is a different question to be answered later, lets first try to get normal operation back on the cloudbox. For that we need to make some free space on sda7 (/dev/root)

So if the output of ls /lacie-boot is sda1boot
remove these folders using these commands
Code: Select all
rm -R /proc/1/root/share/1000/mt-daapd
rm -R /proc/1/root/share/1000/tr-daemon
rm -R /proc/1/root/share/1000/twonkymedia

Be sure to type exactly these commands as we are removing folders, a type error may result in deleting a wrong folder

After this give command
Code: Select all
df -h

And see if /dev/root has not a few % free space. If so reboot

Again do the above only when there is sda1boot in /lacie-boot folder
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 12:17 am

Results https://uploads.tapatalk-cdn.com/20200427/f14b1a6ed3856f786314f6c131799bbb.jpg

Enviado desde mi ONEPLUS A6003 mediante Tapatalk

Code: Select all
root@Cloudbox:/ # ls -s /proc/1//root
total 108
 4 bin          4 etc           0 mnt               4 sbin
 4 bin_cab      4 fvdw-chroot   4 nowhere           4 share
 4 boot         4 lacie-boot    4 opt               4 shares
 4 boot.log     4 lib           4 postupgrade.log   0 sys
 4 clunc        0 linuxrc       0 proc              0 tmp
12 dev         16 lost+found    4 root              4 usr
 0 direct-usb   4 mail          4 rw_fs             4 var
root@Cloudbox:/ # ls -s /proc/1/root/share
total 4
4 1000
root@Cloudbox:/ # ls -s /proc/1/root/share/1000
total 16
4 fvdw  0 mt-daapd  4 tr-daemon  4 tr-downloads  4 twonkymedia
root@Cloudbox:/ # ls -s /proc/1/root/share/1000/fvdw
total 4
4 addons
root@Cloudbox:/ # ls /lacie-boot
sda1boot
root@Cloudbox:/ # rm -R /proc/1/root/share/1000/mt-daapd
root@Cloudbox:/ # rm -R /proc/1/root/share/1000/tr-daemon
root@Cloudbox:/ # rm -R /proc/1/root/share/1000/twonkymedia
root@Cloudbox:/ # df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       488M  210M  274M  44% /
/dev/sda5       740M  3.7M  729M   1% /rw_fs
tmpfs           4.9M  1.7M  3.2M  35% /rw_fs/tmp/usr/var
/dev/root       227M  227M     0 100% /lacie-boot
root@Cloudbox:/ # ls
bin       direct-usb  mail             root      sys
bin_cab   etc         mnt              rw_fs     tmp
boot      lacie-boot  nowhere          sbin      usr
boot.log  lib         opt              sda7      var
clunc     linuxrc     postupgrade.log  sda7-tmp
dev       lost+found  proc             share
root@Cloudbox:/ # cd sda7
root@Cloudbox:/sda7 # ls
root@Cloudbox:/sda7 #
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 8:12 am

:scratch
So still not enough space on sda7, there must be another file somewhere eating up the space.

However lets clearify something.
Reviewing the while story, the messages like this
no version information available (required by..

Means the version number of the shared lib doesn't match with the one againdt which the binary used is compilid against. It seem you have installed something that has overwritten some off the original files in /opt/lib. It seems to concern this lib /opt/lib/libblkid.so.1 ( this is a symlink pointing the real shared lib and that one seems to be wrong version, that can only happen when it has been replaced. Even stronger libblkid should even not be present in /opt/lib at least when you are running fvdw-sl 18-x or 17-x)

Is this the case ? Did you install something ?

What version of fvdw-sl you are running?
please post output of
Code: Select all
cat boot.log

and
Code: Select all
ls -l /usr/lib | grep blkid
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Next

Return to Lacie cloudbox (white casing)

Who is online

Users browsing this forum: No registered users and 4 guests