Files
Sankofa/docs/ceph/VERIFY_250GB_DRIVES.md
defiQUG 33d50fb91e
Some checks failed
API CI / API Lint (push) Successful in 47s
API CI / API Type Check (push) Failing after 47s
API CI / API Test (push) Successful in 1m0s
API CI / API Build (push) Failing after 50s
API CI / Build Docker Image (push) Has been skipped
Build Crossplane Provider / build (push) Failing after 5m51s
CD Pipeline / Deploy to Staging (push) Failing after 29s
CI Pipeline / Lint and Type Check (push) Failing after 36s
CI Pipeline / Build (push) Has been skipped
CI Pipeline / Test Backend (push) Failing after 1m33s
CI Pipeline / Test Frontend (push) Failing after 30s
CI Pipeline / Security Scan (push) Failing after 1m16s
Crossplane Provider CI / Go Test (push) Failing after 3m23s
Crossplane Provider CI / Go Lint (push) Failing after 7m27s
Crossplane Provider CI / Go Build (push) Failing after 3m27s
Deploy to Staging / Deploy to Staging (push) Failing after 30s
Portal CI / Portal Lint (push) Failing after 21s
Portal CI / Portal Type Check (push) Failing after 21s
Portal CI / Portal Test (push) Failing after 21s
Portal CI / Portal Build (push) Failing after 22s
Test Suite / frontend-tests (push) Failing after 30s
Test Suite / api-tests (push) Failing after 49s
Test Suite / blockchain-tests (push) Failing after 30s
Type Check / type-check (map[directory:. name:root]) (push) Failing after 23s
Type Check / type-check (map[directory:api name:api]) (push) Failing after 21s
Type Check / type-check (map[directory:portal name:portal]) (push) Failing after 19s
Validate Configuration Files / validate (push) Failing after 1m52s
CD Pipeline / Deploy to Production (push) Has been skipped
chore: consolidate local WIP (repo cleanup 20260707)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-07 09:41:34 -07:00

217 lines
4.7 KiB
Markdown

# Verify 250GB Drives on R630-01
**Date**: 2025-12-13
**Purpose**: Verify status of 6x 250GB drives on R630-01 for Ceph OSD creation
---
## Quick Start
### Option 1: Run Verification Script (Recommended)
```bash
# Copy script to R630-01
scp scripts/verify-r630-250gb-drives.sh root@192.168.11.11:/tmp/
# SSH to R630-01
ssh root@192.168.11.11
# Run verification script
bash /tmp/verify-r630-250gb-drives.sh > /tmp/disk-verification.log 2>&1
# Review results
cat /tmp/disk-verification.log
```
### Option 2: Manual Verification Commands
SSH to R630-01 and run these commands:
```bash
# 1. List all block devices
lsblk -o NAME,SIZE,TYPE,MOUNTPOINT,FSTYPE,MODEL,SERIAL
# 2. List all physical disks
fdisk -l | grep -E "^Disk /dev/sd"
# 3. Find 250GB drives (232-260 GB range)
for disk in /dev/sd[a-z]; do
if [ -b "$disk" ]; then
size=$(fdisk -l "$disk" 2>/dev/null | grep "^Disk $disk" | awk '{print $3, $4}')
echo "$disk: $size"
fi
done
# 4. Check current Ceph OSDs
ceph osd tree
ceph osd df
# 5. Check storage pools
pvesm status
# 6. Check volume groups
vgs
pvs
```
---
## What to Look For
### Expected Findings
1. **6x 250GB drives** should be visible in `lsblk` or `fdisk -l`
2. **Drive sizes** should be around 232-260 GB (250GB drives)
3. **Available drives** should have:
- ✅ No mount point
- ✅ No partitions (or empty partition table)
- ✅ Not in any volume group
- ✅ Not used by Ceph
### Drive Identification
Look for drives like:
```
sdc 250G disk # Available!
sdd 250G disk # Available!
sde 250GB disk # Available!
...
```
### Current Known Disks
- **sda**: 279.4 GB (300GB) - Proxmox installation
- **sdb**: 279.4 GB (300GB) - Ceph OSD
- **sdc-sdh**: Should be 6x 250GB drives (to be verified)
---
## Verification Checklist
After running the script, check:
- [ ] Are 6x 250GB drives detected?
- [ ] What are their device names? (sdc, sdd, sde, etc.)
- [ ] Are they initialized? (do they show up in fdisk?)
- [ ] Do they have partitions?
- [ ] Are they mounted?
- [ ] Are they in any volume group?
- [ ] Are they used by Ceph?
- [ ] Which one(s) are available for OSD creation?
---
## Expected Output Examples
### Good: Available Drive
```
sdc 250G disk # No mount, no partitions, not in VG
```
### Warning: Drive in Use
```
sdc 250G disk
└─sdc1 250G part /mnt/something ext4 # Has partition and mount
```
### Warning: Drive in Volume Group
```
sdc 250G disk
└─sdc1 250G part LVM2_member # In LVM volume group
```
---
## Next Steps After Verification
### If Drives Are Available
1. **Choose one drive** (e.g., sdc)
2. **Verify it's safe** (no data, not in use)
3. **Create Ceph OSD**:
```bash
ceph-volume lvm create --data /dev/sdc
```
4. **Verify OSD created**:
```bash
ceph osd tree
ceph health
```
### If Drives Are Not Detected
1. **Check PERC controller** (if using hardware RAID):
```bash
omreport storage pdisk
```
2. **Check system logs**:
```bash
dmesg | grep -i sd
journalctl -k | grep -i disk
```
3. **Physical inspection** - Verify drives are installed
### If Drives Are in Use
1. **If in RAID**: Check PERC controller configuration
2. **If in LVM**: Check if they're part of a storage pool
3. **If mounted**: Check what's using them
4. **Decide**: Can they be safely repurposed?
---
## Troubleshooting
### Issue: Drives Not Showing Up
**Possible causes**:
- Drives not physically installed
- PERC controller not configured
- Drives need to be initialized
- System needs reboot to detect drives
**Solutions**:
1. Check physical installation
2. Check PERC controller: `omreport storage pdisk`
3. Initialize drives in PERC if needed
4. Reboot system if drives were just installed
### Issue: Drives Show But Can't Use
**Possible causes**:
- Drives in hardware RAID
- Drives have partitions
- Drives in volume group
**Solutions**:
1. Check PERC RAID configuration
2. Wipe partitions if safe: `wipefs -a /dev/sdX`
3. Remove from volume group if safe: `vgremove <vg-name>`
---
## Related Documentation
- [Add Third OSD Guide](./ADD_THIRD_OSD_GUIDE.md) - How to create OSD after verification
- [Disk Inventory](../infrastructure/DISK_INVENTORY.md) - Complete disk inventory
- [Critical Ceph Issues](./CRITICAL_CEPH_ISSUES.md) - Ceph issues to fix
---
## Summary
### Goal
Verify that 6x 250GB drives exist and identify which ones are available for Ceph OSD creation.
### Expected Result
At least one 250GB drive available and ready to use for creating the third Ceph OSD.
### After Verification
- If available: Create OSD immediately
- If not available: Investigate why and fix
- If partially available: Use what's available
**Last Updated**: 2025-12-13
**Status**: 🔍 **READY TO VERIFY**