Page 1 of 1

need help PLEASE

Posted: 21 Mar 2015 23:20
by negreasrin
hello
tonight when i try to copy 20 movies from a location to other i got a reebootand an error :


panic: kmem_malloc(xxxxx): kmem_map too small: xxxxxxx total allcated

i have tried to reinstall with the last nas4free but no luck after restoring config, i got the same error.

only thing i can access is option 5 at boot something like a console.
please help me.i got all my life on my nas

thanks :cry: :cry: :cry:

Re: need help PLEASE

Posted: 22 Mar 2015 02:57
by kenZ71
Any messages in your logs?

How much free disk space?

Are you able to copy one file?

Re: need help PLEASE

Posted: 22 Mar 2015 06:46
by b0ssman
some more information.

which version of nas4free are you running?
what raid configuration.
what is your hardware.

Re: need help PLEASE

Posted: 22 Mar 2015 08:15
by negreasrin
now i have latest version installed ,is working and i can acces it .The error i got it on 2 versions back .
After the error i decided to upgrade and restore configuration, after upgrade ,i can access the nas but when i restore configuration with the latest working configuration i got the same error.

i have a usb as system drive and 4 x 2TB zfs
12GB ram
2.4 quad core
i got the error when i try to copy movies from download to movie folder ,about 30 GB at once

Re: need help PLEASE

Posted: 22 Mar 2015 08:17
by negreasrin
disk space was more than half free
system drive is 8gb with 2gb swap

Re: need help PLEASE

Posted: 22 Mar 2015 08:23
by negreasrin
i cant see the log when i got the error because it does not initialize the system ,the error is in the boot process.

I found this on a freebsd forum but i do not know how to do it : "

The problem was solved by specifying the vm.kmem_size_scale=1 sysctl in the /boot/loader.conf (the default is 3). Actually it needed just several MB RAM extra, about 9MB exactly, so vm.kmem_size_scale=2 should work too."

Re: need help PLEASE

Posted: 22 Mar 2015 08:30
by negreasrin
i have imported disks the zfs is restored but i do not see any data on it is like a new drive . where is the data????

Re: need help PLEASE

Posted: 22 Mar 2015 08:32
by negreasrin
about my system ,is x64

Re: need help PLEASE

Posted: 22 Mar 2015 08:40
by apollo567
Are you using the embedded version of Nas4Free ?

Re: need help PLEASE

Posted: 22 Mar 2015 10:12
by negreasrin
yes embedded.

Re: need help PLEASE

Posted: 22 Mar 2015 15:25
by negreasrin
thanks to all
i got it myself
i had installed again the latest version and forced zfs to load from console ,now all is back to normal .
i have restored an old config and just have to put things in order

thanks again

Re: need help PLEASE

Posted: 24 Mar 2015 21:52
by negreasrin
ok after a few days i got back my nas and just a day later has crashed again with same error.
the crash append again at a file transfer when i tried to backup my jails .
WHAT IS HAPPENING ?????
i did not change any settings , just the space has got about half of his size,but problems at half of size?????

need help PLEASE

Posted: 25 Mar 2015 06:30
by b0ssman
What are you zfs Kerbtune settings? The new version of nas4free requires more ram. Try the settings for 8gb and see if it happens as well.


Sent from my iPhone using Tapatalk

Re: need help PLEASE

Posted: 25 Mar 2015 18:03
by negreasrin
i do not use zfs kernel tune
but i will restore the nas and install the kernel tune
thanks for tip

Re: need help PLEASE

Posted: 26 Mar 2015 21:18
by negreasrin
now i have reinstalled the system and when i try to restore the zfs with zpool comands i get:
nas4free: ~ # zpool import
pool: storage
id: 8113236741213357149
state: ONLINE
Assertion failed: (reason == ZPOOL_STATUS_OK), file /usr/src/cddl/sbin/zpool/../../../cddl/contrib/opensolaris/cmd/zpool/zpool_main.c, line 1707.
Abort

at command zpool status:


nas4free: ~ # zpool status
no pools available


at zpool import -f

the sistem hangs


ANY SUGESTIONS????

THANKS

Re: need help PLEASE

Posted: 27 Mar 2015 01:56
by Princo
Please post the name of your motherboard!
Without this information, we couldn't give you any help.

Princo

Re: need help PLEASE

Posted: 27 Mar 2015 09:25
by efes
Are the disk all right? It would be good to se the smart status of them.

Re: need help PLEASE

Posted: 27 Mar 2015 21:53
by negreasrin
motherboard is asus p5q
the disks are ok they have been imported as zfs and status is ok

i will try to reinstall an older version and see if i can import the zpool

Re: need help PLEASE

Posted: 28 Mar 2015 01:03
by Princo
negreasrin wrote:motherboard is asus p5q
That's bad.
Very bad.
According to board specifications http://www.asus.com/Motherboards/P5Q/specifications/
this is a NON-ECC motherboard.
But ECC-RAM is mandatory for ZFS.
You can read a very detailed explanation about this here: https://forums.freenas.org/index.php?th ... zfs.15449/
negreasrin wrote:i will try to reinstall an older version and see if i can import the zpool
In my opinion, this wouldn't help you.
I assume your pool is damaged due to faulty RAM-Chips.
The better way is to purchase an ECC-RAM-capable System (like a HP N54L), put some extra ECC-RAM in, and restore Data from Backup.

Princo

Re: need help PLEASE

Posted: 28 Mar 2015 15:14
by negreasrin
i do not disagree but how was working about a year without problems on zfs????

and at first restore after reinstalling the system i was able to force restore the zpool ????

and now it hangs at force restore

i think maybe damaged ram could hang the process

thanks

i will read the documentation from links provided

Re: need help PLEASE

Posted: 30 Mar 2015 21:47
by negreasrin
got it working !
first clean the ram and the ram slots
second i have disconnected 1 hard drive and start my nas ,all started ok zfs report degraded
third shut down the nas and reconnect the disconnected drive
fourth started the nas ,ALL OK
after this i have installed zfskerneltune and i use 8gb settings
ALL IS OK FOR NOW

i have transferred large amount of files for testing and works ok

THANKS TO ALL FOR HELP

Re: need help PLEASE

Posted: 27 Apr 2015 07:14
by German
You can actually take backup using "Cloudbacko pro" software. I am using this osftware from long time and really satisfied using this software. It basically helps in taking backup and helps restoring too. So if you want just have a look at the software.