From owner-freebsd-stable@FreeBSD.ORG Mon Feb 24 14:27:20 2014 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id A24027B4 for ; Mon, 24 Feb 2014 14:27:20 +0000 (UTC) Received: from mail-la0-x22f.google.com (mail-la0-x22f.google.com [IPv6:2a00:1450:4010:c03::22f]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2572D1BCB for ; Mon, 24 Feb 2014 14:27:19 +0000 (UTC) Received: by mail-la0-f47.google.com with SMTP id y1so1392049lam.6 for ; Mon, 24 Feb 2014 06:27:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=iML0yYvQ06Y3mh2HQgtx1rpWiXBv0eNV3tOC6iL11hM=; b=yobfA5N1ccYAcoIMigFbn4Q2JHe3F4J9HMbjTQjKKtb1CuP/J8VUmKpue2Q9mEwRTN Ew7J/SIDAmKYy9r0dlBaaw0D0lay3vh9nFPrSpvb4B+80Ho5UW1kcU3WRUbhs1Lw+VP2 uOL96OxcjNx7zOrGm92eDCPVUEN+Kti6PEE0OWPKc1OxMQea/LbltTU2m8N+YdGS5GZb qFqICk/bVzXB/D0qmlouqFwqZyXAwyXKUS2Of4uRaJl96IGui9X6c0ia89fWgGesmezt bwbkzeVqKscIuQfhdTqxfZmI+MSSJ5wch/HWzVVPrBNPk12dykGfktyzedwU4SCjgu7v O1zg== X-Received: by 10.152.87.140 with SMTP id ay12mr7451882lab.1.1393252038192; Mon, 24 Feb 2014 06:27:18 -0800 (PST) Received: from ?IPv6:2a02:6b8::408:9c2f:b79e:2eb8:9bfb? ([2a02:6b8:0:408:9c2f:b79e:2eb8:9bfb]) by mx.google.com with ESMTPSA id q6sm2592727lal.3.2014.02.24.06.27.17 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 24 Feb 2014 06:27:17 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 7.1 \(1827\)) Subject: Re: fsck dumps core From: Dmitry Sivachenko In-Reply-To: <417919B7-C4D7-4003-9A71-64C4C9E73678@gmail.com> Date: Mon, 24 Feb 2014 18:27:15 +0400 Content-Transfer-Encoding: quoted-printable Message-Id: References: <417919B7-C4D7-4003-9A71-64C4C9E73678@gmail.com> To: stable@freebsd.org X-Mailer: Apple Mail (2.1827) X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Feb 2014 14:27:20 -0000 Forgot to mention that it is ~90TB partition and this server has 24GB of = RAM. On 24 =D1=84=D0=B5=D0=B2=D1=80. 2014 =D0=B3., at 17:54, Dmitry = Sivachenko wrote: > Hello! >=20 > FreeBSD 10.0-STABLE #0 r262016M >=20 > # fsck /dev/mfid0p1 > ** /dev/mfid0p1 > Segmentation fault > # >=20 > truss shows: > lseek(3,0x2b0000,SEEK_SET) =3D 2818048 = (0x2b0000) > read(3,"\0\0\0\0lo\0\0\0\^N\0\0\0\0\0\0"...,32768) =3D 32768 (0x8000) > lseek(3,0x2b8000,SEEK_SET) =3D 2850816 = (0x2b8000) > read(3,"\0\0\0\0lo\0\0\0\^N\0\0\0\0\0\0"...,12288) =3D 12288 (0x3000) > mmap(0x0,-1119879168,PROT_READ|PROT_WRITE,MAP_PRIVATE|MAP_ANON,-1,0x0) = ERR#12 'Cannot allocate memory' > SIGNAL 11 (SIGSEGV) > process exit, rval =3D 0 >=20 >=20 > #0 flushentry () at /place/WRK/src/sbin/fsck_ffs/fsutil.c:258 > 258 if (cgbp->b_un.b_cg =3D=3D NULL) > (gdb) bt > #0 flushentry () at /place/WRK/src/sbin/fsck_ffs/fsutil.c:258 > #1 0x000000000040e827 in setup (dev=3D) at = fsck.h:392 > #2 0x0000000000408cd8 in main (argc=3D1, argv=3D0x7fffffffda30) > at /place/WRK/src/sbin/fsck_ffs/main.c:394 >=20 >=20 >=20 > # tunefs -p /dev/mfid0p1=20 > tunefs: POSIX.1e ACLs: (-a) disabled > tunefs: NFSv4 ACLs: (-N) disabled > tunefs: MAC multilabel: (-l) disabled > tunefs: soft updates: (-n) enabled > tunefs: soft update journaling: (-j) disabled > tunefs: gjournal: (-J) disabled > tunefs: trim: (-t) disabled > tunefs: maximum blocks per file in a cylinder group: (-e) 4096 > tunefs: average file size: (-f) 16384 > tunefs: average number of files in a directory: (-s) 64 > tunefs: minimum percentage of free space: (-m) 8% > tunefs: space to hold for metadata blocks: (-k) 9136 > tunefs: optimization preference: (-o) time > tunefs: volume label: (-L) =20 >=20 >=20 > Is there any way to complete fsck to get this drive working? >=20 > Thanks.