Skip to content

Add check if filesystem exists before re-formatting#6

Merged
shahedex merged 3 commits intoNexGenCloud:mainfrom
Thunder-Compute:fix-node-wipe
Oct 3, 2025
Merged

Add check if filesystem exists before re-formatting#6
shahedex merged 3 commits intoNexGenCloud:mainfrom
Thunder-Compute:fix-node-wipe

Conversation

@jackowfish
Copy link
Copy Markdown
Contributor

Ran into an issue where PV's were being wiped on mount to either new nodes (or the same node). Issue is during NodeStageVolume, we call into formatAndMakeFS - It runs a mkfs command on the FS, which formats and wipes the data (regardless of if there's already an existing FS there).

Added a check for filesystem existence before re-creating.

@nqngo nqngo requested a review from shafinhasnat October 3, 2025 01:10
Copy link
Copy Markdown
Contributor

@shafinhasnat shafinhasnat left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved

@shahedex shahedex merged commit a222b07 into NexGenCloud:main Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants