Project

General

Profile

Feature #5918

osd: friendly error message about missing xattr support

Added by Sage Weil over 6 years ago. Updated over 6 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
-
Target version:
% Done:

0%

Source:
Community (user)
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

a user in irc hit this:

root@*:/home/vagrant# ceph-disk prepare /tmp/osd1
root@*:/home/vagrant# ceph-disk activate /tmp/osd1
got latest monmap
2013-08-09 05:34:39.250687 7fd3f1fbd780 -1 journal FileJournal::_open: disabling aio for non-block journal.  Use journal_force_aio to force use of aio anyway
2013-08-09 05:34:39.264617 7fd3f1fbd780 -1 filestore(/tmp/osd1) limited size xattrs -- enable filestore_xattr_use_omap
2013-08-09 05:34:39.265402 7fd3f1fbd780 -1 OSD::mkfs: couldn't mount FileStore: error -95
2013-08-09 05:34:39.265980 7fd3f1fbd780 -1  ** ERROR: error creating empty object store in /tmp/osd1: (95) Operation not supported

we should suggest enable xattrs if we see EOPNOTSUPP at this point

History

#1 Updated by Sage Weil over 6 years ago

  • Status changed from New to Rejected

nevermind, it was the use omap option that was missing.

Also available in: Atom PDF