On Feb 19, 2008, at 17:27, Darren J Moffat wrote: > Peter Karlsson wrote: >> Hi, >> I got my MacBook pro set up to dual boot between Solaris and OSX and >> I have created a zpool to use as a shred storage for documents etc.. >> However got this strange thing when trying to access the zpool from >> Solaris, only root can see it?? I created the zpool on OSX as they >> are using an old version of the on disk format, if I create a zpool >> on Solaris all users can see it, strange.... > > What do you mean by "only root can see it" > As root: -bash-3.2# ls -ld /zpace drwxr-xr-x 8 root root 9 Feb 19 12:28 /zpace
As myself: ls -ld /zpace /zpace: Permission denied bash-3.2$ cd /zpace bash: cd: /zpace: Permission denied So I create a zpool on Solaris -bash-3.2# zpool create ztst /export/home/tst/a /export/home/tst/b /export/home/tst/c bash-3.2$ ls -ld /ztst drwxr-xr-x 2 root root 2 Feb 19 17:23 /ztst bash-3.2$ cd /ztst So that works, so something is strange with the zpool I created in OSX > All files are owned by root ? Nope, some files are owned by other users, > > Users don't see the datasets with zfs list ? Can: bash-3.2$ /sbin/zpool list NAME SIZE USED AVAIL CAP HEALTH ALTROOT zpace 61G 715M 60.3G 1% ONLINE - > > Users don't see the mounted filesystems with df ? Nope: /zpace (zpace ):124462673 blocks 124462673 files df: cannot statvfs /zpace/DB: Permission denied df: cannot statvfs /zpace/Download: Permission denied df: cannot statvfs /zpace/demo: Permission denied > > Users don't even see the pool with zpool status ? Can: bash-3.2$ /sbin/zpool status pool: zpace state: ONLINE status: The pool is formatted using an older on-disk format. The pool can still be used, but some features are unavailable. action: Upgrade the pool using 'zpool upgrade'. Once this is done, the pool will no longer be accessible on older software versions. scrub: none requested config: NAME STATE READ WRITE CKSUM zpace ONLINE 0 0 0 c1d0p4 ONLINE 0 0 0 errors: No known data errors bash-3.2$ /sbin/zfs list NAME USED AVAIL REFER MOUNTPOINT zpace 715M 59.3G 586K /zpace zpace/DB 29.5K 59.3G 29.5K /zpace/DB zpace/Download 648M 59.3G 648M /zpace/Download zpace/demo 66.2M 59.3G 66.2M /zpace/demo > > > > This looks strange: > > zpace delegation off default That's the default on OSX, as I created the file system on OSX On Solaris it reports delegation on bash-3.2$ /sbin/zpool get all zpace NAME PROPERTY VALUE SOURCE zpace size 61G - zpace used 715M - zpace available 60.3G - zpace capacity 1% - zpace altroot - default zpace health ONLINE - zpace guid 2692302108782490543 - zpace version 6 local zpace bootfs - default zpace delegation on default zpace autoreplace off default zpace cachefile - default zpace failmode wait default > > > The default is "on" not off. > > What build of Solaris are you using ? snvx_b80 > > > Also see this: > > zpace/demo mountpoint /Volumes/zpace/demo default It was from OSX, I should note that _______________________________________________ zfs-discuss mailing list zfs-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/zfs-discuss