Skip to main content
NetApp Knowledge Base

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

Views:
104
Visibility:
Public
Votes:
0
Category:
astra_trident
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

 

Scan to view the article on your device
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