Jan Hlodan
2009-Mar-09 21:22 UTC
[zfs-discuss] cannot mount ''/export'' directory is not empty
Hello, I am desperate. Today I realized that my OS 108 doesn''t want to boot. I have no idea what I screwed up. I upgraded on 108 last week without any problems. Here is where I''m stuck: Reading ZFS config: done. Mounting ZFS filesystems: (1/17) cannot mount ''/export'': directory is not empty (17/17) $ svcs -x svc:/system/filesystem/local:default (local file system mounts) State: maintenance since ... Impact: 45 dependent services are not running. svc:/network/rpc/smserver:default (removable media management) State: uninitialized since... Impact: 2 dependent services are not running. $ zfs mount rpool/ROOT/opensolaris-2 / rpool/export/home /export/home/wewek rpool /rpool tank /tank tank/projects /tank/projects . . . . $ pfexec zfs mount -a cannot mount ''/export'': directory is not empty I can mount rpool/export by -O option but I''ll lost my home directory and Gnome can''t come up. $ pfexec zfs mount -O rpool/export $ svcadm clear filesystem/local:default Mounting ZFS filesystems: (17/17) GDM login comes up, after log in: "Your home directory is listed as: ''/export/home/wewek'' but it doesn''t appear to exist. Do you want to log in with the / (root) directory as your home directory? It''s unlikely anything will work unless you use a failsafe session." Can you help me please? I don''t want to loose all my configurations. Thank you! Regards, Jan Hlodan
Tomas Ă–gren
2009-Mar-09 21:40 UTC
[zfs-discuss] cannot mount ''/export'' directory is not empty
On 09 March, 2009 - Jan Hlodan sent me these 1,7K bytes:> Hello, > > I am desperate. Today I realized that my OS 108 doesn''t want to boot. > I have no idea what I screwed up. I upgraded on 108 last week without > any problems. > Here is where I''m stuck: > > Reading ZFS config: done. > Mounting ZFS filesystems: (1/17) cannot mount ''/export'': directory is > not empty (17/17) > > $ svcs -x > svc:/system/filesystem/local:default (local file system mounts) > State: maintenance since ... > Impact: 45 dependent services are not running. > > svc:/network/rpc/smserver:default (removable media management) > State: uninitialized since... > Impact: 2 dependent services are not running. > > $ zfs mount > > rpool/ROOT/opensolaris-2 / > rpool/export/home /export/home/wewek > rpool /rpool > tank /tank > tank/projects /tank/projects > . > . > . > . > > $ pfexec zfs mount -a > cannot mount ''/export'': directory is not empty > > I can mount rpool/export by -O option but I''ll lost my home directory > and Gnome can''t come up. > $ pfexec zfs mount -O rpool/export > $ svcadm clear filesystem/local:default > Mounting ZFS filesystems: (17/17) > > GDM login comes up, after log in: > > "Your home directory is listed as: ''/export/home/wewek'' but it doesn''t > appear to exist. Do you want to log in with the / (root) directory as > your home directory? It''s unlikely anything will work unless you use a > failsafe session." > > Can you help me please? I don''t want to loose all my configurations.It seems like you have some stuff in /export which does not belong to the filesystem that should be mounted in /export That is, you have /export/somefileordirectory that belongs to the / filesystem.. Try this: pfexec mv /export /oldexport pfexec mkdir /export pfexec zfs mount -a /Tomas -- Tomas ?gren, stric at acc.umu.se, http://www.acc.umu.se/~stric/ |- Student at Computing Science, University of Ume? `- Sysadmin at {cs,acc}.umu.se
Jan Hlodan
2009-Mar-09 22:31 UTC
[zfs-discuss] cannot mount ''/export'' directory is not empty
Hi Tomas, thanks for the answer. Unfortunately, it didn''t help much. However I can mount all file systems, but system is broken - desktop wont come up. "Could not update ICEauthority file /.ICEauthority There is a problem with the configuration serve. (/usr/lib/gconf-check-2-exited with status 256)" Then I can see wallpaper and cursor. That''s it, nothing more. Regards, Jan Hlodan Tomas ?gren wrote:> On 09 March, 2009 - Jan Hlodan sent me these 1,7K bytes: > > >> Hello, >> >> I am desperate. Today I realized that my OS 108 doesn''t want to boot. >> I have no idea what I screwed up. I upgraded on 108 last week without >> any problems. >> Here is where I''m stuck: >> >> Reading ZFS config: done. >> Mounting ZFS filesystems: (1/17) cannot mount ''/export'': directory is >> not empty (17/17) >> >> $ svcs -x >> svc:/system/filesystem/local:default (local file system mounts) >> State: maintenance since ... >> Impact: 45 dependent services are not running. >> >> svc:/network/rpc/smserver:default (removable media management) >> State: uninitialized since... >> Impact: 2 dependent services are not running. >> >> $ zfs mount >> >> rpool/ROOT/opensolaris-2 / >> rpool/export/home /export/home/wewek >> rpool /rpool >> tank /tank >> tank/projects /tank/projects >> . >> . >> . >> . >> >> $ pfexec zfs mount -a >> cannot mount ''/export'': directory is not empty >> >> I can mount rpool/export by -O option but I''ll lost my home directory >> and Gnome can''t come up. >> $ pfexec zfs mount -O rpool/export >> $ svcadm clear filesystem/local:default >> Mounting ZFS filesystems: (17/17) >> >> GDM login comes up, after log in: >> >> "Your home directory is listed as: ''/export/home/wewek'' but it doesn''t >> appear to exist. Do you want to log in with the / (root) directory as >> your home directory? It''s unlikely anything will work unless you use a >> failsafe session." >> >> Can you help me please? I don''t want to loose all my configurations. >> > > It seems like you have some stuff in /export which does not belong to > the filesystem that should be mounted in /export > > That is, you have /export/somefileordirectory that belongs to the / > filesystem.. Try this: > > pfexec mv /export /oldexport > pfexec mkdir /export > pfexec zfs mount -a > > /Tomas >
Jason King
2009-Mar-09 22:47 UTC
[zfs-discuss] cannot mount ''/export'' directory is not empty
On Mon, Mar 9, 2009 at 5:31 PM, Jan Hlodan <Jan.Hlodan at sun.com> wrote:> Hi Tomas, > > thanks for the answer. > Unfortunately, it didn''t help much. > However I can mount all file systems, but system is broken - desktop > wont come up. > > "Could not update ICEauthority file /.ICEauthority > There is a problem with the configuration serve. > (/usr/lib/gconf-check-2-exited with status 256)" > > Then I can see wallpaper and cursor. That''s it, nothing more.There''s a bug with mounting hierarchical mounts (i.e. trying to mount /export/home before /export or such), you might be hitting that (unfortunately the bugid escapes me at the moment).
Reasonably Related Threads
- How to destroy your system in funny way with ZFS
- Best practice for full stystem backup - equivelent of ufsdump/ufsrestore
- Problem w/ b95 + ZFS (version 11) - seeing fair number of errors on multiple machines
- time-sliderd doesn''t remove snapshots
- Root Mirror - Permission Denied