From 50be99f4e442eecf19d74d8b1224920e4e1b69b7 Mon Sep 17 00:00:00 2001 From: happybell80 Date: Thu, 16 Oct 2025 21:33:20 +0900 Subject: [PATCH] Add infrastructure work to troubleshooting summary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - DATA repository clone and organization - Neo4j data directory migration to HDD (SSD β†’ HDD) - Storage structure documentation πŸ€– Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- .../251016_troubleshooting_summary.md | 88 +++++++++++++++++++ 1 file changed, 88 insertions(+) diff --git a/troubleshooting/251016_troubleshooting_summary.md b/troubleshooting/251016_troubleshooting_summary.md index 320e7e8..a5da8c7 100644 --- a/troubleshooting/251016_troubleshooting_summary.md +++ b/troubleshooting/251016_troubleshooting_summary.md @@ -106,3 +106,91 @@ ### Cascading Failure λ°©μ§€ ν•œ 단계 μ‹€νŒ¨κ°€ 전체 μ›Œν¬ν”Œλ‘œμš° μ‹€νŒ¨λ‘œ μ—°μ‡„λ˜μ§€ μ•Šλ„λ‘ 섀계. λ©±λ“±μ„±μœΌλ‘œ μ•ˆμ •ν™”. + +--- + +## 인프라 μž‘μ—… (51123 μ„œλ²„) + +### 5. DATA μ €μž₯μ†Œ 클둠 및 정리 + +**μž‘μ—… μΌμ‹œ**: 2025-10-16 21:20 KST + +**μž‘μ—… λ‚΄μš©**: +1. Gitea μ €μž₯μ†Œ μœ„μΉ˜ 확인: `/mnt/hdd/gitea-repositories/` (311MB) +2. DATA.git 클둠: `/mnt/hdd/data/DATA/` +3. κΈ°μ‘΄ 데이터 이동: `kb_realestate_data/`, `startup_crawl/` β†’ `/mnt/hdd/data/DATA/` + +**μ΅œμ’… ꡬ쑰**: +``` +/mnt/hdd/data/ +β”œβ”€β”€ DATA/ ← Git 관리 +β”‚ β”œβ”€β”€ RWA/ +β”‚ β”œβ”€β”€ startup/ (YC 5,000+κ°œμ‚¬, VC firms) +β”‚ β”œβ”€β”€ startup_crawl/ (ν•œκ΅­ λ‰΄μŠ€ 4,388건) +β”‚ └── kb_realestate_data/ +└── documents/ (skill-rag-file μ „μš©) +``` + +**51124 μ ‘κ·Ό**: `/mnt/51123data/DATA/` (SSHFS) + +--- + +### 6. Neo4j 데이터 디렉토리 HDD 이동 + +**μž‘μ—… μΌμ‹œ**: 2025-10-16 21:30-21:31 KST + +**문제**: Neo4j 데이터가 SSD (`/var/lib/neo4j/data`)에 μ €μž₯λ˜μ–΄ μŠ€νƒ€νŠΈμ—… 데이터 λ‘œλ“œ μ‹œ 곡간 λΆ€μ‘± 우렀 + +**μž‘μ—… 단계**: +1. Neo4j μ„œλΉ„μŠ€ 쀑지 +2. `/var/lib/neo4j/data` β†’ `/mnt/hdd/neo4j/data` 이동 +3. 심볼릭 링크 생성: `/var/lib/neo4j/data` β†’ `/mnt/hdd/neo4j/data` +4. κΆŒν•œ μ„€μ •: `chown -R neo4j:neo4j /mnt/hdd/neo4j/` +5. Neo4j μž¬μ‹œμž‘ + +**κ²°κ³Ό**: +- 이전: `/var/lib/neo4j/data` (SSD, 956KB) +- ν˜„μž¬: `/mnt/hdd/neo4j/data` (HDD, 517MB) +- 심볼릭 링크: 정상 μž‘λ™ +- μ„œλΉ„μŠ€ μƒνƒœ: `active (running)` + +**효과**: +- HDD μ—¬μœ  곡간: 867GB +- μŠ€νƒ€νŠΈμ—… 데이터 λ‘œλ“œ μ‹œ μ˜ˆμƒ 크기: 1-2GB (μ•ˆμ „) +- μ„€μ • 파일 μˆ˜μ • λΆˆν•„μš” (심볼릭 링크둜 투λͺ…ν•˜κ²Œ 처리) + +**검증**: +```bash +ls -lah /var/lib/neo4j/ | grep data +# lrwxrwxrwx 1 root root 19 10μ›” 16 21:31 data -> /mnt/hdd/neo4j/data + +df -h /mnt/hdd/ +# /dev/sdb1 916G 3.2G 867G 1% /mnt/hdd + +systemctl status neo4j +# Active: active (running) +``` + +**ν–₯ν›„ κ³„νš**: +- μŠ€νƒ€νŠΈμ—… 데이터 Neo4j ꡬ쑰화 (YC + ν•œκ΅­ κΈ°μ—… + VC + λ‰΄μŠ€) +- μ˜ˆμƒ μ†Œμš” μ‹œκ°„: 2.5-4μ‹œκ°„ (슀크립트 μž‘μ„± 포함) + +--- + +## μ €μž₯μ†Œ ν˜„ν™© (51123) + +### Gitea +- **μœ„μΉ˜**: `/mnt/hdd/gitea-repositories/` (HDD) +- **크기**: 311MB +- **쑰직**: ivada_ro-being (30개 ν”„λ‘œμ νŠΈ) + +### 데이터 +- **μœ„μΉ˜**: `/mnt/hdd/data/` (HDD) +- **ꡬ쑰**: + - `DATA/`: 158MB (Git 관리, μŠ€νƒ€νŠΈμ—… 데이터) + - `documents/`: skill-rag-file μ—…λ‘œλ“œ + +### Neo4j +- **μœ„μΉ˜**: `/mnt/hdd/neo4j/data/` (HDD, 심볼릭 링크) +- **크기**: 517MB +- **μƒνƒœ**: 정상 μ‹€ν–‰ 쀑