Sign in
Sign up
Explore
Enterprise
Education
Search
Help
Terms of use
About Us
Explore
Enterprise
Education
Gitee Premium
Gitee AI
AI teammates
Sign in
Sign up
Fetch the repository succeeded.
description of repo status
Donate
Please sign in before you donate.
Cancel
Sign in
Scan WeChat QR to Pay
Cancel
Complete
Prompt
Switch to Alipay.
OK
Cancel
Watch
Unwatch
Watching
Releases Only
Ignoring
10
Star
2
Fork
44
src-openEuler
/
lvm2
Closed
Code
Issues
0
Pull Requests
2
Wiki
Insights
Pipelines
Service
JavaDoc
PHPDoc
Quality Analysis
Jenkins for Gitee
Tencent CloudBase
Tencent Cloud Serverless
悬镜安全
Aliyun SAE
Codeblitz
SBOM
DevLens
Don’t show this again
Update failed. Please try again later!
Remove this flag
Content Risk Flag
This task is identified by
as the content contains sensitive information such as code security bugs, privacy leaks, etc., so it is only accessible to contributors of this repository.
pagesize!=4k时,pvck失败
Done
#I9C23T
Task
MaSkingx
Opened this issue
2024-03-27 15:37
如下操作,创建pv后,使用pvck -v命令检查完整性,失败,提示Command failed with status code 5. [root@wsip-70-182-147-70 ~]# cat /etc/openEuler-latest openeulerversion=openEuler-20.03-LTS-SP4 compiletime=2023-11-27-20-56-07 gccversion=7.3.0-2020033101.54.oe2003sp4 kernelversion=4.19.90-2311.4.0.0250.oe2003sp4 openjdkversion=1.8.0.392.b08-2.oe2003sp4 [root@wsip-70-182-147-70 ~]# uname -a Linux wsip-70-182-147-70.br.br.cox.net 4.19.90-2312.1.0.0255.oe2003sp4.aarch64 #1 SMP Mon Dec 11 20:05:11 CST 2023 aarch64 aarch64 aarch64 GNU/Linux [root@wsip-70-182-147-70 ~]# getconf PAGE_SIZE 65536 [root@wsip-70-182-147-70 ~]# rpm -qa lvm2 lvm2-2.03.09-15.oe2003sp4.aarch64 [root@wsip-70-182-147-70 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 0 50G 0 disk ├─vda1 252:1 0 600M 0 part /boot/efi ├─vda2 252:2 0 1G 0 part /boot └─vda3 252:3 0 48.4G 0 part ├─openeuler_wsip--70--182--147--70-root 253:0 0 44.4G 0 lvm / └─openeuler_wsip--70--182--147--70-swap 253:1 0 4G 0 lvm [SWAP] vdb 252:16 0 5G 0 disk [root@wsip-70-182-147-70 ~]# pvcreate -y /dev/vdb Physical volume "/dev/vdb" successfully created. [root@wsip-70-182-147-70 ~]# pvck -v /dev/vdb CHECK: pv_header.disk_locn[2].offset expected 4096 # for first mda CHECK: mda_header_1.checksum expected 0x6702d122 CHECK: mda_header_1.magic expected 0x204c564d3220785b35412572304e2a3e CHECK: mda_header_1.version expected 1 CHECK: mda_header_1.start does not match pv_header.disk_locn.offset 4096 CHECK: mda_header_1.size does not match pv_header.disk_locn.size 983040 Found label on /dev/vdb, sector 1, type=LVM2 001 Command failed with status code 5. [root@wsip-70-182-147-70 ~]#
如下操作,创建pv后,使用pvck -v命令检查完整性,失败,提示Command failed with status code 5. [root@wsip-70-182-147-70 ~]# cat /etc/openEuler-latest openeulerversion=openEuler-20.03-LTS-SP4 compiletime=2023-11-27-20-56-07 gccversion=7.3.0-2020033101.54.oe2003sp4 kernelversion=4.19.90-2311.4.0.0250.oe2003sp4 openjdkversion=1.8.0.392.b08-2.oe2003sp4 [root@wsip-70-182-147-70 ~]# uname -a Linux wsip-70-182-147-70.br.br.cox.net 4.19.90-2312.1.0.0255.oe2003sp4.aarch64 #1 SMP Mon Dec 11 20:05:11 CST 2023 aarch64 aarch64 aarch64 GNU/Linux [root@wsip-70-182-147-70 ~]# getconf PAGE_SIZE 65536 [root@wsip-70-182-147-70 ~]# rpm -qa lvm2 lvm2-2.03.09-15.oe2003sp4.aarch64 [root@wsip-70-182-147-70 ~]# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT vda 252:0 0 50G 0 disk ├─vda1 252:1 0 600M 0 part /boot/efi ├─vda2 252:2 0 1G 0 part /boot └─vda3 252:3 0 48.4G 0 part ├─openeuler_wsip--70--182--147--70-root 253:0 0 44.4G 0 lvm / └─openeuler_wsip--70--182--147--70-swap 253:1 0 4G 0 lvm [SWAP] vdb 252:16 0 5G 0 disk [root@wsip-70-182-147-70 ~]# pvcreate -y /dev/vdb Physical volume "/dev/vdb" successfully created. [root@wsip-70-182-147-70 ~]# pvck -v /dev/vdb CHECK: pv_header.disk_locn[2].offset expected 4096 # for first mda CHECK: mda_header_1.checksum expected 0x6702d122 CHECK: mda_header_1.magic expected 0x204c564d3220785b35412572304e2a3e CHECK: mda_header_1.version expected 1 CHECK: mda_header_1.start does not match pv_header.disk_locn.offset 4096 CHECK: mda_header_1.size does not match pv_header.disk_locn.size 983040 Found label on /dev/vdb, sector 1, type=LVM2 001 Command failed with status code 5. [root@wsip-70-182-147-70 ~]#
Comments (
3
)
Sign in
to comment
Status
Done
Backlog
Doing
Done
Declined
Assignees
Not set
Labels
sig/Storage
Not set
Projects
Unprojected
Unprojected
Milestones
No related milestones
No related milestones
Pull Requests
None yet
None yet
Successfully merging a pull request will close this issue.
Branches
No related branch
Branches (
-
)
Tags (
-
)
Planed to start   -   Planed to end
-
Top level
Not Top
Top Level: High
Top Level: Medium
Top Level: Low
Priority
Not specified
Serious
Main
Secondary
Unimportant
Duration
(hours)
参与者(2)
1
https://gitee.com/src-openeuler/lvm2.git
git@gitee.com:src-openeuler/lvm2.git
src-openeuler
lvm2
lvm2
Going to Help Center
Search
Git 命令在线学习
如何在 Gitee 导入 GitHub 仓库
Git 仓库基础操作
企业版和社区版功能对比
SSH 公钥设置
如何处理代码冲突
仓库体积过大,如何减小?
如何找回被删除的仓库数据
Gitee 产品配额说明
GitHub仓库快速导入Gitee及同步更新
什么是 Release(发行版)
将 PHP 项目自动发布到 packagist.org
Comment
Repository Report
Back to the top
Login prompt
This operation requires login to the code cloud account. Please log in before operating.
Go to login
No account. Register