[6.0] Snapshot removes acls flag from fs.

Lars Kristiansen lars at adventuras.no
Fri Jan 6 19:03:44 PST 2006


>
>
> David Malone wrote:
>> On Fri, Jan 06, 2006 at 10:50:57AM +0100, V??clav Haisman wrote:
>>
>>>When I make snapshot of fs it removes "acls" flag from mount. While the
>>>command is "mount -u -o snapshot etc." I don't think it should remove
>>>the flag because it is not specified besides the snapshot option.
>>
>>
>> You probably want something like:
>>
>> 	mount -u -o cur,snapshot ...
>>
>> See the "current" and "fstab" options in the mount man page. An
>> easier way to do this would be to use the mksnap_ffs command, which
>> should preserve the old options.
>>
>> 	David.
> Hmmm, I use the sysutils/snapshot port that allows to automates this
> through periodic.conf... I guess I should rather complain to them then.

And as a workaround you could remount immediately after taking a snapshot.
Example command in crontab if you want to use the options from fstab:
/usr/local/sbin/periodic-snapshot daily ; mount -a -u -o fstab -t nomfs

--
Lars

>
> VH
>



More information about the freebsd-stable mailing list