When an LVM is created, the following error occurs: Can't initialize physical volume & quot;/dev/ccis.

Source: Internet
Author: User

When an LVM is created, the following error occurs: Can't initialize physical volume "/dev/cciss/c0d1p1" of volume group "VolGroup01" without-ff solution 1. problem description on a Linux Server (CentOS5.8) when creating an LVM on a physical disk/dev/cciss/c0d1, run sudo fdisk-l sudo fdisk/dev/cciss/c0d1 p n p 1 w and then run sudo pvcreate/dev/cciss /c0d1p1 error: can't initialize physical volume "/dev/cciss/c0d1p1" of volume group "VolGroup01" without-ff 2. after checking the cause of the problem, we learned that LVM:/dev/VolGroup01/LogVol00 was created according to the general process, but not Unmount. 3. solution: unmount logical volumes and volume groups in sequence (you must detach physical volumes if necessary ): sudo lvremove/dev/VolGroup01/LogVol00 sudo vgremove VolGroup01 is successfully uninstalled and then sudo pvcreate/dev/cciss/c0d1p1 is re-executed. No error occurs. Then, execute subsequent actions to create LVM.
 

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.