Project

General

Profile

Actions

Bug #24900

closed

fs: ceph.file.layout.stripe_count changed after modification

Added by yuanli zhu almost 6 years ago. Updated almost 6 years ago.

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

0%

Source:
Tags:
Backport:
mimic,luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

first i touch en empty file.

touch /nas/cephfs/zyli.txt

then

setfattr -n ceph.file.layout.stripe_count -v 4 /nas/cephfs/zyli.txt

[root@node1 ~]# getfattr -n ceph.file.layout.stripe_count /nas/cephfs/zyli.txt
getfattr: Removing leading '/' from absolute path names
  1. file: nas/cephfs/zyli.txt
    ceph.file.layout.stripe_count="4"

then
vi /nas/cephfs/zyli.txt and save some words

after that i found ceph.file.layout.stripe_count is changed to 1

[root@node1 ~]# getfattr -n ceph.file.layout.stripe_count /nas/cephfs/zyli.txt
getfattr: Removing leading '/' from absolute path names
  1. file: nas/cephfs/zyli.txt
    ceph.file.layout.stripe_count="1"
Actions

Also available in: Atom PDF