Lost Folder Content

nishnish

Cadet
Joined
Nov 14, 2021
Messages
4
Hi

We are using Freenas 11.3 for data sharing in a factory. Our most valuable data are Catia parts and drawings. we have a single dataset that has multiple folders including "Catia Parts". All content of that folder is gone however disk usage has not been decreased. I tried regenerating share, unmounting, and mounting again but nothing worked. any idea?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Roll back to the latest snapshot? If that data is valuable to you, sure you enabled regular automatic snapshots, didn't you?

If not, you need to login via SSH - possibly the data is still there but for some reason does not show through the share. You know how to navigate the command line?
 

nishnish

Cadet
Joined
Nov 14, 2021
Messages
4
Roll back to the latest snapshot? If that data is valuable to you, sure you enabled regular automatic snapshots, didn't you?

If not, you need to login via SSH - possibly the data is still there but for some reason does not show through the share. You know how to navigate the command line?
Thanks for your reply. I have scheduled regular backup once in 4 days, however, in the past four days, we had some updates which will take time to do again. I navigate to /mnt/My_pool/dataset/Catia Part. "ls" replies that the folder is empty. are there any other sort of navigation? Do you think it would help if I create another NAS and import these disks as a new pool?
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
Post the output of zfs list and mount, please.
Is /mnt/My_pool/dataset/Catia the folder that is empty but should not be?
 

nishnish

Cadet
Joined
Nov 14, 2021
Messages
4
Post the output of zfs list and mount, please.
Is /mnt/My_pool/dataset/Catia the folder that is empty but should not be?
Exactly. I have my other folders available except that one.
\\192.168.2.5\my_dataset\_dateset_01\Catia Part
--------------------------------------------
root@freenas[~]# mount
freenas-boot/ROOT/default on / (zfs, local, noatime, nfsv4acls)
devfs on /dev (devfs, local, multilabel)
tmpfs on /etc (tmpfs, local)
tmpfs on /mnt (tmpfs, local)
tmpfs on /var (tmpfs, local)
fdescfs on /dev/fd (fdescfs)
ASKPOOL on /mnt/ASKPOOL (zfs, local, nfsv4acls)
ASKPOOL/iocage on /mnt/ASKPOOL/iocage (zfs, local, nfsv4acls)
ASKPOOL/iocage/download on /mnt/ASKPOOL/iocage/download (zfs, local, nfsv4acls)
ASKPOOL/iocage/images on /mnt/ASKPOOL/iocage/images (zfs, local, nfsv4acls)
ASKPOOL/iocage/jails on /mnt/ASKPOOL/iocage/jails (zfs, local, nfsv4acls)
ASKPOOL/iocage/log on /mnt/ASKPOOL/iocage/log (zfs, local, nfsv4acls)
ASKPOOL/iocage/releases on /mnt/ASKPOOL/iocage/releases (zfs, local, nfsv4acls)
ASKPOOL/iocage/templates on /mnt/ASKPOOL/iocage/templates (zfs, local, nfsv4acls)
ASKPOOL/.system on /var/db/system (zfs, local, nfsv4acls)
ASKPOOL/.system/cores on /var/db/system/cores (zfs, local, nfsv4acls)
ASKPOOL/.system/samba4 on /var/db/system/samba4 (zfs, local, nfsv4acls)
ASKPOOL/.system/syslog-8550818bbe2b40a69e4d259879c94023 on /var/db/system/syslog-8550818bbe2b40a69e4d259879c94023 (zfs, local, nfsv4acls)
ASKPOOL/.system/rrd-8550818bbe2b40a69e4d259879c94023 on /var/db/system/rrd-8550818bbe2b40a69e4d259879c94023 (zfs, local, nfsv4acls)
ASKPOOL/.system/configs-8550818bbe2b40a69e4d259879c94023 on /var/db/system/configs-8550818bbe2b40a69e4d259879c94023 (zfs, local, nfsv4acls)
ASKPOOL/.system/webui on /var/db/system/webui (zfs, local, nfsv4acls)

--------------------------------------------------
root@freenas[~]# zfs list
NAME USED AVAIL REFER M OUNTPOINT
ASKPOOL 1.64T 1.87T 1.64T / mnt/ASKPOOL
ASKPOOL/.system 74.2M 1.87T 128K l egacy
ASKPOOL/.system/configs-8550818bbe2b40a69e4d259879c94023 37.2M 1.87T 37.2M l egacy
ASKPOOL/.system/cores 12.3M 1.87T 12.3M l egacy
ASKPOOL/.system/rrd-8550818bbe2b40a69e4d259879c94023 17.9M 1.87T 17.9M l egacy
ASKPOOL/.system/samba4 986K 1.87T 986K l egacy
ASKPOOL/.system/syslog-8550818bbe2b40a69e4d259879c94023 5.64M 1.87T 5.64M l egacy
ASKPOOL/.system/webui 117K 1.87T 117K l egacy
ASKPOOL/iocage 842K 1.87T 139K / mnt/ASKPOOL/iocage
ASKPOOL/iocage/download 117K 1.87T 117K / mnt/ASKPOOL/iocage/download
ASKPOOL/iocage/images 117K 1.87T 117K / mnt/ASKPOOL/iocage/images
ASKPOOL/iocage/jails 117K 1.87T 117K / mnt/ASKPOOL/iocage/jails
ASKPOOL/iocage/log 117K 1.87T 117K / mnt/ASKPOOL/iocage/log
ASKPOOL/iocage/releases 117K 1.87T 117K / mnt/ASKPOOL/iocage/releases
ASKPOOL/iocage/templates 117K 1.87T 117K / mnt/ASKPOOL/iocage/templates
freenas-boot 766M 144G 64K n one
freenas-boot/ROOT 765M 144G 29K n one
freenas-boot/ROOT/Initial-Install 1K 144G 756M l egacy
freenas-boot/ROOT/default 765M 144G 757M l egacy
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
There is no my_dataset, neither in the mount nor in the zfs list output.

Something missing? Are you using the Web UI shell? Don't. Use putty.exe, Terminal.app, ... to connect via SSH. Then post the complete output of these two commands inside code tags like so:
Code:
This
is
inside
code
tags
 

nishnish

Cadet
Joined
Nov 14, 2021
Messages
4
There is no my_dataset, neither in the mount nor in the zfs list output.

Something missing? Are you using the Web UI shell? Don't. Use putty.exe, Terminal.app, ... to connect via SSH. Then post the complete output of these two commands inside code tags like so:
Code:
This
is
inside
code
tags
Thanks for your support. The outputs are from putty.
 

Patrick M. Hausen

Hall of Famer
Joined
Nov 25, 2013
Messages
7,776
In that case I am at a complete loss. You don't have a dataset named "my_dataset" and no dataset named "_dateset_01" - are these really the names you are using?
 
Top