Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2009 14:05:26 -0400
From:      grarpamp <grarpamp@gmail.com>
To:        freebsd-fs@freebsd.org
Subject:   ZFS and syslog
Message-ID:  <d2e731a10905311105u159778bfse74dc63026db2dca@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Can ZFS be made to log these events? Am I missing a knob?

Particularly the first one, UFS does. The second case is not as
critical since the ATA and GEOM susbsystems complain.  But it would
be nice to have ZFS emit as well whenever it increments some sensor
counter or state change somewhere, because there may not always be
an underlying msg from a subsystem.


- Disk full

dd if=/dev/urandom of=zero bs=1m
[no syslog msg]

### No space to do an rm? The dataset uses gzip and sha256.
# df
tank/foo  4368000 4368000 0 100% 43999 0 100% /foo
# ls -lsi zero
4645 1791445 -rw-r--r--  1 xxxx xxxx 1792802816 May 31 12:14 zero
# rm -f zero
rm: zero: No space left on device
# :> zero
# ls -lsi zero
4645 1 -rw-r--r--  1 xxxx xxxx 0 May 31 12:19 zero
# rm zero
[ok]


- Faults

ad3: FAILURE - READ_DMA48 timed out LBA=<aaa>
GEOM_ELI: g_eli_read_done() failed ad3.eli[READ(offset=<aaa x 512B>,
length=65536)]
        NAME        STATE     READ WRITE CKSUM
        tank        ONLINE       1     0     0
          ad3.eli   ONLINE       1     0     0
[no syslog msg]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d2e731a10905311105u159778bfse74dc63026db2dca>