All Shares Gone - Lacie 5Big Network 2

Re: All Shares Gone - Lacie 5Big Network 2

Postby fvdw » Sun May 22, 2016 5:01 pm

And /shares/Public/.lacie
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: All Shares Gone - Lacie 5Big Network 2

Postby Glaven Clattuck » Sun May 22, 2016 5:05 pm

Jocko wrote:about try.txt file is normal it disappeared (the check would be done on the md4 device side and not on the mountpoint side) :pound

about your shares, I did not understand well how the firmware handle the several mountpoint of md4

So can you post now
Code: Select all
mount
ls -al /shares
ls -al /shares/try


And try to mount manually md4 again
Code: Select all
mkdir /lacie/md4
mount /dev/md4 /lacie/md4
ls -al /lacie/md4


Ok this is for the two of three command, for the last a send io a pm because the list is very long.

Code: Select all
root@LaCie-5big shares]# mount
rootfs on / type rootfs (rw)
/dev/md0 on /oldroot type ext3 (ro,relatime,errors=continue,data=writeback)
none on /oldroot/proc type proc (rw,relatime)
none on /oldroot/sys type sysfs (rw,relatime)
udev on /dev type tmpfs (rw,relatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,relatime,mode=600)
none on /dev/shm type tmpfs (rw,relatime)
/dev/md1 on /oldroot/var/original type ext3 (ro,relatime,errors=continue,data=writeback)
/dev/md2 on /oldroot/snapshots type ext3 (rw,relatime,errors=continue,data=writeback)
unionfs on / type unionfs (rw,relatime,dirs=/oldroot/snapshots/snaps/00=rw:/oldroot/var/original=ro)
proc on /proc type proc (rw,relatime)
sysfs on /sys type sysfs (rw,relatime)
/dev/md2 on /var type ext3 (rw,relatime,errors=continue,data=writeback)
/dev/md2 on /tmp type ext3 (rw,relatime,errors=continue,data=writeback)
/dev/md2 on /bin type ext3 (rw,relatime,errors=continue,data=writeback)
/dev/md2 on /sbin type ext3 (rw,relatime,errors=continue,data=writeback)
/dev/md2 on /lib type ext3 (rw,relatime,errors=continue,data=writeback)
/dev/md2 on /usr type ext3 (rw,relatime,errors=continue,data=writeback)
/dev/md2 on /www type ext3 (rw,relatime,errors=continue,data=writeback)
usbfs on /proc/bus/usb type usbfs (rw,relatime,devgid=85,devmode=664)
/dev/md4 on /media/internal_1 type xfs (rw,nosuid,nodev,relatime,attr2,nobarrier,allocsize=4096k,usrquota,prjquota,grpquota)
/dev/md4 on /lacie/tmp type xfs (rw,nosuid,nodev,relatime,attr2,nobarrier,allocsize=4096k,usrquota,prjquota,grpquota)
/dev/md4 on /lacie/var type xfs (rw,nosuid,nodev,relatime,attr2,nobarrier,allocsize=4096k,usrquota,prjquota,grpquota)
/dev/md4 on /lacie/torrent_dir type xfs (rw,nosuid,nodev,relatime,attr2,nobarrier,allocsize=4096k,usrquota,prjquota,grpquota)
/dev/md4 on /lacie/autoupdate type xfs (rw,nosuid,nodev,relatime,attr2,nobarrier,allocsize=4096k,usrquota,prjquota,grpquota)
/dev/md4 on /lacie/afp_db type xfs (rw,nosuid,nodev,relatime,attr2,nobarrier,allocsize=4096k,usrquota,prjquota,grpquota)
/dev/md4 on /shares/Public type xfs (rw,nosuid,nodev,relatime,attr2,nobarrier,allocsize=4096k,usrquota,prjquota,grpquota)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
tmpfs on /tmp/samba type tmpfs (rw,relatime)
/dev/md4 on /shares/try type xfs (rw,nosuid,nodev,relatime,attr2,nobarrier,allocsize=4096k,usrquota,prjquota,grpquota)
[root@LaCie-5big shares]# ls -al /shares
drwxr-xr-x    1 root     root          4096 May 22 18:26 .
drwxr-xr-x    1 root     root          4096 May 21 10:04 ..
drwxrwxrwx    7 root     root          4096 May 22 17:51 Public
drwxrwxrwx  232 root     root         20480 May  7 10:08 try
Glaven Clattuck
Donator VIP
Donator VIP
 
Posts: 152
Joined: Sat May 21, 2016 3:21 pm
Location: Urbe Immortalis

Re: All Shares Gone - Lacie 5Big Network 2

Postby fvdw » Sun May 22, 2016 5:07 pm

fvdw wrote:What is inside /shares/Public/Temporary


Oops think we need the com of /shares/Public/Temporary Items"
Code: Select all
ls -al "/shares/Public/Temporary Items"
we need the quptes because the contains a space
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: All Shares Gone - Lacie 5Big Network 2

Postby Glaven Clattuck » Sun May 22, 2016 5:09 pm

fvdw wrote:What is inside /shares/Public/Temporary

2 directory preceded by a point
.AppleDouble and .lacie
Glaven Clattuck
Donator VIP
Donator VIP
 
Posts: 152
Joined: Sat May 21, 2016 3:21 pm
Location: Urbe Immortalis

Re: All Shares Gone - Lacie 5Big Network 2

Postby Jocko » Sun May 22, 2016 5:10 pm

Please to do a manual mount as described in my previous post (I think Lacie makes several bind mounts: so need to see the real root folder tree of md4)

--edit---
and post also
Code: Select all
ls -al /media/internal_1


@fvdw

It is not in Public we can find his files
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: All Shares Gone - Lacie 5Big Network 2

Postby Glaven Clattuck » Sun May 22, 2016 5:11 pm

fvdw wrote:And /shares/Public/.lacie


nothing
Glaven Clattuck
Donator VIP
Donator VIP
 
Posts: 152
Joined: Sat May 21, 2016 3:21 pm
Location: Urbe Immortalis

Re: All Shares Gone - Lacie 5Big Network 2

Postby Glaven Clattuck » Sun May 22, 2016 5:15 pm

Jocko wrote:Please to do a manual mount as described in my previous post (I think Lacie makes several bind mounts: so need to see the real root folder tree of md4)

@fvdw

It is not in Public we can find his files


there is
Code: Select all
[root@LaCie-5big shares]# ls -al /lacie/md4
drwxr-xr-x   11 root     root           132 May 22 17:50 .
drwxr-xr-x    1 root     root          4096 May 22 19:12 ..
drwxr-xr-x    2 root     root             6 May 22 17:50 afp_db
drwxr-xr-x    3 root     root            25 Oct 28  2014 autoupdate
drwxr-xr-x    2 root     root             6 Oct 28  2014 images
drwxr-xr-x    2 root     root          4096 May 22 13:14 lost+found
drwxr-xr-x    2 root     root            19 Nov 17  2014 reserved
drwxr-xr-x    8 root     root            63 May 22 18:39 shares
drwxr-xr-x    2 root     root            27 May 22 18:42 tmp
drwxr-xr-x    2 root     root             6 Oct 28  2014 torrent_dir
drwxr-xr-x    3 root     root            18 Oct 28  2014 var
Glaven Clattuck
Donator VIP
Donator VIP
 
Posts: 152
Joined: Sat May 21, 2016 3:21 pm
Location: Urbe Immortalis

Re: All Shares Gone - Lacie 5Big Network 2

Postby Jocko » Sun May 22, 2016 5:20 pm

and output for
Code: Select all
ls -al /media/internal_1
I expect the same output

post also
Code: Select all
ls -al /lacie/md4/shares
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: All Shares Gone - Lacie 5Big Network 2

Postby Glaven Clattuck » Sun May 22, 2016 5:28 pm

Jocko wrote:and output for
Code: Select all
ls -al /media/internal_1
I expect the same output

post also
Code: Select all
ls -al /lacie/md4/shares


I think that we are close to found the solution (hope)
this is the first output

Code: Select all
[root@LaCie-5big try]# ls -al /media/internal_1
drwxr-xr-x   11 root     root           132 May 22 17:50 .
drwxr-xr-x    1 root     root          4096 May 22 17:49 ..
drwxr-xr-x    2 root     root             6 May 22 17:50 afp_db
drwxr-xr-x    3 root     root            25 Oct 28  2014 autoupdate
drwxr-xr-x    2 root     root             6 Oct 28  2014 images
drwxr-xr-x    2 root     root          4096 May 22 13:14 lost+found
drwxr-xr-x    2 root     root            19 Nov 17  2014 reserved
drwxr-xr-x    8 root     root            63 May 22 18:39 shares
drwxr-xr-x    2 root     root            27 May 22 18:42 tmp
drwxr-xr-x    2 root     root             6 Oct 28  2014 torrent_dir
drwxr-xr-x    3 root     root            18 Oct 28  2014 var


and for the second, voila there are the old dirs :-D

Code: Select all
[root@LaCie-5big try]# ls -al /lacie/md4/shares
drwxr-xr-x    8 root     root            63 May 22 18:39 .
drwxr-xr-x   11 root     root           132 May 22 17:50 ..
drwxrwxrwx    9 root     root          4096 May  2 14:28 1
drwxrwxrwx    7 root     root          4096 May 22 17:51 2
drwxrwxrwx  232 root     root         20480 May  7 10:08 3
drwxrwxrwx   23 root     root         81920 May  7 10:31 4
drwxrwxrwx  318 root     root         12288 May  7 15:16 5
drwxrwxrwx    2 root     root             6 May 22 18:39 ==pre==try


look at the date of these dirs, those numbered 3,4, and 5, is the same when they are disappeared from my NAS
Glaven Clattuck
Donator VIP
Donator VIP
 
Posts: 152
Joined: Sat May 21, 2016 3:21 pm
Location: Urbe Immortalis

Re: All Shares Gone - Lacie 5Big Network 2

Postby Jocko » Sun May 22, 2016 5:36 pm

So we find the real mount point of md4 /media/internal_1, the other lines in /proc/mounts are only bind mount.

So unmount md4 on /lacie/md4
Code: Select all
umount /lacie/md4
and delete the folder
Code: Select all
rmdir lacie/md4
only if unmount command succeeded

My Lacie had three volumes, called Concerts, Movies and Music.
Now on the try directory, I found the files that were in "concerts"
So the easy way to restore your share should be to set at least 2 other shares with a temporary name and rename them (and also try share) in accordance with their content.
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: No registered users and 1 guest

cron