2019独角兽企业重金招聘Python工程师标准>>>

I asked:

Sometimes, I see the following message in the VG metadata backups under /etc/lvm/archive:
"""
contents = "Text Format Volume Group"
version = 1
description = "Created before executing 'vgs'"
"""
I'm wondering when and why the new backups will be created by reporting command like vgs?

David:

It's probably a case where lvm sees something wrong after reading the VG metadata, and automatically tries to fix it, writing a corrected version of the metadata to disk. This means that even a command that only reads and reports lvm information can potentially write to disk.

Right now it's hard to identify the precise instances and locations of these repairs. But, I am in the middle of reworking the VG reading code with the goal of consolidating and clarifying all the cases of repair, at which point we can improve the way we handle this. I think we want to try to make these repairs more limited and controlled, especially for commands that in theory are only reading and reporting information. I've also suggested that whenever repairs are done, lvm should record a persistent message in the system log with the details, but that idea didn't get a great reception.

Alasdair:

Very simply if the metadata the command has just read in does not match the last backup stored in the local filesystem and the process is able and configured to write a new backup.

The command that made the metadata change might not have written a backup if it crashed, was configured not to write backups, was running with the filesystem readonly (e.g. booted into a recovery mode), ran on a different node in a cluster, ran as part of an installer that chose not to give you any metadata backups, performed metadata recovery etc. (Plus an old release had a bug where the checking went wrong and it made a backup every time even though nothing had actually changed.)

转载于:https://my.oschina.net/u/2475751/blog/1559000

When and why vgs command can change metadata and incur old metadata to be backed up?相关推荐

  1. CEPH RGW集群和bucket的zone group 不一致导致的404异常解决 及 使用radosgw-admin metadata 命令设置bucket metadata 的方法

    CEPH RGW集群和bucket的zone group 不一致导致的404异常解决 及 使用radosgw-admin metadata 命令设置bucket metadata 的方法 参考文章: ...

  2. android meta-data定义,Android中meta-data的使用

    在AndroidManifest.xml中,元素可以作为子元素,被包含在. .和元素中,但不同的父元素,在应用时读取的方法也不同. 元素用name-value对的格式给其父组件提供任意可选的数据.一个 ...

  3. ffmpeg command manual

    ffmpeg 命令 文章目录 ffmpeg 命令 manual DESCRIPTION DETAILED DESCRIPTION Filtering Stream copy STREAM SELECT ...

  4. ansible模块command、shell、raw、script

    环境: ansible端: ip:192.168.100.129 hostname:node1.lansgg.com client端: ip:192.168.100.131 hostname:v2.l ...

  5. 10+ commonly using find command switches with example Unix/Linux

    http://crybit.com/find-command-usage-with-example-unixlinux/ find command is one of the best search ...

  6. 【GDAL】GDAL栅格数据结构学习笔记(一): 关于Metadata

    在维护一段代码时看到前任程序员写的获取栅格数据的CellSize的功能,竟然在知道GDAL的情况下去调用AE的接口来解算,觉得费解. 原来的思路是使用AE的Raster对象读取出Raster的文件大小 ...

  7. php中metadata,模型元数据(Models Metadata)

    To speed up development Phalcon\Mvc\Model helps you to query fields and constraints from tables rela ...

  8. Camera MetaData 介绍

    和你一起终身学习,这里是程序员Android 经典好文推荐,通过阅读本文,您将收获以下知识点: 一.Camera MetaData 作用简介 二.MetaData 定义介绍 三.Camera Meta ...

  9. nvme metadata end to end 简介和测试

    单独对于Metadata的测试只是校验Metadata的写入和读出是否正常就可以了,在格式化成metadata的格式后,不会对lba的数据传输产生影响;metadata的写入读出也都正确.前者可以通过 ...

最新文章

  1. C++中public、protected、private的差别
  2. matlab 分段式规范作图
  3. 2021方便速食行业洞察报告
  4. 一个既能做CV任务,也能做NLP任务的Transformer模型!谷歌UCLA提出统一的基础模型...
  5. JS 实战2(邮箱选人功能)
  6. PHP中define定义的常量如何在smarty模板调用
  7. PowerDesigner教程系列(二)概念数据模型
  8. 如何快速删除代码中的空行?eclipse删除空行超实用
  9. 三 数据结构 --数和二叉树
  10. Asp.net MVC中如何实现依赖注入(DI)(二)
  11. Fortran95学习笔记
  12. CleanMyPC中文版切换教程(专注于电脑缓存文件清理的工具)
  13. Arduino + USB Host Sheild 实现USB鼠标转PS/2接口
  14. [国家集训队] 矩阵乘法
  15. 以某SCI期刊为例说明该期刊投稿须知和流程
  16. SAP RETAIL 自动补货WRP1R事务代码报错 - Forecast values for determining target stock do not exist -
  17. 【Typora】实用使用技巧
  18. 关于修改WIFI代理后手机部分APP无法使用的解决办法
  19. Spring Cloud升级之路 - Hoxton - 10. 网关重试带Body的请求Body丢失的问题
  20. 数字信号处理相关4(FPGA实现FIR滤波器)

热门文章

  1. css3 gird布局
  2. [转载]做数学是倒过来的(林群)
  3. 幅频特性曲线protues_幅频特性曲线Matlab编程
  4. LoRa vs LTE-M vs Sigfox
  5. 从零开始Kubernetes CronJob实现任务调度
  6. U8固定资产最重要的数据表
  7. codeforces 884F 费用流,图解很清晰
  8. 硕正插件安装不上(重置之后还不行)
  9. android 图片裁剪库,(译)uCrop介绍 —— 我们自己的Android图片裁剪库
  10. 赴美工作常识(Part 5 - 绿卡优先级)