FreeNAS iSCSI disconnecting

Posted on 2009-02-18
Last Modified: 2012-05-06

I have a FreeNAS 0.69 Kwisatz Haderach (revision 4276) box with 2G Ram, and 1 x 80G(the OS is installed here) and 2 x 1TB (setup in a Raid0).

I have this hooked up to a windows 2003 server and am doing disk to disk backups, but everytime during the backup it disconnects and if I look at the FreeNAS logs it all gives me this:

iscsi-target: pid 2359:util.c:894: ***ERROR*** readv() failed: rc -1 errno 60
iscsi-target: pid :target.c:: ***ERROR*** cmd.tsih 0 not found

I found some stuff on the net where they say it is the iscsi crashing and i should try increasing the follow:
vm.kmem_size and vm.kmem_size_max
but now if I try :
sysctl vm.kmem_size="1610612736"
sysctl vm.kmem_size_max="1610612736"
I get an error saying:
sysctl: oid 'vm.kmem_size' is read only

Please Help......

Please help...
Question by:avineshp
    1 Comment
    LVL 27

    Accepted Solution

    Try to add kernel parameter in grub when booting system:
    kernel /boot/vmlinuz... movablecore=1600M

    full parameters list for kernel you can find here:

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
    This is the error message I got (CODE) Error caused by incompatible libmp3lame 3.98-2 with ffmpeg I've googled this error message and found out sometimes it attaches this note "can be treated with downgrade libmp3lame to version 3.97 or 3.98" …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    15 Experts available now in Live!

    Get 1:1 Help Now