Compare commits

..

No commits in common. "7ef78737d54966f3761a8cb4a55e8cb996769916" and "c569ae410d8c2e9c8815598e23ddfd6a15b73dd6" have entirely different histories.

1 changed files with 0 additions and 20 deletions

View File

@ -1,20 +0,0 @@
#!/bin/sh
hostname=$(hostname)
if [ "$hostname" != "copernicus" ]; then
echo "this script should be run only on copernicus"
exit 1
fi
if [ "$1" = "umount" ]; then
sudo umount ~/mount
sudo mdadm --stop /dev/md0
echo "done"
exit 0
fi
sudo mdadm --assemble --run /dev/md0 /dev/sdb2 /dev/sdc2
mkdir -p ~/mount
sudo mount /dev/md0 ~/mount