Red Hat Training

A Red Hat training course is available for Red Hat Enterprise Linux

16.2.7. 항목 제거

ssm remove 는 장치, 풀 또는 볼륨 중 하나를 제거하는 데 사용됩니다.
참고
제거 시 풀에서 장치를 사용하는 경우 실패합니다. 이 매개 변수는 -f 인수를 사용하여 강제 수행할 수 있습니다.
제거 시 볼륨이 마운트되면 실패합니다. 장치와 달리, -f 인수를 사용해서는 강제할 수 없습니다.
lvm_pool 및 그 안에 있는 모든 것을 제거하려면 다음 명령을 사용합니다.
# ssm remove lvm_pool
Do you really want to remove volume group "lvm_pool" containing 2 logical volumes? [y/n]: y
Do you really want to remove active logical volume snap20150519T130900? [y/n]: y
  Logical volume "snap20150519T130900" successfully removed
Do you really want to remove active logical volume lvol001? [y/n]: y
  Logical volume "lvol001" successfully removed
  Volume group "lvm_pool" successfully removed