qpid-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alan Conway (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (QPID-5997) [linearstore] Cannot write to journal files when store dir is located in /tmp
Date Thu, 14 Aug 2014 15:54:13 GMT

    [ https://issues.apache.org/jira/browse/QPID-5997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14097107#comment-14097107
] 

Alan Conway commented on QPID-5997:
-----------------------------------

I saw this problem on a fedora 20 box with a separate tmpfs partition for /tmp

df /tmp
Filesystem     1K-blocks    Used Available Use% Mounted on
tmpfs            1964116 1459708    504408  75% /tmp

I was able to run the same test without error on a RHEL 6 box with /tmp in the root partition

df /tmp
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/mapper/vg_mrg32-lv_root
                      51606140  10144420  38840280  21% /


> [linearstore] Cannot write to journal files when store dir is located in /tmp
> -----------------------------------------------------------------------------
>
>                 Key: QPID-5997
>                 URL: https://issues.apache.org/jira/browse/QPID-5997
>             Project: Qpid
>          Issue Type: Bug
>          Components: C++ Broker
>    Affects Versions: Future
>            Reporter: Kim van der Riet
>            Assignee: Kim van der Riet
>
> When starting a broker using linearstore, and which has *\-\-store-dir* set to /tmp,
the store fails with {{JERR_JNLF_OPEN: Unable to file for write... errno=22 (Invalid argument)...}}
It is also possible that using /tmp in *\-\-data-dir* may have the same effect if there is
no separate *\-\-store-dir* parameter, this remains to be tested.
> This may be an issue with tempfs, but the nature of the problem is unknown at this time.
Some anecdotal evidence from Alan Conway suggests that if /tmp is a part of the regular root
file system, it works ok, but if it is mounted in a separate partition, then this error occurs.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org


Mime
View raw message