Project

General

Profile

Actions

Bug #10096

closed

ceph-disk prepare fails to unmount temp file successfully

Added by Blaine Gardner over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
OSD
Target version:
-
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Regression:
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

I have been testing on a virtual machine for ease of testing, and 'ceph-disk prepare' kept forwarding an error from 'umount' that the device was busy. The device in question is the temp file created as part of the 'prepare_dev' function in 'ceph-disk'. Checking usage with 'lsof' before issuing 'umount' never reported any holders and also (mysteriously) fixed the error.

It was determined that the likely culprit might be a flushing issue; however, umount flushes buffers if required as part of its process. Underlying cause is still unknown at this time.

Actions #1

Updated by Blaine Gardner over 9 years ago

Notes:

- Issuing a short delay before 'umount' fixes the issue - this is a terrible workaround
- Issuing 'sync' before 'umount' fixes the issue - sync is unnecessary before umount
- Calling 'umount' from 'strace' fixes the issue - I am having trouble getting good debug data out

Actions #2

Updated by Sage Weil over 9 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF