Skip to content

Attic mount dies (Input/output error) when backgrounded #200

@rbu

Description

@rbu

I have created an attic archive that passes checks as follows:

[root@localhost backup]# attic check attic_backup
Starting repository check...
Repository check complete, no problems found.
Starting archive consistency check...
Analyzing archive 15-02-11_19-35-56 (1/9)
Analyzing archive 15-02-11_18-21-28 (2/9)
Analyzing archive 15-02-11_18-15-48 (3/9)
Analyzing archive 15-02-11_18-20-43 (4/9)
Analyzing archive 15-02-11_18-16-51 (5/9)
Analyzing archive 15-02-11_18-15-52 (6/9)
Analyzing archive 15-02-11_18-16-46 (7/9)
Analyzing archive 15-02-11_18-15-42 (8/9)
Analyzing archive 15-02-11_18-21-45 (9/9)
Archive consistency check complete, no problems found.
[root@localhost backup]# 

The following command fails:

[root@localhost backup]# attic mount attic_backup mount/
[root@localhost backup]# find mount/
mount/
mount/15-02-11_18-16-51
mount/15-02-11_18-16-51/backup
...
mount/15-02-11_19-35-56
find: ‘mount/15-02-11_19-35-56’: Input/output error
find: ‘mount/15-02-11_18-21-28’: Software caused connection abort
mount/15-02-11_18-21-28
find: ‘mount/15-02-11_18-15-48’: Transport endpoint is not connected
mount/15-02-11_18-15-48
find: ‘mount/15-02-11_18-16-46’: Transport endpoint is not connected
mount/15-02-11_18-16-46
find: ‘mount/15-02-11_18-20-43’: Transport endpoint is not connected
mount/15-02-11_18-20-43
find: ‘mount/15-02-11_18-21-45’: Transport endpoint is not connected
mount/15-02-11_18-21-45
find: ‘mount/15-02-11_18-15-52’: Transport endpoint is not connected
mount/15-02-11_18-15-52
find: ‘mount/15-02-11_18-15-42’: Transport endpoint is not connected
mount/15-02-11_18-15-42

However, running the command in foreground works:

[root@localhost backup]# attic mount attic_backup mount/ -f
...

Second shell:
[root@localhost backup]# find mount/
.... much output ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions