changeset 157:31aaf8f359f9

share photoprism disk to ditto
author drewp@bigasterisk.com
date Thu, 16 Mar 2023 17:45:20 -0700
parents d10cab700ce6
children fafaecb0282d
files files/fstab/ditto templates/bang_exports.j2
diffstat 2 files changed, 21 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/files/fstab/ditto	Thu Mar 16 17:45:20 2023 -0700
@@ -0,0 +1,17 @@
+# written by pyinfra
+
+
+#
+# Use 'blkid' to print the universally unique identifier for a
+# device; this may be used with UUID= as a more robust way to name devices
+# that works even if disks are added and removed. See fstab(5).
+#
+# <file system> <mount point>   <type>  <options>       <dump>  <pass>
+# / was on /dev/nvme0n1p2 during curtin installation
+/dev/disk/by-uuid/6e64ce62-34db-4084-9385-d001e99ad38b / ext4 defaults 0 1
+# /boot/efi was on /dev/nvme0n1p1 during curtin installation
+/dev/disk/by-uuid/3F95-42F4 /boot/efi vfat defaults 0 1
+/swap.img	none	swap	sw	0	0
+
+bang5:/stor6/my      /my         nfs defaults 0 0
+bang5:/d4/photoprism /photoprism nfs defaults 0 0
--- a/templates/bang_exports.j2	Thu Mar 16 17:42:29 2023 -0700
+++ b/templates/bang_exports.j2	Thu Mar 16 17:45:20 2023 -0700
@@ -1,3 +1,6 @@
 # written by pyinfra
 
-# none; zfs takes care of its own
\ No newline at end of file
+# zfs takes care of its own
+
+# photoprism on ditto
+/d4/photoprism    10.5.0.7(rw)