[zfs-discuss] Difference between zfs export and unmounting

jason.braddock.69 at gmail.com jason.braddock.69 at gmail.com
Thu Oct 31 14:50:20 EDT 2013


Hi,

I've made some testing and in the end I have to export my pool before 
shutting down the live system.
Otherwise at next reboot my pool won't mount without forcing the zpool 
import.

Le dimanche 27 octobre 2013 21:50:20 UTC+1, Skorgu a écrit :
>
> If you have shared storage (multiple machines able to access the same disk 
> (or LUN or...)) and more than one machine writes to a zfs pool at once 
> it'll corrupt the pool. Exporting and importing is a sanity check against 
> this happening. 
>
> Thanks,
> Patrick
>
>
> On Sun, Oct 27, 2013 at 4:36 PM, <jason.br... at gmail.com <javascript:>>wrote:
>
>> Thanks for your answer.
>> Why moving the pool to another host would require exporting it and not 
>> just unmounting it?
>> I do not see any difference from mounting the pool on a live system and 
>> mounting it on another host...
>> Or does it have something to do with a kind of identifier related to the 
>> hardware hosting the devices?
>>
>>
>> Le dimanche 27 octobre 2013 12:46:42 UTC+1, db48x a écrit :
>>>
>>> Exporting is for when you want to move the pool to another host, 
>>> unmounting is for when you just don't want to access the files any more. 
>>> You shouldn't have to set it up yourself though; it should just unmount 
>>> everything automatically when you shut down.
>>>
>>>
>>> On Sat, Oct 26, 2013 at 7:47 AM, <jason.br... at gmail.com> wrote:
>>>
>>>> Hi,
>>>>
>>>> I would like to use a ZFS and a live debian system to manage my NAS 
>>>> (yes, it may look like FREENAS or NASFORFREE, but on debian and without 
>>>> webinterface).
>>>>
>>>> When shutting down my live system, should I do a zfs export ? or will 
>>>> umounting all ZFS dataset be safe enough ?
>>>>
>>>> Regards
>>>>
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to zfs-discuss...@**zfsonlinux.org.
>>>>
>>>
>>>  To unsubscribe from this group and stop receiving emails from it, send 
>> an email to zfs-discuss... at zfsonlinux.org <javascript:>.
>>
>
>
>
> -- 
> Patrick Hahn 
>

To unsubscribe from this group and stop receiving emails from it, send an email to zfs-discuss+unsubscribe at zfsonlinux.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.zfsonlinux.org/pipermail/zfs-discuss/attachments/20131031/908eba67/attachment.html>


More information about the zfs-discuss mailing list