LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   *BSD (https://www.linuxquestions.org/questions/%2Absd-17/)
-   -   How do I mount a zfs snapshot? (https://www.linuxquestions.org/questions/%2Absd-17/how-do-i-mount-a-zfs-snapshot-4175733175/)

dave@bsd 01-25-2024 09:02 AM

How do I mount a zfs snapshot?
 
Hi,

Before I signed up here I research this and nothing I found online worked.

i am using using freebsd 14 in a VM.

i tried
Code:

zfs mount zroot/home/geek@myhome-snap /mnt
I get an error like I need to use zfs set|get for the property value and

an error of use zfs allow|unallow.

I am doing this as root, BTW.

I also tried
Code:

mount zroot/home/geek@myhome-snap /mnt
Still wouldn't mount.

I appreciate any help on this. Thanks for reading.

pan64 01-25-2024 09:51 AM

do you mean this? https://askubuntu.com/questions/1033...t-zfs-snapshot

_blackhole_ 01-25-2024 10:02 AM

You're using zfs mount incorrectly:

Covered here: https://docs.freebsd.org/en/books/handbook/zfs/

dave@bsd 01-26-2024 02:10 AM

Quote:

Originally Posted by _blackhole_ (Post 6479217)
You're using zfs mount incorrectly:

Covered here: https://docs.freebsd.org/en/books/handbook/zfs/

I already know this. What I wanted was to mount a zfs snapshot not a zfs dataset.
I appreciate the guide anyway. I like the raid section. It's good good read. I bookmarked the address. :)

dave@bsd 01-26-2024 02:17 AM

Quote:

Originally Posted by pan64 (Post 6479214)

Yes! it work!

I saw this snapdir from my research but the pages I looked at didn't explain how to use it.
your link did.

Thanks :) :thumbsup:

+1


All times are GMT -5. The time now is 03:23 AM.