Need a little help. I set up my zfs storage last year and everything has been
working great. The initial setup was as follows
tank/documents (not shared explicitly)
tank/documents/Jan- shared as Jan
tank/documents/Feb - shared as Feb
tank/documents/March - shared as March
Anyhow, I now
Hi Ed,
This is current Solaris SMB sharing behavior. CR 6582165 is filed to
provide this feature.
You will need to reshare your 3 descendent file systems.
NFS sharing does this automatically.
Thanks,
Cindy
On 06/22/11 09:46, Ed Fang wrote:
Need a little help. I set up my zfs storage last
Cindy,
Thanks for the response. You are saying that by re-sharing the 3 descendant
systems, then the parent will pick up the descendant shares ?
Could you tell me how best to re-share the 3 descendant systems ? Do you mean
I should just
zfs set sharesmb=off tank/documents/Jan
zfs set
One will be relative (../a/foo) and the other absolute
(/mirror/audio-Cd-Tracks/a/foo).
Makes sense. I hadn't actually noticed this.
It is not only sharing to Linux machines but also using SFTP as well from
outside, so I need things to be pretty much multi-functional and flexible.
I don't
System = SunOS
Node = jaguar
Release = 5.11
KernelID = snv_133
Machine = i86pc
BusType = unknown
Serial = unknown
Users = unknown
OEM# = 0
Origin# = 1
NumCPU = 1
Hi Folks,
I seem to have a problem changing the owner of a symlinked directory.
As root...
mkdir a
chown admin:audiogroup a
ln -s a
Michelle Knight schreef op 03-05-10 10:23:
I seem to have a problem changing the owner of a symlinked directory.
As root...
mkdir a
chown admin:audiogroup a
ln -s a b
Directory b shows up owned by root, but I can't change it from this. I
can't change the mod permissions either.
Great stuff- Many thanks!
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Urk - my only problem now is that they don't seem to be showing in the
published zfs smb share.
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
Got it - I used cp -L -R to symlnk copy the whole structure instead.
Messy, but it does the job.
Thanks for all the advice! Much appreciated.
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
Well,
This is the overall issue.
I have a music collection. The top level folders contain a letter for each
artist and each letter then contains a separate folder for each artist. Nice
and easy to organise and navigate.
A - ACDC
- Alanis Morisett
B - BeeGees
However ... I wanted to create
... and now I've discovered that cp -L doesn't create symlinks.
Back to the drawing board.
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
Michelle Knight schreef op 03-05-10 11:41:
What I've been doing is creating links in the entirelist folder, which
contain links to the sub-folders in each of the letters. very quick, very
simple. However, despite having access to all the folders and files, they
don't show up in the ZFS SMB
On 05/ 3/10 12:44 PM, Michelle Knight wrote:
... and now I've discovered that cp -L doesn't create symlinks.
Back to the drawing board.
You need to do it the other way round. Create a directory with all your
artists and then create symlinks for A, B, C etc
so:
everything/ACDC
Beautiful! It worked.
I can't work out why the symlinks failed to show up in the share when I did it,
but this way they are showing up fine.
Thank you very much!!!
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
Hmmm ... no, it didn't.
I think it might be the sheer number of symlinks I've got in the directory.
That might be causing problems with the ZFS smb share.
--
This message posted from opensolaris.org
___
zfs-discuss mailing list
Now ...
Why would this work...
cd /mirror/audio/Cd-Tracks/0-entirelist
ln -s ../a/* .
...but this fail ...
ln -s /mirror/audio/Cd-Tracks/a/* /mirror/audio/Cd-Tracks/0-entirelist/.
Any ideas?
--
This message posted from opensolaris.org
___
The long ls command worked, as in it created the links, but they didn't work
properly under the ZFS SMB share.
They didn't work as in, on a remote Linux box, I could execute ls and see them,
but I couldn't change in; permission issues. (despite having the correct
ownership) and also on the
From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
boun...@opensolaris.org] On Behalf Of Michelle Knight
I seem to have a problem changing the owner of a symlinked directory.
As root...
mkdir a
chown admin:audiogroup a
ln -s a b
Directory b shows up owned by root, but I
On 5/3/2010 7:41 AM, Michelle Knight wrote:
The long ls command worked, as in it created the links, but they didn't work
properly under the ZFS SMB share.
I'm guessing you meant the 'long ln' command?
If you look at what those 2 commadns create you'll notice (in the output
of ls -l) that
From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
boun...@opensolaris.org] On Behalf Of Kyle McDonald
If you're only sharing them to Linux machines, then NFS would be so
much
easier to use. You'll still want relative links though.
Only if you have infrastructure to sanitize
On 5/3/2010 4:56 PM, Edward Ned Harvey wrote:
From: zfs-discuss-boun...@opensolaris.org [mailto:zfs-discuss-
boun...@opensolaris.org] On Behalf Of Kyle McDonald
If you're only sharing them to Linux machines, then NFS would be so
much
easier to use. You'll still want relative links though.
Hi all,
I can not find any instructions on how to set the file quota (i.e.
maximum number of files per filesystem/directory) or directory quota
(maximum size that files in particular directory can consume) in ZFS.
I understand ZFS has no support for this. Am I right? If I am, are
there any
Jozef Hamar wrote:
Hi all,
I can not find any instructions on how to set the file quota (i.e. maximum
number of files per filesystem/directory) or directory quota (maximum size that
files in particular directory can consume) in ZFS.
That is because it doesn't exist.
I understand ZFS has no
Darren J Moffat wrote:
Jozef Hamar wrote:
Hi all,
I can not find any instructions on how to set the file quota (i.e.
maximum number of files per filesystem/directory) or directory quota
(maximum size that files in particular directory can consume) in ZFS.
That is because it doesn't exist.
Hi Darren,
thanks for reply.
E.g., I have mail quota implemented as per-directory quota. I know this
can be solved in another way, but still, I would have to change many
things in my system in order to make it work. And this is quite easy
implementation of mail quota. Now I'm using UFS and
Jozef Hamar wrote:
Hi Darren,
thanks for reply.
E.g., I have mail quota implemented as per-directory quota. I know this can be
solved in another way, but still, I would have to change many things in my
system in order to make it work. And this is quite easy implementation of mail
quota. Now
Darren J Moffat wrote:
Jozef Hamar wrote:
Hi Darren,
thanks for reply.
E.g., I have mail quota implemented as per-directory quota. I know
this can be solved in another way, but still, I would have to change
many things in my system in order to make it work. And this is quite
easy
Jozef Hamar wrote:
Darren J Moffat wrote:
Jozef Hamar wrote:
Hi Darren,
thanks for reply.
E.g., I have mail quota implemented as per-directory quota. I know
this can be solved in another way, but still, I would have to change
many things in my system in order to make it work. And this is
Consider using a modern mail system. The mail system can handle quotas
much better than a file system.
http://blogs.sun.com/relling/entry/on_var_mail_and_quotas
-- richard
On Nov 18, 2009, at 6:18 AM, Jozef Hamar wrote:
Hi Darren,
thanks for reply.
E.g., I have mail quota implemented as
In that case instead of rewriting the part of my code which handles
quota creation/updating/checking, I would need to completely rewrite
the quota logic. :-(
So what do you do just now with UFS ? Is it a separate filesystem for
the mail directory ? If so it really shouldn't be that big of a
i wanted to know how does ZFS finds an entry of a file from its dirctory
object.
anylinks to the code will be highly appriciated.
thankx regards
kanishk
___
zfs-discuss mailing list
zfs-discuss@opensolaris.org
Kanishk,
Directories are implemented as ZAP objects.
Look at the routines in that order :
- zfs_lookup()
- zfs_dirlook()
- zfs_dirent_lock()
- zap_lookup
Hope that helps.
Regards,
Sanjeev.
kanishk wrote:
i wanted to know how does ZFS finds an entry of a file from its
dirctory object.
32 matches
Mail list logo