# longhorn-storage


05/23/2022, 10:14 AM
This message was deleted.


05/25/2022, 10:49 PM
Manually attaching volume to a node using Longhorn UI is mostly for debuging and testing purposes. The normal use case is: workload pod that require a PVC provisioned by Longhorn is deployed. Kubernetes will reach out to Longhorn through the CSI mechanism to attach/mount the volume automatically
what happens when that node is lost/rebooted or offline?
Longhorn will auto detach/attach volume when needed. You can you some tests for this case. Please let us know if any unexpected issues.


05/26/2022, 9:55 AM
@famous-journalist-11332 thanks for this information. I have been playing with Longhorn the last few days and I can confirm this behavior. Especially after i change the default storage class to longhorn. Just works. I did however notice dynamic PVC does not seem to be able to be backed up and restored easily (can you possible confirmed this?) i made a backup - that works - when i restore i have to detached the PVC volume and when i do that the POD just creates another PVC. I have to assume that you need to create static PVC's for the restore to work correctly?


06/01/2022, 12:41 AM
Restoring a volume from backup mean create a new volume from the backup. You usually only do this when the existing volume is gone (so you want to store it from backup) or you want to create a new volume with the same content.
To revert the existing volume to the previous data, you can take a look at the snapshot reverting feature