---
name: "logdump"
section: "8"
platform: "linux"
package: "jfsutils"
version: "1.0.14-1"
release: "Debian 3.0 (Woody)"
platforms: ["linux"]
url: "https://new.carta.tech/logdump"
---

# logdump(8)

dump a JFS formatted device's journal log

## NAME

**logdump** - dump a JFS formatted device's journal log

## SYNOPSIS

**logdump \[ -a \]** *device*

## DESCRIPTION

**logdump** dumps the contents of the journal log from the specified JFS formatted  device into output file *./jfslog.dmp*.

*device* is the special file name corresponding to the actual device from which the journal log will be dumped (e.g.  **/dev/hdb1** ).

**logdump** must be run as root.

## OPTIONS

- **-a**

  Dump the entire contents of the journal log instead of just the committed transactions since the last synch point.

## EXAMPLE

Dump the entire JFS journal log from the 3rd partition of the 2nd hard disk into *./jfslog.dmp*:

-

  **logdump -a /dev/hdb3**

-

  ## REPORTING BUGS

If you find a bug in  **JFS** or  **logdump**, please report it via the bug tracking system ("Report Bugs" section) of the JFS project web site:

```
http://oss.software.ibm.com/jfs
```

Please send as much pertinent information as possible, including any  **logdump** error messages and the complete output of running  **fsck.jfs** with the  **-v** option on the JFS device.

## SEE ALSO

[**xchklog**(8)](/xchklog/8.md), [**xchkdmp**(8)](/xchkdmp/8.md), [**mkfs.jfs**(8)](/mkfs.jfs/8.md), [**fsck.jfs**(8)](/fsck.jfs/8.md), [**logredo**(8)](/logredo/8.md), [**xpeek**(8)](/xpeek/8.md)

## AUTHORS

```
Barry Arndt  (barndt@us.ibm.com)
William Braswell, Jr.
```

**logdump** is maintained by IBM.

```
See the JFS project web site for more details:
http://oss.software.ibm.com/jfs
```
