From owner-freebsd-questions@FreeBSD.ORG Mon Oct 22 05:34:51 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 39304970 for ; Mon, 22 Oct 2012 05:34:51 +0000 (UTC) (envelope-from henti@geekware.co.za) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id EDD828FC08 for ; Mon, 22 Oct 2012 05:34:50 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so2805374oag.13 for ; Sun, 21 Oct 2012 22:34:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type :x-gm-message-state; bh=3/Pdlv6YbzTyM0vfStML96wMOaoc5M0Sw2b3spYubOU=; b=pC1+prnolwA7fh8jNrplaF2xVCEWS2zDYYPTcpTTbw8oXGyrbfhRJUB5Tsbvg19ind PUjEh7vma0X9zOo04LzVlbmY6xiVgWNFtc32YaOZwTYYRA4ROKvxJmM4zR4LDJ4Ng+Q6 qU4u+50ONcLcxagW5vhqw2TexobPVcPFAoRn7DU6qfzjO7o+RXTrkZTMps7sGg9Ia5E7 6cnaBaP4zDQztbYAiDTrErBaJTLT+ks5TxuqDIOxaCBw5pYB9Of37axk8YOGht/ZzuO1 VMV79PYvKaqxc0DNLvouOswwUFcKuMCW0oJCY5+hke2XBUxLeD+Rf2SAKiy0sI9yZ03M A/nw== MIME-Version: 1.0 Received: by 10.60.169.241 with SMTP id ah17mr6993517oec.37.1350884089405; Sun, 21 Oct 2012 22:34:49 -0700 (PDT) Received: by 10.60.84.206 with HTTP; Sun, 21 Oct 2012 22:34:49 -0700 (PDT) Date: Mon, 22 Oct 2012 07:34:49 +0200 Message-ID: Subject: Strange I/O problem on Freenas 0.7.2 From: Henti Smith To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Gm-Message-State: ALoCoQmQuIxD9P3Y/fYONx3weq6Ic8L6Nx7D7crLbMcWp6s5w7VZHL7b3/QMSeOnTNbYCcQ7aQB5 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Oct 2012 05:34:51 -0000 Hi all. I'm having a very weird problem with a friends Freenas set-up. I'm trying to backup his data before migrating to nas4free or just plain FreeBSD. The setup is as follows: HP Microserver N36. 2BG Mem (1713 MB Usable) (no swap) 4 x 2000GB (ST2000DL003-9VT166 Seagate) drives in a graid5 setup. Initially he had no problems with the setup. Samba share was fine and he populated the raid set with 3TB of data, but somewhere along the line the disk I/O went VERY slow. I initially thought this might be raid related and did some tests but actually found the problem to be on the discs. [root@freenas ~]# diskinfo -c /dev/ad4 /dev/ad4 512 # sectorsize 2000398934016 # mediasize in bytes (1.8T) 3907029168 # mediasize in sectors 3876021 # Cylinders according to firmware. 16 # Heads according to firmware. 63 # Sectors according to firmware. ad:5YD2VEWQ # Disk ident. I/O command overhead: time to read 10MB block 0.250736 sec = 0.012 msec/sector time to read 20480 sectors 79.653738 sec = 3.889 msec/sector calculated command overhead = 3.877 msec/sector [root@freenas ~]# diskinfo -t /dev/ad4 /dev/ad4 512 # sectorsize 2000398934016 # mediasize in bytes (1.8T) 3907029168 # mediasize in sectors 3876021 # Cylinders according to firmware. 16 # Heads according to firmware. 63 # Sectors according to firmware. ad:5YD2VEWQ # Disk ident. Seek times: Full stroke: 250 iter in 124.649884 sec = 498.600 msec Half stroke: 250 iter in 52.112172 sec = 208.449 msec Quarter stroke: 500 iter in 167.991252 sec = 335.983 msec Short forward: 400 iter in 72.027133 sec = 180.068 msec Short backward: 400 iter in 150.708625 sec = 376.772 msec Seq outer: 2048 iter in 5.748059 sec = 2.807 msec Seq inner: 2048 iter in 119.395823 sec = 58.299 msec Transfer rates: outside: 102400 kbytes in 39.207296 sec = 2612 kbytes/sec middle: 102400 kbytes in 113.757181 sec = 900 kbytes/sec inside: 102400 kbytes in 153.438159 sec = 667 kbytes/sec S.M.A.R.T. is not reporting any issues either and the speeds are similar on all the drives. No errors in /var/log either. Any help or suggestions would be appreciated. Regards Henti