<div dir="auto">Did you try partprobe and pvscan before pvcreate?</div><div class="gmail_extra"><br><div class="gmail_quote">On Feb 16, 2018 01:23, "Matt Simonsen" <<a href="mailto:matt@khoza.com">matt@khoza.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello all,<br>
<br>
This may not be oVirt specific (but it may be) so thank you in advance for any assistance.<br>
<br>
I have a system installed with oVirt Node Next 4.1.9 that was installed to /dev/sda<br>
<br>
I had a seperate RAID Volume /dev/sdb that should not have been used, but now that the operating system is loaded I'm struggling to get the device partitioned.<br>
<br>
I've tried mkfs.ext4 on the device and also pvcreate, with the errors below. I've also rebooted a couple times and tried to disable multipathd. Is multipathd even safe to disable on Node Next?<br>
<br>
Below are the errors I've received, and thank you again for any tips.<br>
<br>
<br>
[root@node1-g6-h3 ~]# mkfs.ext4 /dev/sdb<br>
mke2fs 1.42.9 (28-Dec-2013)<br>
/dev/sdb is entire device, not just one partition!<br>
Proceed anyway? (y,n) y<br>
/dev/sdb is apparently in use by the system; will not make a filesystem here!<br>
[root@node1-g6-h3 ~]# gdisk<br>
GPT fdisk (gdisk) version 0.8.6<br>
<br>
Type device filename, or press <Enter> to exit: /dev/sdb<br>
Caution: invalid main GPT header, but valid backup; regenerating main header<br>
from backup!<br>
<br>
Caution! After loading partitions, the CRC doesn't check out!<br>
Warning! Main partition table CRC mismatch! Loaded backup partition table<br>
instead of main partition table!<br>
<br>
Warning! One or more CRCs don't match. You should repair the disk!<br>
<br>
Partition table scan:<br>
MBR: not present<br>
BSD: not present<br>
APM: not present<br>
GPT: damaged<br>
<br>
Found invalid MBR and corrupt GPT. What do you want to do? (Using the<br>
GPT MAY permit recovery of GPT data.)<br>
1 - Use current GPT<br>
2 - Create blank GPT<br>
<br>
Your answer: 2<br>
<br>
Command (? for help): n<br>
Partition number (1-128, default 1):<br>
First sector (34-16952264590, default = 2048) or {+-}size{KMGTP}:<br>
Last sector (2048-16952264590, default = 16952264590) or {+-}size{KMGTP}:<br>
Current type is 'Linux filesystem'<br>
Hex code or GUID (L to show codes, Enter = 8300): 8e00<br>
Changed type of partition to 'Linux LVM'<br>
<br>
Command (? for help): w<br>
<br>
Final checks complete. About to write GPT data. THIS WILL OVERWRITE EXISTING<br>
PARTITIONS!!<br>
<br>
Do you want to proceed? (Y/N): y<br>
OK; writing new GUID partition table (GPT) to /dev/sdb.<br>
The operation has completed successfully.<br>
[root@node1-g6-h3 ~]# pvcreate /dev/sdb1<br>
Device /dev/sdb1 not found (or ignored by filtering).<br>
<br>
<br>
______________________________<wbr>_________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman<wbr>/listinfo/users</a><br>
</blockquote></div></div>