Bug 2349154
| Summary: | [RFE] Source information (subvol/snapshot) of clone is removed from .meta file after cloning has been completed. | ||
|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Ceph Storage | Reporter: | Raimund Sacherer <rsachere> |
| Component: | CephFS | Assignee: | Rishabh Dave <ridave> |
| Status: | CLOSED ERRATA | QA Contact: | sumr |
| Severity: | medium | Docs Contact: | Rivka Pollack <rpollack> |
| Priority: | unspecified | ||
| Version: | 7.1 | CC: | ceph-eng-bugs, cephqe-warriors, mamohan, ridave, rpollack, vshankar |
| Target Milestone: | --- | Keywords: | FutureFeature |
| Target Release: | 9.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ceph-20.1.0-43 | Doc Type: | Enhancement |
| Doc Text: |
.Source information of clone subvolumes is now preserved
Previously, after cloning was completed, the source information (subvolume or snapshot) of the clone was removed from the `.meta` file. As a result, when users ran the `subvolume info` command for a clone subvolume, they could not view details about its source.
With this enhancement, source information for a clone subvolume is now preserved even after cloning is complete. This allows the `subvolume info` command to include details about the source subvolume in its output, making it easier for users to find and view the origin of a clone.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2026-01-29 06:54:06 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 2388233 | ||
|
Description
Raimund Sacherer
2025-03-01 13:41:38 UTC
The info should also be available in the subvolume info output:
```
[quickcluster@mgmt-0 ceph-odf]$ sudo ceph fs subvolume info --sub_name test-clone2-from-clone --vol_name cephfs --group_name csi
{
"atime": "2025-02-25 12:56:04",
"bytes_pcent": "undefined",
"bytes_quota": "infinite",
"bytes_used": 1876279332,
"created_at": "2025-03-01 13:21:02",
"ctime": "2025-03-01 13:32:16",
"data_pool": "cephfs_data",
"earmark": "",
"features": [
"snapshot-clone",
"snapshot-autoprotect",
"snapshot-retention"
],
"flavor": 2,
"gid": 0,
"mode": 16877,
"mon_addrs": [
"10.0.89.226:6789",
"10.0.92.132:6789",
"10.0.91.214:6789",
"10.0.94.9:6789",
"10.0.88.182:6789"
],
"mtime": "2025-03-01 13:15:59",
"path": "/volumes/csi/test-clone2-from-clone/55e13b9a-780b-4534-8b1c-16ed122fb5d5",
"pool_namespace": "",
"state": "complete",
"type": "clone",
"uid": 0
}
```
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: Red Hat Ceph Storage 9.0 Security and Enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2026:1536 |