I was looking to recover one file so I did
This shows among other things
I thought the way to mount it was
But got the message
Doing some more web searching indicated that this might mean it was already mounted so I went into /zroot/.zfs/snapshot and did ls -a but
there was nothing there. To make this more aggravating, at some point, playing with the syntax, I did find the snapshot in /zroot/.zfs/snapshot,
but trying to mount another snapshot, I couldn't, I got the same error as above. And being aggravated at this point, I don't know what I did to actually correctly mount the snapshot once and couldn't repeat it.
My second question--and mods, if this should be a separate thread, please let me know and I'll do so---is that, with the one successfully mounted snapshot, I thought that home would contain my home directory and the files, however when I cd'd into the snapshot/home, there was nothing there.
My main question is the first one though, how do I mount an existing snapshot to look at it, and, if needed, copy a file from it. Looking at the handbook, and web searching, I can't figure out where my error is.
Thanks for any input.
zfs list -t snapshot
This shows among other things
zroot/ROOT/default@2024-12-03-07:36:32-0 3.26M - 10.4G -
I thought the way to mount it was
zfs mount zroot/ROOT/default@2024-12-03-07:36:32-0
But got the message
cannot open 'zroot/ROOT/default@2024-12-03-07:36:32-0': snapshot delimiter '@' is not expected here
Doing some more web searching indicated that this might mean it was already mounted so I went into /zroot/.zfs/snapshot and did ls -a but
there was nothing there. To make this more aggravating, at some point, playing with the syntax, I did find the snapshot in /zroot/.zfs/snapshot,
but trying to mount another snapshot, I couldn't, I got the same error as above. And being aggravated at this point, I don't know what I did to actually correctly mount the snapshot once and couldn't repeat it.
My second question--and mods, if this should be a separate thread, please let me know and I'll do so---is that, with the one successfully mounted snapshot, I thought that home would contain my home directory and the files, however when I cd'd into the snapshot/home, there was nothing there.
My main question is the first one though, how do I mount an existing snapshot to look at it, and, if needed, copy a file from it. Looking at the handbook, and web searching, I can't figure out where my error is.
Thanks for any input.