跳转到主内容

对 StatefulSet 执行滚动更新时,系统会重新格式化 PV 和移动节点

Views:
27
Visibility:
Public
Votes:
2
Category:
trident-kubernetes
Specialty:
snapx
Last Updated:

适用于

Trident 20.04

问题

  • 具有文件系统的永久性卷( PV )会在发生时进行重新格式化 对 StatusSet 和移动节点运行滚动更新
  • Trident 日志显示以下消息。

示例:

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

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.