You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Rick Hillegas (JIRA)" <ji...@apache.org> on 2017/11/29 23:46:00 UTC

[jira] [Commented] (DERBY-6979) Derby is still in read-only mode,even through I had released the disk space, and can't update data in database

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

Rick Hillegas commented on DERBY-6979:
--------------------------------------

I have never seen this problem before. Have you tried shutting down the database and rebooting it after you reclaimed the space? Thanks.

> Derby is still in read-only mode,even through I had released the disk space, and can't update data in database
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-6979
>                 URL: https://issues.apache.org/jira/browse/DERBY-6979
>             Project: Derby
>          Issue Type: Bug
>            Reporter: jiangchao
>
> I cleaned up disk and there are 80% of disk is freed for derby. But the derby is still in read-only mode:
> java.sql.SQLException: An SQL data change is not permitted for a read-only connection, user or database.
> org.apache.derby.impl.jdbc.EmbedSQLException: An SQL data change is not permitted for a read-only connection, user or database.
> org.apache.derby.iapi.error.StandardException: An SQL data change is not permitted for a read-only connection, user or database.
> Caused by: java.io.IOException: No space left on device
>         at java.io.RandomAccessFile.writeBytes0(Native Method)
>         at java.io.RandomAccessFile.writeBytes(RandomAccessFile.java:520)
>         at java.io.RandomAccessFile.write(RandomAccessFile.java:550)
>         at org.apache.derby.impl.store.raw.log.LogAccessFile.writeToLog(Unknown Source)
>         at org.apache.derby.impl.store.raw.log.LogAccessFile.flushDirtyBuffers(Unknown Source)
>         ... 23 more



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)