Hello Alastair,


Monday, April 27, 2009, 7:17:51 PM, you wrote:


>



On Tue, Apr 21, 2009 at 12:34 PM, Alastair Neil <ajn...@gmail.com> wrote:


A very basic question.  I have in recent releases of opensolaris found that a script I use to create large number of account home directories has been failing because the script attempts to create and modify the directories after the zfs create only to find that there is no directory.  This is in spite of checking the return code from the zfs command.  I can add a loop to wait until the directory exits but that will probably add to the already prodigious time to create 8000 accounts.


The options passwd to the create are e.g.:


zfs create -o mountpount=/home/u1/a/j/ajn -o quota=9G -o refquota=3G u1/ajn


the parent directories in the mountpoint are all created prior to the script running.



Any suggestions welcome


Regards, Alastair 


No one responded to this.  Is this off topic or too elementary?  A pointer to the  relevant documentation would be helpful, I did not find   anything germane in the man page.

 




When your script fails for a particular file system if you check it manually has it been created and mounted?



-- 

Best regards,

 Robert  Milkowski

                                       http://milek.blogspot.com

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

Reply via email to