Accidentally delete lvm partition use rm
Dear All,
I just getting sick, and now i do accidentally delete lvm partition use rm, in /dev/vg0 and also in /dev/mapper by hardcode use rm not lvremove. I need help to fix this issue. because now when i create any lv partition with same name doesn't work. I will apreciate any response. Regards Catty |
So you're saying you accidentally deleted the device nodes in /dev, but you did not actually delete the contents of the Volume Groups, nor did you modify the partitions containing the physical volumes?
Try running dmsetup mknodes and see if the missing device nodes reappear. You could also try restarting udevd, but the procedure for doing that varies depending on which distribution you're using. |
Quote:
I have lvm partition in /dev/vg0/my-lv and its mapping in /dev/mapper/vg0-my-lv, and my bad its do rm /dev/vg0/my-lv and rm /dev/mapper/vg0-my-lv. and when i try to lvcreate using my-lv name, its can't. I need help.. |
Those device nodes are created by the system on the fly when booting. A simple reboot should fix your issue.
|
Quote:
|
thank you very much Tobi... its work...!!
|
All times are GMT -5. The time now is 07:30 AM. |