Thomas Maier-Komor
2006-Mar-03 20:06 UTC
[zfs-discuss] disappearing mount - expected behavior?
Hi, the following occured on opensol-20060228: My home directory is on a local disk (i.e. /export/storedge/home/thomas). It is mounted with autofs. I created a zfs: zfs create zfs/thomas Then I set the mountpoint as a subdirectory of my home: zfs set mountpoint=/home/thomas/zfs zfs/thomas Everything looks fine and I fill this directory with a bunch of files. But after rebooting /home/thomas/zfs is empty. Resetting the mountpoint to its standard directory made the content reappear. OK, I think I am a little bit nasty setting a zfs mount point to a subdirectory of an autofs directory. So I am wondering now, is this the expected behavior? Tom This message posted from opensolaris.org
Robert Milkowski
2006-Mar-03 20:19 UTC
[zfs-discuss] Re: disappearing mount - expected behavior?
Hi. Let me guess - when you reboot first zfs fs is being mounted then autofs. I guess that''s your problem. If you home is on local disk anyway then maybe turn off autofs (at all on at least for /home). This message posted from opensolaris.org
Casper.Dik at Sun.COM
2006-Mar-03 20:22 UTC
[zfs-discuss] disappearing mount - expected behavior?
>Hi, > >the following occured on opensol-20060228: > >My home directory is on a local disk (i.e. /export/storedge/home/thomas). It is mounted with autofs.> >I created a zfs: >zfs create zfs/thomas > >Then I set the mountpoint as a subdirectory of my home: > >zfs set mountpoint=/home/thomas/zfs zfs/thomas > >Everything looks fine and I fill this directory with a bunch of files. But after rebooting /home/thomas/zfs is empty.>Resetting the mountpoint to its standard directory made the content reappear. > >OK, I think I am a little bit nasty setting a zfs mount point to a subdirectory of an autofs directory.>So I am wondering now, is this the expected behavior? >o What happens is that /home/thomas/zfs gets mounted and then the automounter starts. (Or /home/thomas is found missing and then the zfs mount is not completed) Probably requires legacy mount point. Casper
Wes Williams
2006-Dec-11 14:18 UTC
[zfs-discuss] Re: disappearing mount - expected behavior?
> What happens is that /home/thomas/zfs gets mounted > and then the > automounter starts. (Or /home/thomas is found > missing and then > the zfs mount is not completed) > > Probably requires legacy mount point. > > > Casper > _______________________________________________I''m experiencing this same behavior (ZFS NFS mounts don''t show after reboot) with b50 and was hoping someone could outline a little clearer for those of us not as intimately familiar with Solaris innards. I can simply issue one ''zfs share zfsdata/[user1]'' command and all my other ZFS-issued NFS mount points reappear. My /etc/auto_home is: [user1] 127.0.0.1:/export/home/[user1] [user2] 127.0.0.1:/export/home/[user2] etc... All SMF services are running normally - nothing in maintenance or failed to run. I dot NOT have any entries in my /etc/vfstab pertaining to the /export/home directories, all of which are on a ZFS pool. Should I simply comment out the /etc/auto_home entries? Or, should I create an entry in /etc/vfstab? If so, is one to /export/home sufficient or must one be done for each user [each user has his/her own ZFS pool]? Sorry, I''m just not sure what a "legacy mount point" is. Many thanks in advance! This message posted from opensolaris.org