Switch off internal power management for Seagate hard drives
===Install openSeaChest===
- openSeaChest uses meson and ninja to build.
- Install the 3rd party dependencies.
apt-get install python3 python3-pip python3-setuptools python3-wheel ninja-build
pip3 install --user meson
- Download and compile openSeaChest
cd /usr/src
git clone --recurse-submodules -j8 https://github.com/Seagate/openSeaChest.git
cd openSeaChest
/root/.local/bin/meson --buildtype=release builddir
ninja -C builddir
cd builddir
./openSeaChest_Basics --scan
./openSeaChest_PowerControl -d /dev/sg4 --showEPCSettings
./openSeaChest_PowerControl -d /dev/sg4 --EPCfeature disable
./openSeaChest_PowerControl -d /dev/sg4 --powerBalanceFeature disable
./openSeaChest_PowerControl -d /dev/sg4 --showEPCSettings