Operating System/CentOS

[CentOS7] LVM 디스크 증설 시 에러 "resize2fs: Bad magic number in super-block while trying to open"

Nirsa 2020. 5. 26. 14:39
반응형

 

  • LVM 디스크 증설 시 에러 "resize2fs: Bad magic number in super-block while trying to open"

해당 에러는 리눅스의 파일 시스템이 xfs일 경우 발생 합니다. resize2fs 명령어 대신 xfs_growfs를 사용하면 에러를 해결할 수 있습니다. 명령어 작성 형식은 같으니 명령어만 바꾸고 똑같이 바로 뒤에 디바이스 경로를 작성 해주시면 됩니다.

# resize2fs [디바이스 경로]
xfs_growfs [디바이스 경로]

 

반응형