[prev in list] [next in list] [prev in thread] [next in thread] 

List:       zfs-discuss
Subject:    Re: [zfs-discuss] My filesystem turned from a directory into a
From:       David Blasingame Oracle <david.blasingame () oracle ! com>
Date:       2010-09-29 12:06:33
Message-ID: 4CA32BC9.9090903 () oracle ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Interesting thread.  So how would you go about fixing this?

I suspect you have to track down the vnode, znode_t and eventually 
modify one kernel buffers for znode_phys_t.  If your left with the 
decision to completely rebuild then repairing this might be the only 
choice some people may have.

Dave

On 09/27/10 11:56, Victor Latushkin wrote:
> On Sep 27, 2010, at 8:30 PM, Scott Meilicke wrote:
> 
> 
> > I am running nexenta CE 3.0.3. 
> > 
> > I have a file system that at some point in the last week went from a directory \
> > per 'ls -l' to a  special character device. This results in not being able to get \
> > into the file system. Here is my file system, scott2, along with a new file \
> > system I  just created, as seen by ls -l: 
> > drwxr-xr-x 4 root root    4 Sep 27 09:14 scott
> > crwxr-xr-x 9 root root 0, 0 Sep 20 11:51 scott2
> > 
> > Notice the 'c' vs. 'd' at the beginning of the permissions list. I had been \
> > fiddling with permissions last week, then had problems with a kernel panic. 
> 
> Are you still running with aok/zfs_recover being set? Have you seen this issue \
> before panic?  
> 
> > Perhaps this is related?
> > 
> 
> May be.
> 
> 
> > Any ideas how to get access to my file system?
> > 
> 
> This can be fixed, but it is a bit more complicated and error prone that setting \
> couple of variables. 
> Regards
> Victor
> _______________________________________________
> zfs-discuss mailing list
> zfs-discuss@opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/zfs-discuss
> 


-- 


[Attachment #5 (text/html)]

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Interesting thread.&nbsp; So how would you go about fixing this?<br>
<br>
I suspect you have to track down the vnode, znode_t and eventually
modify one kernel buffers for znode_phys_t.&nbsp; If your left with the
decision to completely rebuild then repairing this might be the only
choice some people may have.<br>
<br>
Dave<br>
<br>
On 09/27/10 11:56, Victor Latushkin wrote:
<blockquote cite="mid:DF19E8B7-20AD-44B7-BDBB-542765AE7A21@oracle.com"
 type="cite">
  <pre wrap="">On Sep 27, 2010, at 8:30 PM, Scott Meilicke wrote:

  </pre>
  <blockquote type="cite">
    <pre wrap="">I am running nexenta CE 3.0.3. 

I have a file system that at some point in the last week went from a directory per \
'ls -l' to a  special character device. This results in not being able to get into \
the file system. Here is my file system, scott2, along with a new file system I  just \
created, as seen by ls -l:

drwxr-xr-x 4 root root    4 Sep 27 09:14 scott
crwxr-xr-x 9 root root 0, 0 Sep 20 11:51 scott2

Notice the 'c' vs. 'd' at the beginning of the permissions list. I had been fiddling \
with permissions last week, then had problems with a kernel panic.  </pre>
  </blockquote>
  <pre wrap=""><!---->
Are you still running with aok/zfs_recover being set? Have you seen this issue before \
panic? 

  </pre>
  <blockquote type="cite">
    <pre wrap="">Perhaps this is related?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
May be.

  </pre>
  <blockquote type="cite">
    <pre wrap="">Any ideas how to get access to my file system?
    </pre>
  </blockquote>
  <pre wrap=""><!---->
This can be fixed, but it is a bit more complicated and error prone that setting \
couple of variables.

Regards
Victor
_______________________________________________
zfs-discuss mailing list
<a class="moz-txt-link-abbreviated" \
href="mailto:zfs-discuss@opensolaris.org">zfs-discuss@opensolaris.org</a> <a \
class="moz-txt-link-freetext" \
href="http://mail.opensolaris.org/mailman/listinfo/zfs-discuss">http://mail.opensolaris.org/mailman/listinfo/zfs-discuss</a>
  </pre>
</blockquote>
<br>
<br>
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=iso-8859-1">
<title>oracle_signature</title>
<meta name="GENERATOR" content="StarOffice 9  (Solaris Sparc)">
<meta name="AUTHOR" content="Sun Microsystems">
<meta name="CREATED" content="20100211;11101400">
<meta name="CHANGED" content="20100218;10251800">
<meta name="Info 1" content="">
<meta name="Info 2" content="">
<meta name="Info 3" content="">
<meta name="Info 4" content="">
<style type="text/css">
	<!--
		@page { margin: 0.39in }
		P { margin-bottom: 0.05in }
		TD P { margin-bottom: 0in }
		A.western:visited { so-language: en-US }
		A.cjk:visited { so-language: zxx }
		A.ctl:visited { so-language: zxx }
	-->
	</style>
<p style="margin-left: -0.01in; margin-bottom: 0in;"></p>
<p style="margin-bottom: 0.17in;"><a><br>
</a></p>
<p style="margin-left: -0.01in; margin-bottom: 0in;"><br>
</p>
<p style="margin-bottom: 0in;"><br>
</p>
</div>
</body>
</html>



_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic