Bug #70974
openpybind/mgr/volumes: charmap not preserved via subvol clone
0%
Description
1. Create Subvolume
2. Set the case_insensitive as "true" and "normalization" to "nfkc"
[root@ceph-mani-ibmcl-1-jfm78i-node11 ~]# ceph fs subvolume info mani-fs-1 mani-sv-nd-2
{
"atime": "2025-04-08 07:53:45",
"bytes_pcent": "0.00",
"bytes_quota": 1024000000,
"bytes_used": 0,
"case_insensitive": true, <<<<<<<<<<<<<<<<<<<<<<<<<<
"created_at": "2025-04-08 07:53:45",
"ctime": "2025-04-09 09:24:34",
"data_pool": "cephfs.mani-fs-1.data",
"earmark": "",
"features": [
"snapshot-clone",
"snapshot-autoprotect",
"snapshot-retention"
],
"flavor": 2,
"gid": 0,
"mode": 16877,
"mon_addrs": [
"10.0.64.230:6789",
"10.0.64.222:6789",
"10.0.67.170:6789"
],
"mtime": "2025-04-09 09:15:31",
"normalization": "nfkc",
"path": "/volumes/_nogroup/mani-sv-nd-2/7f4554b3-3cb4-4a36-ae78-8cde5bc04482",
"pool_namespace": "",
"state": "complete",
"type": "subvolume",
"uid": 0
}
[root@ceph-mani-ibmcl-1-jfm78i-node11 ~]# ceph fs subvolume charmap get mani-fs-1 mani-sv-nd-2
{"casesensitive":false,"normalization":"nfkc","encoding":"utf8"}
3. Create a subvolume snapshot
[root@ceph-mani-ibmcl-1-jfm78i-node11 ~]# ceph fs subvolume snapshot create mani-fs-1 mani-sv-nd-2 snap-1
4. Clone the snapshot
[root@ceph-mani-ibmcl-1-jfm78i-node11 ~]# ceph fs subvolume snapshot clone mani-fs-1 mani-sv-nd-2 snap-1 clone-1
5. Get the info of the clone-1 subvolume
[root@ceph-mani-ibmcl-1-jfm78i-node11 ~]# ceph fs subvolume info mani-fs-1 clone-1
{
"atime": "2025-04-08 07:53:45",
"bytes_pcent": "0.00",
"bytes_quota": 1024000000,
"bytes_used": 0,
"case_insensitive": false, <<<<<<<<<<<<<<<<<<<<<<<<<<
"created_at": "2025-04-09 13:46:03",
"ctime": "2025-04-09 13:46:07",
"data_pool": "cephfs.mani-fs-1.data",
"earmark": "",
"features": [
"snapshot-clone",
"snapshot-autoprotect",
"snapshot-retention"
],
"flavor": 2,
"gid": 0,
"mode": 16877,
"mon_addrs": [
"10.0.64.230:6789",
"10.0.64.222:6789",
"10.0.67.170:6789"
],
"mtime": "2025-04-09 09:15:31",
"normalization": "nfkc",
"path": "/volumes/_nogroup/clone-1/421c45f2-21e1-4fb8-ab68-55342480b7ad",
"pool_namespace": "",
"state": "complete",
"type": "clone",
"uid": 0
}
[root@ceph-mani-ibmcl-1-jfm78i-node11 ~]# ceph fs subvolume charmap get mani-fs-1 clone-1
{"casesensitive":true,"normalization":"nfkc","encoding":"utf8"}
Updated by Patrick Donnelly 11 months ago
- Status changed from In Progress to Fix Under Review
- Pull request ID set to 62872
Updated by Patrick Donnelly 11 months ago
- Status changed from Fix Under Review to Pending Backport
- Target version changed from v20.0.0 to v21.0.0
- Backport changed from squid to tentacle,squid
Updated by Upkeep Bot 11 months ago
- Copied to Backport #71116: tentacle: pybind/mgr/volumes: charmap not preserved via subvol clone added
Updated by Upkeep Bot 11 months ago
- Copied to Backport #71117: squid: pybind/mgr/volumes: charmap not preserved via subvol clone added
Updated by Upkeep Bot 8 months ago
- Merge Commit set to 379637eb42119112d7344da73472dd05863fa170
- Fixed In set to v20.3.0-49-g379637eb421
- Upkeep Timestamp set to 2025-07-08T14:46:38+00:00
Updated by Upkeep Bot 8 months ago
- Fixed In changed from v20.3.0-49-g379637eb421 to v20.3.0-49-g379637eb4211
- Upkeep Timestamp changed from 2025-07-08T14:46:38+00:00 to 2025-07-14T15:20:51+00:00
Updated by Upkeep Bot 8 months ago
- Fixed In changed from v20.3.0-49-g379637eb4211 to v20.3.0-49-g379637eb42
- Upkeep Timestamp changed from 2025-07-14T15:20:51+00:00 to 2025-07-14T20:45:25+00:00