Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Feb 2014 18:27:15 +0400
From:      Dmitry Sivachenko <trtrmitya@gmail.com>
To:        stable@freebsd.org
Subject:   Re: fsck dumps core
Message-ID:  <A5C0A5F8-09BD-4D54-B80C-F1C54EF88C2B@gmail.com>
In-Reply-To: <417919B7-C4D7-4003-9A71-64C4C9E73678@gmail.com>
References:  <417919B7-C4D7-4003-9A71-64C4C9E73678@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <trtrmitya@gmail.com> 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<value optimized out>) 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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?A5C0A5F8-09BD-4D54-B80C-F1C54EF88C2B>