Re: [zfs-discuss] Time Slider in Solaris10

2010-05-10 Thread Mary Ellen Fitzpatrick

Oh.. thanks..
I did download the latest zfs-auto-snapshot:  
zfs-snapshot-0.11.2


Is there a more recent version? 


John Balestrini wrote:

I believe that Time Slider is just a front end for zfs-auto-snapshot.

John


On May 10, 2010, at 1:17 PM, Mary Ellen Fitzpatrick wrote:

  

Is Time Slider available in Solaris10?  Or just in Opensolaris?
I am running Solaris 10 5/09 s10x_u7wos_08 X86 and wanted to automate my snapshots. From reading blogs, seems zfs-auto-snapshot is obsolete and was/is being replaced by time-slider.  But I can not seem to find it for Solaris10. 
I do have a script/cron job that will work, but wanted to test out Time Slider


--
Thanks
Mary Ellen



___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss



  


--
Thanks
Mary Ellen


Mary Ellen FitzPatrick
Systems Analyst 
Bioinformatics

Boston University
24 Cummington St.
Boston, MA 02215
office 617-358-2771
cell 617-797-7856 
mfitz...@bu.edu


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] Time Slider in Solaris10

2010-05-10 Thread Mary Ellen Fitzpatrick

Is Time Slider available in Solaris10?  Or just in Opensolaris?
I am running Solaris 10 5/09 s10x_u7wos_08 X86 and wanted to automate my 
snapshots. 
From reading blogs, seems zfs-auto-snapshot is obsolete and was/is 
being replaced by time-slider.  But I can not seem to find it for 
Solaris10. 

I do have a script/cron job that will work, but wanted to test out Time 
Slider


--
Thanks
Mary Ellen




___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS, NFS, and ACLs ssues

2010-05-03 Thread Mary Ellen Fitzpatrick
Yes, you were correct, I chown  zp-ext/test/mfitzpat and tried to mount 
/zp-ext/test


When I mounted /zp-ext/test/mfitzpat  on the remote linux system,  as 
/fs/mfitzpat
I get the correct permissions and I can create new files/dirs. 
[mfitz...@nona-man test]$ ls -l

total 4
drwxr-xr-x+ 2 mfitzpat umass 2 May  3 12:42 bar
-rw-r--r--+ 1 mfitzpat umass 0 May  3 12:41 foo
-rw-r--r--+ 1 mfitzpat umass 0 May  3 13:10 foo.1

I want to use autofs on the remote clients,  as I have many dirs that 
need to be exported from /zp-ext/test/*


Here is the auto.home on the client, as setup for the user mfitzpat.  I 
really do not want to edit the auto.home file for each user.

mfitzpat-rw,hard,intr   hecate:/zp-ext/test/mfitzpat

Is there a way to set permissions so that the /etc/auto.home file on the 
clients does not list every exported dir/mount point?


Thanks for your help
Mary Ellen



Paul B. Henson wrote:

On Thu, 29 Apr 2010, Mary Ellen Fitzpatrick wrote:

  

hecate:/zp-ext/test> zfs get sharenfs zp-ext/test/mfitzpat


[...]
  

hecate:/zp-ext/test> chown -R mfitzpat:umass mfitzpat


[...]
  

test-rw,hard,intr   hecate:/zp-ext/test


[...]
  

drwxr-xr-x+ 2 root root 2 Apr 29 11:15 mfitzpat



Unless I'm missing something, you chown'd the filesystem
zp-ext/test/mfitzpat but you mounted the filesystem zp-ext/test; hence
you're seeing the mount point for the mfitzpat filesystem in the
zp-ext/test filesystem over NFS, not the actual zp-ext/test/mfitzpat
filesystem.

Pending the availability of mirror mounts


(http://hub.opensolaris.org/bin/download/Project+nfs-namespace/files/mm-PRS-open.html)

you need to mount each ZFS filesystem you're exporting via NFS separately.


  


--
Thanks
Mary Ellen


Mary Ellen FitzPatrick
Systems Analyst 
Bioinformatics

Boston University
24 Cummington St.
Boston, MA 02215
office 617-358-2771
cell 617-797-7856 
mfitz...@bu.edu


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


Re: [zfs-discuss] ZFS, NFS, and ACLs ssues

2010-04-29 Thread Mary Ellen Fitzpatrick
I setup the share and mounted on linux client, permissions did not carry 
over from zfs share.



hecate:~> zfs create zp-ext/test/mfitzpat
hecate:/zp-ext/test> zfs get sharenfs zp-ext/test/mfitzpat
NAME  PROPERTY  VALUE SOURCE
zp-ext/test/mfitzpat  sharenfs  oninherited from zp-ext
hecate:/zp-ext/test> chown -R mfitzpat:umass mfitzpat

updated auto.home on linux client(nona-man)
test-rw,hard,intr   hecate:/zp-ext/test

nona-man:/# cd /fs/test
nona-man:/fs/test# ls -l
total 3
drwxr-xr-x+ 2 root root 2 Apr 29 11:15 mfitzpat

Permissions did not carry over from zfs share.
Willing test/try next step.

Mary  Ellen




Cindy Swearingen wrote:

Hi Mary Ellen,

We were looking at this problem and are unsure what the problem is...

To rule out NFS as the root cause, could you create and share a test ZFS 
file system without any ACLs to see if you can access the data from the

Linux client?

Let us know the result of your test.

Thanks,

Cindy
On 04/28/10 12:54, Mary Ellen Fitzpatrick wrote:
  
New to Solairs/ZFS and having a difficult time getting ZFS, NFS and ACLs 
all working together, properly.   Trying access/use zfs shared 
filesystems on a linux client. When I access the dir/files on the linux 
client, my permissions do not carry over, nor do the newly created 
files, and I can not create new files/dirs.   The permissions/owner on 
the zfs share are set so the owner (mfitzpat) is allowed to do 
everything, but permissions are not carrying over via NFS to the linux 
client.I have googled/read and can not get it right.   I think this 
has something to do with NSF4, but I can not figure it out.


Any help appreciated
Mary Ellen

Running Solaris10 5/09 (u7) on a SunFire x4540 (hecate) with ZFS and zfs 
shares automounted to Centos5 client (nona-man).
Running NIS on nona-man(Centos5) and hecate (zfs) is a client.  All 
works well.


I have created the following zfs filesystems to share and have sharenfs=on
hecate:/zp-ext/spartans/umass> zfs get sharenfs
zp-ext/spartans/umass   sharenfs  oninherited from 
zp-ext/spartans
zp-ext/spartans/umass/mfitzpat  sharenfs  oninherited from 
zp-ext/spartans


set up inheritance:
hecate:/zp-ext/spartans/umass> zfs set aclinherit=passthrough 
zp-ext/spartans/umass
hecate:/zp-ext/spartans/umass> zfs set aclinherit=passthrough 
zp-ext/spartans/umass/mfitzpat
hecate:/zp-ext/spartans/umass> zfs set aclmode=passthrough 
zp-ext/spartans/umass
hecate:/zp-ext/spartans/umass> zfs set aclmode=passthrough 
zp-ext/spartans/umass/mfitzpat


Set owner:group:
hecate:/zp-ext/spartans/umass> chown mfitzpat:umass mfitzpat
hecate:/zp-ext/spartans/umass> ls -l
total 5
drwxr-xr-x   2 mfitzpat umass  2 Apr 28 13:18 mfitzpat

Permissions:
hecate:/zp-ext/spartans/umass> ls -dv mfitzpat
drwxr-xr-x   2 mfitzpat umass  2 Apr 28 14:06 mfitzpat
0:owner@::deny
1:owner@:list_directory/read_data/add_file/write_data/add_subdirectory
/append_data/write_xattr/execute/write_attributes/write_acl
/write_owner:allow
2:group@:add_file/write_data/add_subdirectory/append_data:deny
3:group@:list_directory/read_data/execute:allow

4:everyone@:add_file/write_data/add_subdirectory/append_data/write_xattr

/write_attributes/write_acl/write_owner:deny
5:everyone@:list_directory/read_data/read_xattr/execute/read_attributes
/read_acl/synchronize:allow

I can access, create/delete files/dirs on the zfs system and permissions 
hold.

[mfitz...@hecate mfitzpat]$ touch foo
[mfitz...@hecate mfitzpat]$ ls -l
total 1
-rw-r--r--   1 mfitzpat umass  0 Apr 28 14:18 foo

When I try to access the dir/files on the linux client, my permissions 
do no carry over, nor do the newly created files, and I can not create 
new files/dirs.

[mfitz...@nona-man umass]$ ls -l
drwxr-xr-x+ 2 root root 2 Apr 28 13:18 mfitzpat

[mfitz...@nona-man mfitzpat]$ pwd
/fs/umass/mfitzpat
[mfitz...@nona-man mfitzpat]$ ls
[mfitz...@nona-man mfitzpat]$


    


--
Thanks
Mary Ellen


Mary Ellen FitzPatrick
Systems Analyst 
Bioinformatics

Boston University
24 Cummington St.
Boston, MA 02215
office 617-358-2771
cell 617-797-7856 
mfitz...@bu.edu


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[zfs-discuss] ZFS, NFS, and ACLs ssues

2010-04-28 Thread Mary Ellen Fitzpatrick
New to Solairs/ZFS and having a difficult time getting ZFS, NFS and ACLs 
all working together, properly.   Trying access/use zfs shared 
filesystems on a linux client. When I access the dir/files on the linux 
client, my permissions do not carry over, nor do the newly created 
files, and I can not create new files/dirs.   The permissions/owner on 
the zfs share are set so the owner (mfitzpat) is allowed to do 
everything, but permissions are not carrying over via NFS to the linux 
client.I have googled/read and can not get it right.   I think this 
has something to do with NSF4, but I can not figure it out.


Any help appreciated
Mary Ellen

Running Solaris10 5/09 (u7) on a SunFire x4540 (hecate) with ZFS and zfs 
shares automounted to Centos5 client (nona-man).
Running NIS on nona-man(Centos5) and hecate (zfs) is a client.  All 
works well.


I have created the following zfs filesystems to share and have sharenfs=on
hecate:/zp-ext/spartans/umass> zfs get sharenfs
zp-ext/spartans/umass   sharenfs  oninherited from 
zp-ext/spartans
zp-ext/spartans/umass/mfitzpat  sharenfs  oninherited from 
zp-ext/spartans


set up inheritance:
hecate:/zp-ext/spartans/umass> zfs set aclinherit=passthrough 
zp-ext/spartans/umass
hecate:/zp-ext/spartans/umass> zfs set aclinherit=passthrough 
zp-ext/spartans/umass/mfitzpat
hecate:/zp-ext/spartans/umass> zfs set aclmode=passthrough 
zp-ext/spartans/umass
hecate:/zp-ext/spartans/umass> zfs set aclmode=passthrough 
zp-ext/spartans/umass/mfitzpat


Set owner:group:
hecate:/zp-ext/spartans/umass> chown mfitzpat:umass mfitzpat
hecate:/zp-ext/spartans/umass> ls -l
total 5
drwxr-xr-x   2 mfitzpat umass  2 Apr 28 13:18 mfitzpat

Permissions:
hecate:/zp-ext/spartans/umass> ls -dv mfitzpat
drwxr-xr-x   2 mfitzpat umass  2 Apr 28 14:06 mfitzpat
0:owner@::deny
1:owner@:list_directory/read_data/add_file/write_data/add_subdirectory
/append_data/write_xattr/execute/write_attributes/write_acl
/write_owner:allow
2:group@:add_file/write_data/add_subdirectory/append_data:deny
3:group@:list_directory/read_data/execute:allow

4:everyone@:add_file/write_data/add_subdirectory/append_data/write_xattr

/write_attributes/write_acl/write_owner:deny
5:everyone@:list_directory/read_data/read_xattr/execute/read_attributes
/read_acl/synchronize:allow

I can access, create/delete files/dirs on the zfs system and permissions 
hold.

[mfitz...@hecate mfitzpat]$ touch foo
[mfitz...@hecate mfitzpat]$ ls -l
total 1
-rw-r--r--   1 mfitzpat umass  0 Apr 28 14:18 foo

When I try to access the dir/files on the linux client, my permissions 
do no carry over, nor do the newly created files, and I can not create 
new files/dirs.

[mfitz...@nona-man umass]$ ls -l
drwxr-xr-x+ 2 root root 2 Apr 28 13:18 mfitzpat

[mfitz...@nona-man mfitzpat]$ pwd
/fs/umass/mfitzpat
[mfitz...@nona-man mfitzpat]$ ls
[mfitz...@nona-man mfitzpat]$


--
Thanks
Mary Ellen


Mary Ellen FitzPatrick
Systems Analyst 
Bioinformatics

Boston University
24 Cummington St.
Boston, MA 02215
office 617-358-2771
cell 617-797-7856 
mfitz...@bu.edu


___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss