Skip to main content
We are redesigning the NetApp Knowledge Base site to make it easier to use and navigate. The new and improved site will be available the first week of October. Check out our video or read this KB article to know more about changes you’ll see on the site.
NetApp Knowledge Base

PV is re-formatted when operating a rolling update for StatefulSet and moving nodes

Views:
86
Visibility:
Public
Votes:
0
Category:
trident-kubernetes
Specialty:
snapx
Last Updated:

Applies to

Trident 20.04

Issue

  • Persistent Volume (PV) having a file system is reformatted when operating a rolling update for StatefulSet and moving nodes
  • The trident log shows the following messages.

Example:

time="2020-07-19T03:25:40Z" level=debug msg="<<<< osutils.execCommandWithTimeout." command=blkid error="exit status 2" output=
time="2020-07-19T03:25:40Z" level=debug msg="Could not get FSType for device." device=/dev/dm-0

...

time="2020-07-19T03:25:40Z" level=debug msg="Formatting LUN." fstype=ext4 volume=abcd_01_abcde_k8s_ab_abcd_abcd_abc_ab_pvc_012abc34_5678_4c00_1234_12fc43bbeaed
time="2020-07-19T03:25:40Z" level=debug msg=">>>> osutils.formatVolume" device=/dev/dm-0 fsType=ext4
time="2020-07-19T03:25:40Z" level=debug msg=">>>> osutils.execCommand." args="[-F /dev/dm-0]" command=mkfs.ext4

 

CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support

 

******************************************************* *******************************************************