Change video storage directory from /storage to /mnt/nfs_share
- Update StorageConfig default base_path in core/config.py - Update base_path and camera storage_paths in config.json and config.compose.json - Update Docker Compose volume mounts to use /mnt/nfs_share - Update start_system.sh to create /mnt/nfs_share directory - Update convert_avi_to_mp4.sh to use new NFS path - Update all documentation files to reflect new storage paths - Videos now stored on NFS server at 192.168.1.249:/mnt/nfs_share/
This commit is contained in:
@@ -142,9 +142,9 @@ Ensure the `camera_sdk` directory contains the mvsdk library for your GigE camer
|
||||
### 4. Configure Storage Directory
|
||||
```bash
|
||||
# Create storage directory (adjust path as needed)
|
||||
mkdir -p ./storage
|
||||
mkdir -p ./mnt/nfs_share
|
||||
# Or for system-wide storage:
|
||||
# sudo mkdir -p /storage && sudo chown $USER:$USER /storage
|
||||
# sudo mkdir -p /mnt/nfs_share && sudo chown $USER:$USER /mnt/nfs_share
|
||||
```
|
||||
|
||||
### 5. Setup Time Synchronization (Recommended)
|
||||
@@ -169,7 +169,7 @@ Edit `config.json` to match your setup:
|
||||
{
|
||||
"name": "camera1",
|
||||
"machine_topic": "machine1",
|
||||
"storage_path": "./storage/camera1",
|
||||
"storage_path": "./mnt/nfs_share/camera1",
|
||||
"enabled": true
|
||||
}
|
||||
]
|
||||
@@ -201,7 +201,7 @@ Edit `config.json` to match your setup:
|
||||
{
|
||||
"name": "camera1",
|
||||
"machine_topic": "vibratory_conveyor",
|
||||
"storage_path": "./storage/camera1",
|
||||
"storage_path": "./mnt/nfs_share/camera1",
|
||||
"exposure_ms": 1.0,
|
||||
"gain": 3.5,
|
||||
"target_fps": 3.0,
|
||||
|
||||
Reference in New Issue
Block a user