17 lines
385 B
Bash
Executable File
17 lines
385 B
Bash
Executable File
#!/bin/bash
|
|
# spacecruft-mount-cephfs
|
|
|
|
# Kernel
|
|
#sudo mount -t ceph 10.99.99.7:6789:/satnogs -o rw,name=ml,secret="`cat /home/jebba/.cephkey`" /srv/satnogs
|
|
|
|
# FUSE
|
|
# In theory should be newer/better that the kernel module.
|
|
sudo ceph-fuse \
|
|
--name=client.`hostname` \
|
|
--conf=/etc/ceph/ceph.conf \
|
|
--client_mountpoint /satnogs \
|
|
/srv/satnogs/
|
|
|
|
df -h /srv/satnogs
|
|
|