I've lost all my files .

Re: I've lost all my files .

Postby Jocko » Mon Apr 27, 2020 2:17 pm

Then reboot the nas, dev/sda7 will be no longer mounted on /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 antieco » Mon Apr 27, 2020 2:42 pm

i been able to mount sda7

Code: Select all
root@Cloudbox:/sda7 # ls
bin      boot.log  direct-usb   lacie-boot  lost+found  nowhere          proc   sbin   tmp
bin_cab  clunc     etc          lib         mail        opt              root   share  usr
boot     dev       fvdw-chroot  linuxrc     mnt         postupgrade.log  rw_fs  sys    var
root@Cloudbox:/sda7 # df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/sda1       488M  210M  274M  44% /
/dev/sda5       740M  3.6M  729M   1% /rw_fs
tmpfs           4.9M  1.8M  3.2M  36% /rw_fs/tmp/usr/var
/dev/sda7       227M  227M     0 100% /sda7
root@Cloudbox:/sda7 # mount
/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)
/dev/sda7 on /sda7 type ext3 (rw,relatime,data=ordered)
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 Jocko » Mon Apr 27, 2020 2:46 pm

and no more warning when you mounted it ?

if you have installed some extra package, I assume it is the folder content /opt which fills the free space so do
Code: Select all
du -sh /opt
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 antieco » Mon Apr 27, 2020 2:47 pm

Jocko wrote:and no more warning when you mounted it ?

if you have installed some extra package, I assume it is the folder content /opt which fills the free space so do
Code: Select all
du -sh /opt


No more warnings..

Code: Select all
root@Cloudbox:/sda7 # du -sh /opt
18M   /opt
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 3:18 pm

So opt folder size is few bigger than the expected size (around 8MB) so iit is not here the issue. With a clean sda7 partition you should have around 70MB free size on sda7 but I made an error currently you check the size of the folder /opt on sda1 :pound

then repeat with
Code: Select all
du -sh /proc/1/root/opt
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 antieco » Mon Apr 27, 2020 3:20 pm

Code: Select all
root@Cloudbox:/opt # du -sh /proc/1/root/opt
22M   /proc/1/root/opt
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 3:26 pm

So not enough to explain your full partition. Then you have to browse the folder tree on /proc/1/root and check if you do not find some big files (~MB), for example if you had used the command wget or curl to download some files from 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 antieco » Mon Apr 27, 2020 3:56 pm

how do i mount sda8 i reckon thats where my files were.
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 4:20 pm

As you could mount sda7 without issue after rebooting the nas and according your last mount output sda8 is not again mounted, that would mean you have an issue with the fs on sda8.

So try again to mount sda8 manually
Code: Select all
mount /dev/sda8 /share/1000
and see what returns the command.
if it is not mounted, you should run a fs scan
Code: Select all
e2fsck -ny /dev/sda8
Please to note the command does nothing this time, just need to see where is the issue
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 antieco » Mon Apr 27, 2020 5:18 pm

Code: Select all
root@Cloudbox:/ # mount /dev/sda8 /share/1000
mount: /share/1000: can't read superblock on /dev/sda8.
root@Cloudbox:/ # e2fsck -ny /dev/sda8
e2fsck: symbol lookup error: e2fsck: undefined symbol: undo_io_manager


Many thanks for your help! seriously
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: No registered users and 3 guests