I am in the process of beefing up our development environment. In essence I am 
really going simply replicate what we have spread across here and there (that 
what happens when you keep running out of disk space). Unfortunately, I 
inherited all of this and the guy who dreamed up the conflagration is lonnnggg 
gone.

So here the way it works today. There are two top level directories called 
GroupWS and ReleaseWS. The auto mount map (auto.ws) looks like this:
Upgrades       chekov:/mnt/dsk1/GroupWS/&
cstools                chekov:/mnt/dsk1/GroupWS/&
com            chekov:/mnt/dsk1/GroupWS
Integration    chekov:/mnt/dsk1/GroupWS/&

Everything is fine. Do a cd to /ws/Integration and you are taken to 
chekov:/mnt/dsk1/GroupWS/Integration. The directory Integration is a real 
directory that lives in GroupWS. If you cd to /ws/com, you are taken to 
chekov:/mnt/dsk1/GroupWS and then you can move about as one sees fit. 

To replicate this in ZFS, I did the following;
1) Parked all of the drives (except c1t0d0 and c1t1d0) into several RAIDZ 
configurations in a zpool called dpool.
2) Created a file system called dpool/GroupWS and set the mountpoint to 
/mnt/zfs1/GroupWS. The sharenfs properties were set to 
sharenfs=rw,log,root=msc-servers.
3) Next I created another file system called dpool/GroupWS/Integration. Its 
mount point was inherited from GroupWS and is /mnt/zfs1/GroupWS/Integration. 
Essentially I only allowed the new file system to inherit from its parent.
4) I change the auto.ws map thusly:
Integration     chekov:/mnt/zfs1/GroupWS/&
Upgrades        chekov:/mnt/zfs1/GroupWS/&
cstools         chekov:/mnt/zfs1/GroupWS/&
com             chekov:/mnt/zfs1/GroupWS

Now the odd behavior. You will notice that the directories Upgrades and cstools 
are just that. Directories in GroupWS. You can cd /ws/cstools from [b][i]any 
server[/b][/i] without a problem. Perform and ls and you see what you expect to 
see. Now the rub. If on chekov, one does a cd /ws/Integration you end up in 
chekov:/mnt/zsf1/GroupWS/Integration and everything is great. Do a cd to 
/ws/com and everything is fine. You can do a cd to Integration and everything 
is fine. But. If you go to another server and do a cd /ws/Integration all is 
well. However, if you do a cd to /ws/com and then a cd Integration, Integration 
is EMPTY!! 

I know this was long winded but it is a strange problem. The workaround is to 
destroy the dpool/GroupWS/Integration file system and recreate as a regular 
directory un GroupWS. But i was hoping to be able to use fle systems in this 
way for snapshot ease. 

Any ideas?

Thanks,
Doug
--
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