Bug 2155830 - [LVMO] clarify statement for restoring a snapshot regarding pvc size
Summary: [LVMO] clarify statement for restoring a snapshot regarding pvc size
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat OpenShift Data Foundation
Classification: Red Hat Storage
Component: documentation
Version: 4.11
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: ---
Assignee: Anjana Suparna Sriram
QA Contact: Neha Berry
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-22 14:14 UTC by daniel
Modified: 2023-08-09 16:43 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-01-20 19:48:44 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 2155672 0 unspecified CLOSED While restoring PVC stuck in Pending if storage size is larger than the snapshot storage size 2023-08-09 16:46:40 UTC

Internal Links: 2155672

Description daniel 2022-12-22 14:14:26 UTC
Describe the issue:
Even though we state in the documentation that `The size of the requested PVC must be the same as that of the source volume of the snapshot` it raises the question how to deal with a situation where a restore to a bigger sized PVC is desired.
When this is tried a error message is shown and the restore fails.  

Describe the task you were trying to accomplish:
Restoring a volume snapshot to a new Persistent Volume Claim (PVC) with a bigger size to accommodate anticipated growth  

Suggestions for improvement:
Add to section `Restoring volume snapshots in single node openshift` a hint that first a snapshot needs to be restored to a PVC of the same size which can then be resized, after snapshot has completed, e.g.
`If it is desired to have a bigger sized PVC as restore target, first restore to a PVC of the same size as the source volume of the snapshot and increase the PVC size after a successful restore`

Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_openshift_data_foundation/4.11/html/deploying_and_managing_openshift_data_foundation_on_single_node_openshift_clusters/volume_snapshots_for_single_node_openshift#restoring-volume-snapshots-in-single-node-openshift_sno

Chapter/Section Number and Title:
5.2. Restoring volume snapshots in single node openshift

Product Version:
LVMO 4.11.2

Environment Details:
OCP version: 4.11.13
ODF LVM Operator   4.11.2

Any other versions of this document that also needs this update: n/a

Additional information: 
see also discussion in https://bugzilla.redhat.com/show_bug.cgi?id=2155672

Comment 4 Chad Scribner 2023-01-20 19:48:44 UTC
Closing this in favor of https://issues.redhat.com/browse/OCPBUGS-6180


Note You need to log in before you can comment on or make changes to this bug.