Sorry, I don't know what happened, but it seems like I was not subscribed to 
receive replies for this thread so I never saw people's replies to my original 
post... user error probably :)

jone, I think you hit the nail on the head: I *do* seem to remember issuing a 
'zfs mount -a' at some point, but I unfortunately I don't remember why -- 
presumably as some panacea for file systems that failed to mount due to the 
problem mentioned in this thread.

For Richard Elling, this info might be useful:
- I originally had ZFS file systems as follows:
/tank/home
/tank/home/simon
/tank/home/simon/projects
/tank/home/simon/photo
/tank/home/simon/video

As part of the boot disk of SXCE (not OpenSolaris with its rpool zpool), I had 
the following:
/export/home/simon/...

Therefore when I tried to change the mountpoint of /tank/home/simon/... to 
/export/home/simon/... it failed as /export/home/simon etc already existed.

It was at that point that the trouble started, but I don't remember if the 
problem occurred immediately at this point, or immediately afterwards when I 
tried to restore the mountpoint back to /tank/home/simon/...

I think 'jone' is correct in stating that there is some kind of 'race' 
condition occurring when ZFS tries to remount the file systems after this kind 
of error occurs (can't mount, blah blah directory not empty). 

If I was a betting man, I would bet that ZFS is trying to mount child file 
systems before parent file systems. I think I came to this conclusion by 
scanning various log files as root when I was in the single user mode after 
boot errors, and then I saw that it was trying to mount e.g. 
/tank/home/simon/projects before /tank/home/simon . So it looks like some table 
containing the file system mount order got screwed up, if that's possible.

If you need any more help, I'll try to help, but I can't scan back through log 
files for clues, as I broke the pin on that IDE boot drive whilst re-inserting 
the cable... oh... *%!£$$!  :) 

Cheers,
Simon

http://breden.org.uk/2009/05/01/home-fileserver-a-year-in-zfs/
-- 
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