getsentry / getsentry/self-hosted

Warn if installing on HDD

Open
#794 0 comments 3 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.