Mounting zfs from a rescue shell

krad kraduk at gmail.com
Mon Feb 3 13:40:04 UTC 2014


zpool import -R /mnt <pool_name>


On 3 February 2014 12:31, Andreas Davour <koraq at yahoo.com> wrote:

>
>
> I've managed to screw up the /boot/device.hints file and would need to
> edit it. The problem is, I decided to go for the zfs option, and I'm not
> that used to that fs yet.
>
>
> So, how do I mount my hd root having booted from a usb stick?
>
> zfs mount needs a dataset name, and I have no idea what to use.
>
> mount -t zfs /dev/ada0p2 /mnt tells me "No such file or directory" which
> makes me think there's another slice or something with layers in layers.
> But, which is that?
>
> Anyone have any hints? Please cc this address, as I'm not subscribed to
> questions.
>
>
> Thanks!
>
> /andreas
>
> --
> "My son has spoken the truth, and he has sacrificed more than either the
> president of the United States or Peter King have ever in their political
> careers or their American lives. So how they choose to characterize him
> really doesn't carry that much weight with me." -- Edward Snowden's Father
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> freebsd-questions-unsubscribe at freebsd.org"
>


More information about the freebsd-questions mailing list