alan pae
2010-Dec-25 00:39 UTC
[zfs-discuss] /export/home/username not mounting after legacy mounts on 11 Express
Hi, On OpenSolaris build 134 you could: zfs set mountpoint=legacy rpool/some/zfs and then mount -F zfs rpool/some/zfs /mnt_point and then do the work, reboot and the system didn''t care. This seems to have changed with Solaris 11 Express. The above commands still work but whereas before I did nothing and just rebooted and didn''t care this no longer applies. After the two commands shown above I rebooted as usual and got the Gnome logon prompt, logged on, and then was informed that files in /home/username could no longer be set and then desktop just sat there. So I rebooted and hit escape so I could watch the messages and /home/username complained and then stopped. So I did a zfs list and everything looked normal except that /export/home/username was listed as legacy and everything else was listed as some zfs filesystem. So then I did: zfs set mountpoint=/export/home/username rpool/export/home/username and then checked zfs list and everything looked good so I rebooted. Then I got an error message stating that /export was not empty so it couldn''t be mounted and /export/home wasn''t empty so it couldn''t be mounted and that was that. I searched the docs on docs.sun.com and they mention going from zfs to legacy but the only thing that is says about going back is that zfs will take care of it. Which is what it is not doing. Console logon states no home_dir so using /home. The only way to get a graphical logon back was to set /export and /export/home to legacy and then it would mount /export/home/username again. I looked over zfs get * rpoo/export and nothing looks exciting. The current zfs list is: NAME USED AVAIL REFER MOUNTPOINT rpool 27.9G 9.23G 93.5K /rpool rpool/ROOT 24.6G 9.23G 31K legacy rpool/ROOT/Oracle_Solaris_11_Express 24.6G 9.23G 18.5G / rpool/ROOT/solaris 37M 9.23G 3.44G / rpool/dump 1018M 9.23G 1018M - rpool/export 276M 9.23G 32K legacy rpool/export/home 276M 9.23G 32K legacy rpool/export/home/alan 276M 9.23G 276M /export/home/alan rpool/swap 2.04G 9.23G 2.04G - Any ideas? thanks in advance, alan -- This message posted from opensolaris.org
alan pae
2010-Dec-28 03:47 UTC
[zfs-discuss] /export/home/username not mounting after legacy mounts on 11 Express
I tried to recreate this scenario using VirtualBox under Windows XP so I could capture the actual messages. Could not duplicate. Oh well. alan -- This message posted from opensolaris.org