From dfd075d99da9b3eb7100e72c08814c8fcb9255c3 Mon Sep 17 00:00:00 2001 From: batvin321 Date: Mon, 27 Jan 2025 23:33:36 -0500 Subject: [PATCH] Update format-zfs.sh --- format-zfs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/format-zfs.sh b/format-zfs.sh index cf5a688..22190d7 100644 --- a/format-zfs.sh +++ b/format-zfs.sh @@ -2,5 +2,5 @@ echo "copy the ID of disks to be used with a space in between" ls /dev/disk/by-id read diskID -zpool create -f -o ashift=12 -m /mnt/media media-pool raidz $diskID -zfs set mountpoint=legacy media-pool \ No newline at end of file +sudo zpool create -f -o ashift=12 -m /mnt/media media-pool raidz $diskID +sudo zfs set mountpoint=legacy media-pool \ No newline at end of file