I can ignore this error?
WARNING: Re-reading the partition table failed with error 22: Invalid argument. The kernel still uses the old table. The new table will be used at the next reboot. Syncing disks.
Yes. It's just a warning. You rebooted and the kernel started using the new table, which you can tell because the partition type changed to "Linux LVM" as you requested.
Paul.