satnogs-wut/scripts/spacecruft-mount-cephfs

17 lines
385 B
Plaintext
Raw Permalink Normal View History

2020-01-21 12:44:13 -07:00
#!/bin/bash
2020-01-21 16:34:38 -07:00
# spacecruft-mount-cephfs
2020-01-21 12:44:13 -07:00
# Kernel
2020-01-21 16:34:38 -07:00
#sudo mount -t ceph 10.99.99.7:6789:/satnogs -o rw,name=ml,secret="`cat /home/jebba/.cephkey`" /srv/satnogs
2020-01-21 12:44:13 -07:00
# FUSE
2020-01-21 16:34:38 -07:00
# In theory should be newer/better that the kernel module.
sudo ceph-fuse \
2020-01-21 16:53:12 -07:00
--name=client.`hostname` \
2020-01-21 16:34:38 -07:00
--conf=/etc/ceph/ceph.conf \
--client_mountpoint /satnogs \
/srv/satnogs/
2020-01-21 12:44:13 -07:00
df -h /srv/satnogs