getsentry / getsentry/self-hosted
Warn if installing on HDD
Open
Improvement
Type: Enhancement
- Dominant language
- Shell
- Stars
- 9.6k
- Forks
- 2k
- Avg merge
- 1d 5h
- Merged PRs (30d)
- 15
Description
@lucas-zimerman reports [a bad experience](https://www.youtube.com/watch?v=LhyREw2f6dk) trying to run Sentry on a HDD. If this is universally a bad idea we could add a warning to `install.sh`.
For some OS:
```
cat /sys/block/sda/queue/rotational
1 = HDD 0 = SSD
```
### Acceptance Criteria
1. On systems that support inspecting the disk type, emit a warning during `install.sh` if the disk type is HDD.
2. On systems that do not support inspecting disk type, continue silently.
Contributor guide
Assessment
This issue has not been assessed yet.