Permissions changed from Win to Unix on share

Status
Not open for further replies.

R.G.

Explorer
Joined
Sep 11, 2011
Messages
96
I don't know whether to call this a bug, a feature, a coincidence, or fumble fingers.

I use my FreeNAS box (call this FN1) to back up the other machines on the house net. It's worked without flaw or complaint for a year or so now. I've recovered enough financially to give it its own backup, so I'm in the process of getting an earlier incarnation of a server back on line and at the moment it's doing the several-days of filling up the first replication from the front-end NAS box.

The front-end net machines use a background backup utility. This utility start complaining that its backup disk was full. Odd - I have just been tinkering with that machine, and it's using 4 out of 12TB; nowhere near full.

A little snooping turned up the fact that the cifs shares on FV1 changed to "unix" permissions. Flip that back to "Windows" and backups start. But how did it get to "unix"?

There are two candidates: I moved up to 9.10 on FN1, and I set up FN2 and started the replication task. I'm inclined to think that the move to 9.10 on FN1 did the deed. But why and how? I just changed the "train" to 9.10, pulled in the update, and then told it "go". Does the update change the permissions style on shares? Or did I fumble-finger it in mucking around?
 

Sakuru

Guru
Joined
Nov 20, 2015
Messages
527
Does this show when it happened?
Code:
zpool history | grep -Ev "(snapshot|destroy)"
 

SweetAndLow

Sweet'NASty
Joined
Nov 6, 2013
Messages
6,421
Most likely fumbled your fingers.
 

R.G.

Explorer
Joined
Sep 11, 2011
Messages
96
Thanks for the reply. I'm not a daily user of grep, so bear with me. I think you're telling me to look for every line not containing snapshot or destroy.

Beyond that, I found the term "aclmode". Is that what I'm looking for?

And yes, fumbled is *always* a high likelihood!
 

Sakuru

Guru
Joined
Nov 20, 2015
Messages
527
Post it here in code tags and we'll let you know :)
 

R.G.

Explorer
Joined
Sep 11, 2011
Messages
96
Thanks!

Code:
History for 'databucket':

2014-12-11.21:27:40 zpool create -o cachefile=/data/zfs/zpool.cache -o failmode=continue -o autoexpand=on -O compression=lz4 -O aclmode=passthrough -O aclinherit=passthrough -f -m /databucket -o altroot=/mnt databucket raidz3 /dev/gptid/cef67155-81ae-11e4-aeff-0cc47a4450f1 /dev/gptid/cf72598a-81ae-11e4-aeff-0cc47a4450f1 /dev/gptid/cfdc0f62-81ae-11e4-aeff-0cc47a4450f1 /dev/gptid/d0452f0e-81ae-11e4-aeff-0cc47a4450f1 /dev/gptid/d123d0f4-81ae-11e4-aeff-0cc47a4450f1 /dev/gptid/d1b5e1b5-81ae-11e4-aeff-0cc47a4450f1 /dev/gptid/d21d8f6a-81ae-11e4-aeff-0cc47a4450f1
2014-12-11.21:27:45 zfs inherit mountpoint databucket
2014-12-11.21:27:45 zpool set cachefile=/data/zfs/zpool.cache databucket
2014-12-11.21:28:04 zfs create -o mountpoint=legacy databucket/.system
2014-12-11.21:28:05 zfs create -o mountpoint=legacy databucket/.system/cores
2014-12-11.21:28:05 zfs create -o mountpoint=legacy databucket/.system/samba4
2014-12-11.21:28:05 zfs create -o mountpoint=legacy databucket/.system/syslog-f36704f2fe794cb6a75657843255655d
2014-12-11.21:28:10 zfs create -o mountpoint=legacy databucket/.system/rrd-f36704f2fe794cb6a75657843255655d
2014-12-12.07:58:09 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2014-12-12.07:58:09 zpool set cachefile=/data/zfs/zpool.cache databucket
2014-12-12.08:05:48 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2014-12-12.08:05:48 zpool set cachefile=/data/zfs/zpool.cache databucket
2014-12-12.10:38:29 zfs create -o casesensitivity=sensitive databucket/Scripts
2014-12-12.13:23:33 zfs create -o casesensitivity=sensitive databucket/Scripts/windows-shares
2014-12-12.13:28:50 zfs create -o casesensitivity=sensitive databucket/windows-shares
2014-12-12.13:29:13 zfs create -o casesensitivity=sensitive databucket/BrowseShares
2014-12-13.08:50:35 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2014-12-13.08:50:35 zpool set cachefile=/data/zfs/zpool.cache databucket
2014-12-13.09:00:42 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2014-12-13.09:00:42 zpool set cachefile=/data/zfs/zpool.cache databucket
2014-12-13.09:14:31 zpool scrub databucket
2014-12-13.12:02:23 zpool clear databucket gptid/cef67155-81ae-11e4-aeff-0cc47a4450f1
2014-12-13.20:25:09 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2014-12-13.20:25:09 zpool set cachefile=/data/zfs/zpool.cache databucket
2014-12-14.18:28:07 zpool scrub databucket
2014-12-14.19:58:45 zpool scrub databucket
2014-12-18.22:31:08 zpool scrub databucket
2014-12-20.12:18:07 zpool scrub databucket
2014-12-24.21:10:00 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2014-12-24.21:10:00 zpool set cachefile=/data/zfs/zpool.cache databucket
2014-12-30.16:37:00 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2014-12-30.16:37:00 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-01-22.05:55:55 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-01-22.05:55:55 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-01-25.00:00:11 zpool scrub databucket
2015-01-25.23:34:06 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-01-25.23:34:06 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-01-26.08:53:07 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-01-26.08:53:07 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-01-26.08:58:01 zpool scrub databucket
2015-02-02.12:38:38 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-02-02.12:38:38 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-02-04.04:37:34 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-02-04.04:37:34 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-02-09.08:44:06 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-02-09.08:44:06 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-02-09.09:31:24 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-02-09.09:31:24 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-02-09.10:07:55 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-02-09.10:07:55 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-02-12.09:37:52 zpool clear databucket
2015-02-12.09:38:45 zpool scrub databucket
2015-02-12.13:09:59 zpool clear databucket
2015-02-12.23:02:13 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-02-12.23:02:13 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-02-12.23:15:44 zpool replace databucket 12258527211464765925 gptid/55acf1fc-b33f-11e4-bc20-0cc47a4450f1
2015-02-13.08:55:04 zpool import -o cachefile=none -R /mnt -f 16853782973765895473
2015-02-13.08:55:04 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-02-13.09:23:30 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-02-13.09:23:30 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-02-14.09:50:53 zpool clear databucket
2015-03-22.00:00:11 zpool scrub databucket
2015-04-26.00:18:24 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-04-26.00:18:24 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-05-02.10:08:33 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-05-02.10:08:33 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-05-02.13:46:36 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-05-02.13:46:36 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-05-02.20:26:21 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-05-02.20:26:21 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-05-02.20:38:39 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-05-02.20:38:39 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-05-02.20:54:32 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-05-02.20:54:32 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-05-02.21:20:16 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-05-02.21:20:16 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-05-02.21:33:07 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-05-02.21:33:07 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-05-03.00:00:10 zpool scrub databucket
2015-05-05.19:29:01 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-05-05.19:29:01 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-05-13.12:11:21 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-05-13.12:11:21 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-05-24.09:11:31 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-05-24.09:11:31 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-05-24.21:30:59 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-05-24.21:30:59 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-05-25.17:14:26 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-05-25.17:14:26 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-05-25.19:24:26 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-05-25.19:24:26 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-06-03.21:58:32 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-06-03.21:58:32 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-06-14.00:00:11 zpool scrub databucket
2015-07-13.15:56:16 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-07-13.15:56:16 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-07-13.16:20:08 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-07-13.16:20:08 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-07-13.16:33:07 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-07-13.16:33:07 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-07-13.16:42:43 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-07-13.16:42:43 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-07-26.00:00:11 zpool scrub databucket
2015-09-06.00:00:11 zpool scrub databucket
2015-09-22.13:27:52 zpool scrub databucket
2015-11-01.00:00:11 zpool scrub databucket
2015-11-14.18:49:05 zfs create -o casesensitivity=sensitive databucket/Jails_Root
2015-11-14.18:55:58 zfs create -o mountpoint=/databucket/Jails_Root/.warden-template-standard -p databucket/Jails_Root/.warden-template-standard
2015-11-14.20:14:48 zfs clone databucket/Jails_Root/.warden-template-standard@clean databucket/Jails_Root/plex
2015-11-14.22:25:18 zfs create -o mountpoint=/databucket/Jails_Root/.warden-template-pluginjail -p databucket/Jails_Root/.warden-template-pluginjail
2015-11-14.23:10:03 zfs clone databucket/Jails_Root/.warden-template-pluginjail@clean databucket/Jails_Root/plexmediaserver_1
2015-11-15.15:25:15 zfs clone databucket/Jails_Root/.warden-template-pluginjail@clean databucket/Jails_Root/plexmediaserver_1
2015-11-15.20:49:56 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-11-15.20:49:56 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-11-15.21:08:54 zfs clone databucket/Jails_Root/.warden-template-pluginjail@clean databucket/Jails_Root/plexmediaserver_1
2015-11-17.10:40:47 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-11-17.10:40:47 zpool set cachefile=/data/zfs/zpool.cache databucket
2015-12-06.00:00:12 zpool scrub databucket
2015-12-30.09:59:07 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2015-12-30.09:59:07 zpool set cachefile=/data/zfs/zpool.cache databucket
2016-01-02.14:04:27 zfs create -o refquota=1000G -o casesensitivity=sensitive databucket/time-machine-backups
2016-01-14.15:19:46 zfs create -o aclmode=restricted -o casesensitivity=sensitive databucket/windows-shares/net-PC-III
2016-01-17.00:00:11 zpool scrub databucket
2016-02-28.00:00:10 zpool scrub databucket
2016-04-10.00:00:11 zpool scrub databucket
2016-05-14.16:01:01 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2016-05-14.16:01:01 zpool set cachefile=/data/zfs/zpool.cache databucket
2016-05-16.22:21:32 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2016-05-16.22:21:32 zpool set cachefile=/data/zfs/zpool.cache databucket
2016-05-16.22:22:21 zfs create -o mountpoint=legacy databucket/.system/configs-f36704f2fe794cb6a75657843255655d
2016-05-16.22:23:19 zfs inherit -r freenas:state databucket
2016-05-18.08:06:18 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2016-05-18.08:06:18 zpool set cachefile=/data/zfs/zpool.cache databucket
2016-05-18.08:08:01 zfs inherit -r freenas:state databucket
2016-05-18.11:42:36 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2016-05-18.11:42:36 zpool set cachefile=/data/zfs/zpool.cache databucket
2016-05-18.11:58:43 zpool scrub databucket
2016-05-18.18:46:36 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2016-05-18.18:46:36 zpool set cachefile=/data/zfs/zpool.cache databucket
2016-05-21.15:14:23 zfs create databucket/jails
2016-05-21.15:32:31 zfs create -o mountpoint=/databucket/jails/.warden-template-pluginjail -p databucket/jails/.warden-template-pluginjail
2016-05-21.16:29:55 zfs clone databucket/jails/.warden-template-pluginjail@clean databucket/jails/plexmediaserver_1
2016-05-23.11:59:20 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2016-05-23.11:59:20 zpool set cachefile=/data/zfs/zpool.cache databucket
2016-05-31.09:50:00 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2016-05-31.09:50:00 zpool set cachefile=/data/zfs/zpool.cache databucket
2016-06-02.11:07:44 zpool import -c /data/zfs/zpool.cache.saved -o cachefile=none -R /mnt -f 16853782973765895473
2016-06-02.11:07:44 zpool set cachefile=/data/zfs/zpool.cache databucket
2016-06-06.08:56:41 zfs inherit compression databucket/windows-shares
2016-06-06.08:56:41 zfs inherit atime databucket/windows-shares
2016-06-06.08:56:42 zfs inherit dedup databucket/windows-shares
2016-06-06.08:56:42 zfs set reservation=0 databucket/windows-shares
2016-06-06.08:56:43 zfs set refreservation=0 databucket/windows-shares
2016-06-06.08:56:44 zfs set quota=none databucket/windows-shares
2016-06-06.08:56:44 zfs set refquota=none databucket/windows-shares
2016-06-06.08:56:49 zfs set aclmode=restricted databucket/windows-shares
 
Last edited:

Sakuru

Guru
Joined
Nov 20, 2015
Messages
527
Forum tags use square brackets [ ], not angle brackets < >.
Interesting, all I see in that is when you changed it back to Windows. Interesting little issue :)
 

R.G.

Explorer
Joined
Sep 11, 2011
Messages
96
Fixed the post, should look better now.

I couldn't find anywhere it should have changed, either.
 
Status
Not open for further replies.
Top