99% of files gone

Status
Not open for further replies.

cyberjock

Inactive Account
Joined
Mar 25, 2012
Messages
19,525
Oh, and your zpool is striped, so if one disk starts failing, you'll lose all of your data. Considering you have no backups, you're making about every mistake you can make with this, and putting your data at very serious risk as a result.

I think you should stop and figure out if you want to do this or not. People have lost all of the data over less mistakes than you've made so far.
 

DatScreamer

Dabbler
Joined
Nov 23, 2015
Messages
33
You're really not doing yourself any favors here. Read the documentation: http://doc.freenas.org/9.3/freenas.html Read the various stickies in the forums. They will answer what a dataset is.

Type the following command and paste the output here
Code:
 ls -l /mnt/screamdisk/screamdisk

there are spaces between "ls" and "-l". Additionally, the shell is case-sensitive. make sure to type it exactly as above.

Then type the following command and also past the output here
Code:
ls -l /mnt/screamdisk/ScreamDisk
:O I see my folders when I type the first command.

[root@screamserver ~]# ls -l /mnt/screamdisk/screamdisk
total 5
-rw-r--r-- 1 root wheel 0 Nov 22 14:42 .windows
drwxrwxr-x+ 2 root freenas 2 Nov 22 14:48 Games
drwxrwxr-x+ 3 root freenas 3 Nov 22 18:00 Media
drwxrwxr-x+ 3 root freenas 3 Nov 22 18:03 Other
drwxrwxr-x+ 5 root freenas 5 Nov 22 14:54 Work
[root@screamserver ~]# ls -l /mnt/screamdisk/ScreamDisk
total 1
drwxrwxrwx 4 root wheel 4 Nov 22 20:36 Work
 

DatScreamer

Dabbler
Joined
Nov 23, 2015
Messages
33
Oh, and your zpool is striped, so if one disk starts failing, you'll lose all of your data. Considering you have no backups, you're making about every mistake you can make with this, and putting your data at very serious risk as a result.

I think you should stop and figure out if you want to do this or not. People have lost all of the data over less mistakes than you've made so far.
Are you saying that I should buy more drives and mirror the data on one or more of them? That is an issue because I am a kid who has no money to buy more drives, but I will when I get money.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Are you saying that I should buy more drives and mirror the data on one or more of them? That is an issue because I am a kid who has no money to buy more drives, but I will when I get money.
You should do the following:

1) Find your data and copy it off the NAS.
2) Rethink how you are going to handle storage. You stated "it will ruin my life if I cannot get it back". It's time to go back to the drawing board. This means you will need to either do
2a) buy proper hardware for running FreeNAS, AND read the documentation before setting it up
2b) switch to using an appropriate non-ZFS based NAS; AND read the documentation before setting it up​
3) Implement some sort of backups.
 

DatScreamer

Dabbler
Joined
Nov 23, 2015
Messages
33
You should know.. you created one.

At this point, for the safety of your data, you should take a snapshot of the whole pool, recursively.

It looks like your data is there, I just think you don't know how to access it.
How can I access it?
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
How can I access it?
1) TAKE A SNAPSHOT
click on "Storage" -> "Volumes" -> "View Volumes"
in the right panel expand "screamdisk" and click on the second "screamdisk" entry on the bottom of the webgui there will be a button labelled "Create Snapshot"

2) Point CIFS at the directory containing your data
Change your CIFS config so that it is pointing at
"/mnt/screamdisk/screamdisk"
and not
"/mnt/screamdisk/ScreamDisk"

3) Do steps (2)-(3) that I listed in the above post
 

DatScreamer

Dabbler
Joined
Nov 23, 2015
Messages
33
1) TAKE A SNAPSHOT
click on "Storage" -> "Volumes" -> "View Volumes"
in the right panel expand "screamdisk" and click on the second "screamdisk" entry on the bottom of the webgui there will be a button labelled "Create Snapshot"

2) Point CIFS at the directory containing your data
Change your CIFS config so that it is pointing at
"/mnt/screamdisk/screamdisk"
and not
"/mnt/screamdisk/ScreamDisk"

3) Do steps (2)-(3) that I listed in the above post
Should I transfer the data on the ScreamDisk to the other nas and then delete the one with no data on it then transfer the data that I had backed up to the screamdisk share?
 

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231
As recommended above, take a recursive snapshot of screamdisk (the capitalisation is important in FreeNAS) so that if you screw any of the steps up you should be able to undo it.

Then get a 2nd copy of the data on another device - a backup!

Running FreeNAS on the hardware you have is going to be a big risk, but it's your data. There are better solutions for the hardware you have though, so give them some thought.

If you want to take the risk with FreeNAS, read some of the forum guides and think about how best to configure what you have (probably a mirror with 2 disks)

Good luck!
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Should I transfer the data on the ScreamDisk to the other nas and then delete the one with no data on it then transfer the data that I had backed up to the screamdisk share?
I recommend to transfer the data to your other NAS, verify that it all copied correctly, and power off the freenas server till you do some reading. :)
 

mattbbpl

Patron
Joined
May 30, 2015
Messages
237
I am pretty sure that 4gb ram will work fine for my home server with (2x) 1 tb drives and a dual core CPU.
https://forums.freenas.org/index.php?threads/zfs-with-only-4gb-ram.2378/
This is really not an area where there's room to fudge. The 8GB minimum is required not by the system for performance reasons, but by the ZFS filesystem for data integrity reasons. If you value your data, you really want to meet the 8GB minimum (and the 8GB minimum would be enough for you on this dataset), or move to a non-ZFS system such as NAS4Free.

Edit: From later in that same thread:
When you put both together the system should be able to handle kernel panics due to insufficient RAM. For whatever reason however it doesn't. Something goes wrong and the forum has had MANY people that had less than 8GB suffer a failure of the pool to mount after a kernel panic. Kernel panics can happen with increasing frequency as you go below 8GB. 8GB seems to be the smallest denomination of RAM that don't have kernel panics related to insufficient RAM. If the pool will not mount you can kiss your data goodbye. All if it. Enough users have claimed that a single loss of power without a UPS or a kernel panic cost them their entire pool.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
I am a bit confused here. Earlier you wrote
I am freaking out here. All my data that I worked so hard for is missing. And it will ruin my life if I cannot get it back. So many client's data was on there
Yet, immediately after getting your data back, you choose to ignore advice from experienced users and sysadmins and double-down on a bad idea that can cause data loss in the future.
 

adrianwi

Guru
Joined
Oct 15, 2013
Messages
1,231

DatScreamer

Dabbler
Joined
Nov 23, 2015
Messages
33
I will be building a NAS with 24 TB hdd, Xeon E3 1231 v3, 128gb ssd boot drive, generic motherboard in the future. I will move my data to my dad's nas (has been operating for over a year with synology software and 256gb ram. After that I will wipe the hard drives, install new server software. Thanks for all the help. I really did not know anything about why I need more ram and other things. Thanks for helping me understand. What are the disadvantages to going with NAS4Free?
 

DatScreamer

Dabbler
Joined
Nov 23, 2015
Messages
33
Also is this the reason that I am getting 50mbps transfer rates for 1 minute then 0 bytes/p for a minute?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194

DatScreamer

Dabbler
Joined
Nov 23, 2015
Messages
33
Did I learn an incorrect definition of minimum requirements?

I could swear it means something like "Don't try to use less than this."
Yes. I am not going to use less than it with freenas. Can I get away with less with something like synology or nas4free?
 

mattbbpl

Patron
Joined
May 30, 2015
Messages
237
Yes. I am not going to use less than it with freenas. Can I get away with less with something like synology or nas4free?
Significantly less, yes. You'll lose the data integrity benefits of ZFS, but it sounds like NAS4Free would be a better option for you.
 

Nick2253

Wizard
Joined
Apr 21, 2014
Messages
1,633
Yes. I am not going to use less than it with freenas. Can I get away with less with something like synology or nas4free?

Don't forget that the requirements for using ZFS with NAS4Free and using ZFS with FreeNAS are basically the same, because you are using ZFS. NAS4Free gets away with lower "requirements" because it has non-ZFS options that have been removed from FreeNAS. There's nothing special about the ZFS implementation in NAS4Free that lets it get away with lower system requirements.
 

DatScreamer

Dabbler
Joined
Nov 23, 2015
Messages
33
So I was transferring the files back to my other server when it said: Folder ____ is no longer available. Please verify that... and now in both shares there is only one folder; the folder named 'Work'
 
Status
Not open for further replies.
Top