Hi. I read the zfs getting started guided at http://www.opensolaris.org/os/community/zfs/intro/;jsessionid=A64DABB3DF86B8FDBF8A3E281C30B8B2. I created zpool disk1 and created disk1/home and assigned /export/home to disk1/home as mountpoint. Then I create a user with ''zfs create disk1/home/username'' and the partition is mounted beneath disk1/home as it should. When I add the user via smc I get the message: The attempt to modify the Home Directory /export/home/username for User username failed because ...: Directory path already exists''. So in order to remedy this I create the user first, manually move the directory create to /export/home.ufs and then creates the zfs-partition. But it seems that this is not the optimal way when you have to deal with 100 or more users. Fortunately I only have less than 10 accounts to handle but this method is somewhat cumbersome. Are other tools better suited when creating users that resides in zfs-partitions? -- regards Claus When lenity and cruelty play for a kingdom, the gentlest gamester is the soonest winner. Shakespeare
Claus Guttesen wrote:> Hi. > > I read the zfs getting started guided at > http://www.opensolaris.org/os/community/zfs/intro/;jsessionid=A64DABB3DF86B8FDBF8A3E281C30B8B2. > > I created zpool disk1 and created disk1/home and assigned /export/home > to disk1/home as mountpoint. Then I create a user with ''zfs create > disk1/home/username'' and the partition is mounted beneath disk1/home > as it should. > > When I add the user via smc I get the message: > > The attempt to modify the Home Directory /export/home/username for > User username failed because ...: Directory path already exists''. > > So in order to remedy this I create the user first, manually move the > directory create to /export/home.ufs and then creates the > zfs-partition. But it seems that this is not the optimal way when you > have to deal with 100 or more users. Fortunately I only have less than > 10 accounts to handle but this method is somewhat cumbersome.I wouldn''t say that smc is suitable when creating more than an hand full of accounts anyway. Consider using useradd(1M) instead. -- Darren J Moffat