vgexport / vgimport

linux 2026. 4. 14. 14:24

umount [MountPoint]

vgchage -a n [VGName]

vgexport [VGName]

remove disk

add disk

vgimport [VGName]

vgchange -a y [VGName]

mount [MountPoint]

 

############### ###############

vgimport 시 VG not found 에러 발생하면

1. pvscan --chache  후 vgimport

2. pvscan -A 로 장치 인식 확인, lvmdevices --adddev [device] 후 vgimport

### /etc/lvm/devices/system.devices 에 등록

 

### /etc/lvm/lvm.conf의 use_devicesfile 버전 별 default 값

RHEL7 "0"    ### system.devices 파일을 사용하지 않음. 모든 블록 디바이스를 LVM이 직접 스캔함

RHEL8 "0"

RHEL9 "1"    ### system.devices 파일이 기본적으로 활성화되어, 이 파일에 등록된 디바이스만 LVM이 인식

'linux' 카테고리의 다른 글

vg export/import  (0) 2022.09.06
cache 초기화  (0) 2020.02.11
linux 에서 WWN 확인  (0) 2017.01.19
RHEL VG rename 후 작업  (0) 2016.12.21
yum url 에 DVD 추가  (0) 2016.12.14
Posted by efrit
,