| Summary: | dump(8) fails with "cannot reopen disk: interrupted system call" | ||
|---|---|---|---|
| Product: | Base System | Reporter: | root <root> |
| Component: | bin | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed Unable to Reproduce | ||
| Severity: | Affects Only Me | CC: | delphij |
| Priority: | Normal | ||
| Version: | 4.0-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
root
2000-04-30 20:50:20 UTC
When doing an incremental backup with dump on the root filesystem (29MB), or possibly on any small filesystem, and writing to /dev/null or something able to take the data rather fast, then possibly the dump fails and the following output is produced: DUMP: Date of this level 1 dump: Sun Apr 30 21:12:22 2000 DUMP: Date of last level 0 dump: Wed Apr 26 22:18:30 2000 DUMP: Dumping /dev/rad0s3a (/) to /dev/null DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 91 tape blocks on 0.00 tape(s). DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: slave couldn't reopen disk: Interrupted system call DUMP: The ENTIRE dump is aborted. Fix: At the appropriate place in the sourcecode, if I put a sleep(1) between the close and the open, the problem is gone away. usleep(1) is also good enough. How-To-Repeat: This seems timing-critical, because it did already work some times. And now even after a reboot it always gives this error message. For bugs matching the following criteria: Status: In Progress Changed: (is less than) 2014-06-01 Reset to default assignee and clear in-progress tags. Mail being skipped |