为啥删除逻辑卷失败?
发表于 : 2016-07-13 15:41
安装的时候,我是根据Guided - use entire disk and set up LVM 引导的,出现如下
Unable to automatically remove LVM data x
x Because the volume group(s) on the selected device also consist of x
x physical volumes on other devices, it is not considered safe to x
x remove its LVM data automatically. If you wish to use this device for x
x partitioning, please remove its LVM data first.
所有要把原来的Volume groups 和logical volume删除 ,原来的vg如下:
Volume groups: x
x * ubuntu12-vg (511860MB) x
x - Uses physical volume: /dev/sda5 (255802MB) x
x - Uses physical volume: unknown (255802MB) x
x - Provides logical volume: root (477903MB) x
x - Provides logical volume: swap_1 (33952MB)
之后,无论是unknown的硬盘不管是拔了 还是在板子上面 ,Volume groups和logical volume 都无法删除,报错如下:
The logical volume swap_1 on ubuntu12-vg could not be deleted. x
x x
x Check /var/log/syslog or see virtual console 4 for the details. x
由于系统进不去所以log看不到
我之前都是这么操作的,删除vg或者都没问题的,有谁知道这是什么原因吗?
Unable to automatically remove LVM data x
x Because the volume group(s) on the selected device also consist of x
x physical volumes on other devices, it is not considered safe to x
x remove its LVM data automatically. If you wish to use this device for x
x partitioning, please remove its LVM data first.
所有要把原来的Volume groups 和logical volume删除 ,原来的vg如下:
Volume groups: x
x * ubuntu12-vg (511860MB) x
x - Uses physical volume: /dev/sda5 (255802MB) x
x - Uses physical volume: unknown (255802MB) x
x - Provides logical volume: root (477903MB) x
x - Provides logical volume: swap_1 (33952MB)
之后,无论是unknown的硬盘不管是拔了 还是在板子上面 ,Volume groups和logical volume 都无法删除,报错如下:
The logical volume swap_1 on ubuntu12-vg could not be deleted. x
x x
x Check /var/log/syslog or see virtual console 4 for the details. x
由于系统进不去所以log看不到
我之前都是这么操作的,删除vg或者都没问题的,有谁知道这是什么原因吗?