2017-02-08 7 views
1

다른 스냅 샷의 원본 소스 인 lv (논리 볼륨)가 있습니다. 그리고 오류와 함께 명령 '은 lvextend'와 첫 번째 시도로 정맥 주사를 확장 실패 싶어 : 스냅 샷이있는 논리 볼륨을 확장하는 방법

Snapshot origin volumes can be resized only while inactive 

그래서 나는 명령 시퀀스와 두 번째 방법을 시도했다.

어떻게해야합니까
LV [device_namr] has open snapshot [snapshot_name]: not deactivating 

, 어떻게 내가 스냅 샷 존재와 정맥 주사를 확장 할 수

1. unmount [mount_path] 
2. deactive the device with command(lvchange -an [device_path]) 
3. lvextend [device_path] 

다음 나는 오류가?

lvchange -an [snapshot_path] 

을 볼륨 및 스냅 샷의 모두가 비활성 상태 일 때, 당신은 당신의 볼륨을 확장 할 수 있습니다

답변

1

당신은 명령도 스냅 샷을 비활성화해야합니다.

+0

예 :'lvchange -an/dev/vg0/snap-tmp-vm04.debian-disk' – rubo77