> How did you measure it? (I'm not saying it doesn't
> take those 45kB - just I haven't checked it myself
> and I wonder how you checked it).

ran 'top', looked at 'mem free'
created 1000 filesystems
ran 'top' again.
rebooted to be sure
ran 'top' again

I'm sure I should use something better than top, but it does the job.

I just repeated this and found that I was wrong on usage. 1000 filesystems
brought my free memory on a freshly booted system down from 856MB to 620MB.
I make 236KB per filesystem. If that's right, 10,000 mounts would eat 2.4GB of
memory.

> > The ability to mount a tree of ZFS filesystems in
> > one go would be useful. 
> I'm not sure but IIRC there were changes to NFS v4 to
> allow it - but you should check (search opensolaris newsgroups).

It looks like it's a proposed feature in NFSv4, but it only seems to
run on the 'powerpoint' platform so far...

> You can start with one filesystem and migrate account
> by account later. Just create pool named home and put
> all users in their dirs inside that pool (/home/joe /home/tom ...).

Not if I want to keep usage under quota control I can't...!

> Now if you want migrate /home/joe to its own
> filesystem all you have
> to do is (while user is not logged): mv /home/joe
> /home/joe_old; zfs
> create home/joe; tar ...... you get the idea.

I do, and it's what I'd love to be able to do.

> btw: I belive it was discussed here before - it would
> be great if one would automatically convert given
> directory on zfs filesystem into zfs filesystem

But what would you do if there were hardlinks to that dir
from elsewhere?
What happens if the contents of the dir before conversion
will not fit into the quota that you set on the directory?
I'm sure there's other problems too.
It's easier to leave things like filesystem conversion to
standard utils than have tools like zfs taking magical
actions in the background.

Steve.
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to