Actions
Bug #23080
closedBroken 'ceph-volume lvm prepare' mount options
% Done:
0%
Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Broken 'ceph-volume lvm prepare' mount options.
After run "ceph-volume lvm prepare --filestore --data vg-sda/ceph-data-sda --journal vg-sda/ceph-journal-sda" got error:
[2018-02-22 04:30:30,091][ceph_volume.process][INFO ] Running command: mount -t xfs -o rw noatime inode64 /dev/vg-sda/ceph-data-sda /var/lib/ceph/osd/ceph-16 [2018-02-22 04:30:30,098][ceph_volume.process][INFO ] stderr Usage: mount [-lhV] mount -a [options] mount [options] [--source] <source> | [--target] <directory> mount [options] <source> <directory> mount <operation> <mountpoint> [<target>]
Script run command:
mount -t xfs -o rw noatime inode64 /dev/vg-sda/ceph-data-sda var/lib/ceph/osd/ceph-16
Must be:
mount -t xfs -o rw,noatime,inode64 /dev/vg-sda/ceph-data-sda var/lib/ceph/osd/ceph-16
Updated by Alexander Kokh about 6 years ago
I think it broken in this commit:
https://github.com/ceph/ceph/pull/20408/commits/287c952bc8c3422c6eed72a1e0b22612d0728314
Updated by Alfredo Deza about 6 years ago
- Status changed from New to 12
- Assignee set to Alfredo Deza
- Priority changed from Normal to High
Updated by Alfredo Deza about 6 years ago
Do you have any custom mount options in ceph.conf?
Updated by Alfredo Deza about 6 years ago
We can replicate this without custom options. The workaround for this problem is to add the following to ceph.conf:
[osd] osd_mount_options_xfs = rw,noatime,inode64
Updated by Alfredo Deza about 6 years ago
- Status changed from In Progress to Fix Under Review
Updated by Alfredo Deza about 6 years ago
Backport to luminous https://github.com/ceph/ceph/pull/20559
Updated by Alfredo Deza about 6 years ago
- Status changed from Fix Under Review to Resolved
merged commit f584df7 into master
merged commit 599a042 into luminous
Actions