# pvck - 检测物理卷的LVM元数据的一致性

检测物理卷的LVM元数据的一致性

## 补充说明

**pvck命令** 用来检测物理卷的LVM元数据的一致性。默认情况下，物理卷中的前4个扇区保存着LVM卷标，可以使用`--labelsector`选项指定其他的位置（例如：数据恢复时）。

### 语法

```
pvck(选项)(参数)
```

### 选项

```
-d：调试模式；
-v：详细信息模式；
--labelsector：指定LVE卷标所在扇区。
```

### 参数

物理卷：指定要检查的物理卷对应的设备文件。

### 实例

使用pvck命令检查物理卷`/dev/sdb1`。在命令行中输入下面的命令：

```
pvck -v /dev/sdb1    #检查物理卷元数据
Scanning /dev/sdb1  
Found label on /dev/sdb1, sector 1, type=LVM2 001  
Found text metadata area: offset=4096, size=192512 
Found LVM2 metadata record at offset=125952,  
size=70656, offset2=0 size2=0
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://aftree.gitbook.io/command/linux/pvck.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
