Dr Lou
2010-Jul-24 16:40 UTC
[zfs-discuss] ZFS v10 crisis alert - has a zfs subdirectory disappeared?
Had a weird one yesterday, so am looking for some insight... At the very least, a deeper understanding of this will contribute to our administration skills! Have a sun4u server with one zpool under which we''ve created a number of zfses. Something like: /pool/zfs1 ... /zfs2 ... /zfs3 Here''s what may be the key bit: One of these filesystems, zfs3, we had renamed to something more practical in our environment, like ''3''. Significantly, I ''thought'' we had made this change permanent (gotta go back through notes to see how we did this, whether with an ''mv'' command or a zfs rename command(?) TBD.) In any case, this renamed filesystem - ''3'' - has been up and running for months; it''s referenced in service scripts and any number of other tools. Has been working flawlessly as ''/pool/3''. Last night, in an abundance of caution, we did an organized hard shutdown - tornado threats! Since rebooting - again, flawlessly, with no error messages - the /pool/3 filesystem is empty! Initially, this put the SA''s cold chill through us, as this fs is home to one of our sandbox databases. Happily, the data is there, but back under the original, pre-renaming filesystem. This raises some questions, though: Shouldn''t a simple # zfs rename -p command persist? If we stupidly tried this renaming as a mv command, would any of you expect these findings? As we have certainly done system reboots since creation of these filesystems, what precipitating event may have triggered this? What, exactly, IS the behavior we''re seeing? More broadly, it''s time to look at updates. We haven''t patched this machine (Solaris 10, Generic_139555-08) for quite some time, as we have (had?) been investing heavily in opensolaris. Now, that is in limbo until we see clear direction from Oracle. # zpool status looks good. # zpool scrub runs with no error. # zpool upgrade alerts me to the fact that we''re still using version 10! - Is this just downright [i]unwise?[/i] (I know you are all opensolaris, but:) What patch options are available to us for this machine, in this brave new world, and which ones should we absolutely avail ourselves of? Really, really, eager - as I know all of you are - to get a final clear direction from Oracle on their intentions for opensolaris. This ''direction'' should take the form of a ''release'', with clear statements regarding their commitment to the opensolaris community and this forum. Many thanks, Lou -- This message posted from opensolaris.org
Voloymyr Kostyrko
2010-Jul-25 19:41 UTC
[zfs-discuss] ZFS v10 crisis alert - has a zfs subdirectory disappeared?
Why not just set other mountpoint for your zfs dir? # zfs set mountpoint=/pool/3 path/to/zfs/dir After that contents of /pool/zfs3 would be shown under /pool/3. -- This message posted from opensolaris.org