가상 드라이브 문제

새 서버를 구축하다가 흥미로운 문제를 만나게 되었습니다. Ubuntu에서 VM에 새로운 첨부 드라이브를 생성하여 /var/discourse에 마운트하면 빌드가 실패합니다. 링크와 관련된 문제인 것 같아서 특정 마운트 옵션이 필요한 건지 궁금합니다.

드라이브를 /var에 마운트해 보기도 했고, 재설치도 해보고 여러 가지를 시도해 보았습니다.

가상 드라이브가 /var/discourse에 마운트된 상태에서 laucher rebuild app을 실행하면 실패하고, /var에 마운트한 경우에는 …[@embroider/webpack] 메시지가 화면에서 정말 오랜 동안 계속 스크롤됩니다.

[BABEL] 참고: /var/www/discourse/node_modules/@json-editor/json-editor/dist/jsoneditor.js의 스타일링이 최대 500KB를 초과하여 코드 생성기가 최적화를 해제했습니다.
[BABEL] 참고: /var/www/discourse/node_modules/ace-builds/src-noconflict/ace.js의 스타일링이 최대 500KB를 초과하여 코드 생성기가 최적화를 해제했습니다.
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
126:M 2024년 8월 27일 21:20:33.081 * 300초 동안 100건의 변경 사항. 저장 중...
126:M 2024년 8월 27일 21:20:33.082 * pid 1230에 의해 백그라운드 저장이 시작되었습니다
1230:C 2024년 8월 27일 21:20:33.129 * DB가 디스크에 저장되었습니다
1230:C 2024년 8월 27일 21:20:33.130 * RDB용 포크 CoW: 현재 0 MB, 피크 0 MB, 평균 0 MB
126:M 2024년 8월 27일 21:20:33.182 * 백그라운드 저장이 성공적으로 종료되었습니다
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]

:precompile:build'
...[ConfigLoader]
...[Babel: @ember/render-modifiers > applyPatches]
...[Babel: ember-source > applyPatches]
...[ember.js]
...[Babel: @glimmer/component > applyPatches]
...[Babel: pretty-text > applyPatches]
...[Babel: discourse-common > applyPatches]
...[Babel: ember-tracked-storage-polyfill > applyPatches]
...[Babel: @ember/legacy-built-in-components > applyPatches]
...[Babel: dialog-holder > applyPatches]
...[Babel: ember-cache-primitive-polyfill > applyPatches]
...[Babel: ember-on-resize-modifier > applyPatches]
...[Babel: float-kit > applyPatches]
...[Babel: select-kit > applyPatches]
...[@embroider/compat/app]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
...[@embroider/webpack]
[BABEL] Note: The code generator has deoptimised the styling of /var/www/discourse/node_modules/@json-editor/json-editor/dist/jsoneditor.js as it exceeds the max of 500KB.
[BABEL] Note: The code generator has deoptimised the styling of /var/www/discourse/node_modules/ace-builds/src-noconflict/ace.js as it exceeds the max of 500KB.
...[@embroider/webpack]
...[SourceMapConcat]
...[Babel: admin > applyPatches]
...[SourceMapConcat]
...[TerserWriter]
...[Babel: discourse > applyPatches]
...[SourceMapConcat]
...[TerserWriter]
...[Babel: discourse-plugins > applyPatches]
...[SourceMapConcat]
...[Babel: discourse-plugins > applyPatches]
...[SourceMapConcat]
...[Babel: discourse-plugins > applyPatches]

OS와 동일한 가상 드라이브에 설치하면 정상적으로 작동합니다.