Benoire Posted July 2, 2015 Share #1 Posted July 2, 2015 I need to do a manual expansion of my primary SHR-1 array as it won't fully expand from the GUI. I know that the only service using the volume is the database software postgres but unfortunately I cannot find any script to stop it, can anyone point me in the right direction? Link to comment Share on other sites More sharing options...
Benoire Posted July 2, 2015 Author Share #2 Posted July 2, 2015 Right don't worry, I have it now. Its in the rc.sysv directory, not the rc.d one. Link to comment Share on other sites More sharing options...
brantje Posted July 3, 2015 Share #3 Posted July 3, 2015 I need to do a manual expansion of my primary SHR-1 array as it won't fully expand from the GUI. I know that the only service using the volume is the database software postgres but unfortunately I cannot find any script to stop it, can anyone point me in the right direction? If you are running docker containers on that volume, you will need to stop the contrainers before expanding. Link to comment Share on other sites More sharing options...
Benoire Posted July 3, 2015 Author Share #4 Posted July 3, 2015 I've fixed it now. syno_poweroff_task -d at the SSH prompt shuts down all services on the device except ssh allowing you to unmount the volume and do other things without having to manually shut down everything... Its a good command to remember! I've also fixed my other problem now, found it was a md 'partition' not being assigned to the lvm2 group for some reason. Link to comment Share on other sites More sharing options...
PnoT Posted July 3, 2015 Share #5 Posted July 3, 2015 I need to do a manual expansion of my primary SHR-1 array as it won't fully expand from the GUI. I know that the only service using the volume is the database software postgres but unfortunately I cannot find any script to stop it, can anyone point me in the right direction? su -l postgres -c "exec /usr/syno/pgsql/bin/pg_ctl stop -s -m fast" Link to comment Share on other sites More sharing options...
Recommended Posts