lvm--pv丢失后恢复
[root@db-backup ~]# vgcfgrestore vg_backup
Couldn't find device with uuid JgYDQu-R1AG-wrD2-AHpX-A14C-8gLj-9HfBTR.
Couldn't find device with uuid QZrPdT-GxAo-eJif-MdJD-XOb2-12Ka-529u7q.
Couldn't find device with uuid EpnyGI-Nc6s-Auho-dBW5-F388-PjOF-AQOzry.
Couldn't find device with uuid 0Dsre8-hUFn-6d5e-mNmc-GzRz-lRBe-R0HJwe.
Couldn't find device with uuid ezJcsQ-GaPF-u5d1-76SU-Cw9e-XUrM-sHFqWr.
Couldn't find device with uuid gdgEKh-qWOq-ASYu-AWPf-gTSc-YHIM-JQnGRW.
Cannot restore Volume Group vg_backup with 6 PVs marked as missing.
Restore failed.
[root@db-backup ~]# pvcreate --uuid 'JgYDQu-R1AG-wrD2-AHpX-A14C-8gLj-9HfBTR' --restorefile /etc/lvm/backup/vg_backup /dev/vdd5
Couldn't find device with uuid JgYDQu-R1AG-wrD2-AHpX-A14C-8gLj-9HfBTR.
Couldn't find device with uuid QZrPdT-GxAo-eJif-MdJD-XOb2-12Ka-529u7q.
Couldn't find device with uuid EpnyGI-Nc6s-Auho-dBW5-F388-PjOF-AQOzry.
Couldn't find device with uuid 0Dsre8-hUFn-6d5e-mNmc-GzRz-lRBe-R0HJwe.
Couldn't find device with uuid ezJcsQ-GaPF-u5d1-76SU-Cw9e-XUrM-sHFqWr.
Couldn't find device with uuid gdgEKh-qWOq-ASYu-AWPf-gTSc-YHIM-JQnGRW.
Couldn't find device with uuid JATNkd-Te8i-3pTq-y8CW-mhoE-HdWr-Qv2rxM.
Physical volume "/dev/vdd5" successfully created
[root@db-backup ~]# vgcfgrestore vg_backup
Couldn't find device with uuid QZrPdT-GxAo-eJif-MdJD-XOb2-12Ka-529u7q.
Couldn't find device with uuid EpnyGI-Nc6s-Auho-dBW5-F388-PjOF-AQOzry.
Couldn't find device with uuid 0Dsre8-hUFn-6d5e-mNmc-GzRz-lRBe-R0HJwe.
Couldn't find device with uuid ezJcsQ-GaPF-u5d1-76SU-Cw9e-XUrM-sHFqWr.
Couldn't find device with uuid gdgEKh-qWOq-ASYu-AWPf-gTSc-YHIM-JQnGRW.
Couldn't find device with uuid JATNkd-Te8i-3pTq-y8CW-mhoE-HdWr-Qv2rxM.
Cannot restore Volume Group vg_backup with 6 PVs marked as missing.
Restore failed.
[root@db-backup ~]# vgchange -ay vg_backup
Volume group "vg_backup" not found
Skipping volume group vg_backup
最新文章
- C++ 栈的基本操作
- Func系列2:常用模块及API
- Xcode5 支持 SVN 1.7
- android调用音乐播放器,三种方
- java装饰模式
- MySQL插入数据中文乱码问题的解决
- springboot之Jwt验证
- Array.prototype鲜为人知的事实
- NJU 1010 Air
- Python的基础学习(第二周)
- centos7.2下部署 python3
- 如何做一个项目.ppt
- HDU6011
- 使用Markdown写作
- 三种方法更改MAC OS X下的HOSTS文件
- Dockerfile编写的注意事项
- MongoDB副本集配置系列二:配置MongoDB副本集
- recv用TCP和TUDP下的区别
- en_java去重排序
- C# 判断程序是否已经在运行