In order to permanently add an external HDD, the best way is to first identfy the UUID and the corresponding file system by typing
with that information one can edit the fstab
sudo vim /etc/fstab
and enter then there a line with the format
UUID=<UUID> \tab <mountPoint> \tab <filesystem> \tab <options> \tab 0 \tab 1
Here, the values for <UUID> and <filesytem> we get from the blkid command, the mount point is ‘free choice’ and as option, I choose e.g. errors=remount-ro
Once the fstab is populated like this, just try to mount the disc by typing
sudo mount -a
Sometimes it happens that we have running a whole bunch of slurm jobs from different projects, some of them are running already for days, while others are just fired – and then we noticed, damn, the 100 jobs that I just fired are wrong and they need to be canceled. Unfortunately, there is no slurm command that can do that, it requires some kind of scripting to do that.
The following script takes as an input a slurm job ID and cancels all jobs larger than that (that belong to the logged in user…).
declare -a jobs=()
if [ -z "$1" ] ; then
echo "Minimum Job Number argument is required. Run as '$0 jobnum'"
myself="$(id -u -n)"
for j in $(squeue --user="$myself" --noheader --format='%i') ; do
if [ "$j" -gt "$minjobnum" ] ; then
If you store this e.g as killLarger.sh in your PATH somewhere, you can just use it from anywhere and cancel slurm jobs that are larger than this ID.
This morning something strange happened on my way to the office – I noticed a bright, shiny, yellowish thing on the sky! It was the first time this winter, that the sun was up before I arrived at the office. Finally it seems that the winter is going to be over ‘soon’.
This night we had an incredible full moon, no need for lights or anything else!
Okay, we do not have yet a lot of snow, but still, the first white coverage has arrived here! It even seems, that there is some snow-work waiting in the yard.