Couldn't find device with UUID 'xxxxxxxxxxxxxxxx'

Source: Internet
Author: User

Problem:

Operation: Create/dev/sda10/dev/sda11 --> PV -----> vg0 ------> node1 (LV) ---> Create a File System

Misoperation: delete/dev/sda10/dev/sda11 directly

Correct operation: first 1. Uninstall LV 2. lvremove 3. vgremove 4. pvremove 5. fdisk Modify/dev/sda10

The following are problems with misoperations.

[[Email protected] desktop] # PVS
Couldn't find device with UUID BhuuIl-FPqg-0Lqa-epou-pZxK-XEFo-e7M4q0.
Pv vg fmt attr psize pfree
/Dev/sda10 vg0 lvm2 A -- 10.00g 10.00g
Unknown device vg0 lvm2 a-m 5.01g 5.01g

[[Email protected] desktop] # vgs
Couldn't find device with UUID BhuuIl-FPqg-0Lqa-epou-pZxK-XEFo-e7M4q0.
VG # PV # LV # Sn ATTR vsize vfree
Vg0 2 0 0 WZ-PN-15.01g 15.01g


[[Email protected] desktop] # LVS
Couldn't find device with UUID BhuuIl-FPqg-0Lqa-epou-pZxK-XEFo-e7M4q0.

[[Email protected] desktop] # pvdisplay
Couldn't find device with UUID BhuuIl-FPqg-0Lqa-epou-pZxK-XEFo-e7M4q0.
--- Physical volume ---
PV name unknown device
VG name vg0
PV size 5.01 GIB/not usable 2.10 MIB
Allocatable Yes
PE size 4.00 MIB
Total PE 1282
Free PE 1282
Allocated pe 0
Pvuuid BhuuIl-FPqg-0Lqa-epou-pZxK-XEFo-e7M4q0

--- Physical volume ---
PV name/dev/sda10
VG name vg0
PV size 10.00 GIB/not usable 4.54 MIB
Allocatable Yes
PE size 4.00 MIB
Total PE 2560
Free PE 2560
Allocated pe 0
Pv uuid 7jynlt-jq8z-oo1q-ylex-ptsc-yl3g-wt34l2


Solution:
[[Email protected] desktop] # vgreduce -- removemissing vg0
Couldn't find device with UUID BhuuIl-FPqg-0Lqa-epou-pZxK-XEFo-e7M4q0.
Wrote out consistent volume group vg0
[[Email protected] desktop] # pvdisplay
--- Physical volume ---
PV name/dev/sda10
VG name vg0
PV size 10.00 GIB/not usable 4.54 MIB
Allocatable Yes
PE size 4.00 MIB
Total PE 2560
Free PE 2560
Allocated pe 0
Pv uuid 7jynlt-jq8z-oo1q-ylex-ptsc-yl3g-wt34l2

This article is from the "8176010" blog and will not be reproduced!

Couldn't find device with UUID 'xxxxxxxxxxxxxxxx'

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.