Project

General

Profile

Actions

Bug #45241

open

Error message: Mount failed with '(22) Invalid argument' when trying to import using ceph-objectstore-tool

Added by E Shadabi about 4 years ago. Updated almost 2 years ago.

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

0%

Source:
Tags:
low-hanging-fruit
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(RADOS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Hi !
When I am running the following command, I get a not so descriptive error messages:
ceph-objectstore-tool --data-path /var/lib/rook/osd2/ --file /mnt/exported/pgid_4.3 --op import --no-mon-config
Mount failed with '(22) Invalid argument'

Anyone know why and how I can fix it?

I am using Ceph Luminous.

Best regards
/Edmund

Actions #1

Updated by E Shadabi about 4 years ago

Using --debug it turned out that the exported PGs have different fsid than the odd-directory I am trying to import. fsid from both exporting and importing must be same to be able to run it.
It is resolved but would be good to have better error message than so. The error message is slightly misleading or give us too few information.

Actions #2

Updated by Greg Farnum almost 4 years ago

  • Project changed from Ceph to RADOS
Actions #3

Updated by Neha Ojha almost 4 years ago

  • Tags set to low-hanging-fruit
Actions #4

Updated by Laura Flores almost 2 years ago

  • Translation missing: en.field_tag_list set to low-hanging-fruit
Actions

Also available in: Atom PDF