All of lore.kernel.org
 help / color / mirror / Atom feed
From: Edward Shishkin <edward@namesys.com>
To: Marti Raudsepp <marti@juffo.org>
Cc: reiserfs-devel <reiserfs-devel@vger.kernel.org>
Subject: Re: Undeletable directory in reiser4
Date: Wed, 11 Jul 2007 16:31:35 +0400	[thread overview]
Message-ID: <4694CDA7.504@namesys.com> (raw)
In-Reply-To: <2a12af650707101003i660dc33fv33ff1557ee84e3e2@mail.gmail.com>

Marti Raudsepp wrote:

> Hi,


Hi,
any ideas about kernel version that generated such
inconsistency? It seems this is an old bug..

Please, check your partition by fsck.reiser4.
To check root partition, boot in single mode and remount it as
readonly.

Thanks,
Edward.

>
> I seem to have found a tripped on a bug in reiser4: there is a
> directory on my reiser4 partition that cannot be deleted since it is
> supposedly "not empty", however, rm -rf cannot find any more files to
> delete.
>
> # rm -rf /var/tmp/portage
> rm: cannot remove directory `/var/tmp/portage/sys-devel/gcc-4.1.2/work/
> gcc-4.1.2/libjava/classpath/resource/gnu/java/locale': Directory not 
> empty
>
> I mounted the partition as read-only to get some more information out
> of it with the debugfs.reiser4 tool. Note that the partition's vartmp/
> directory is bind-mounted to /var/tmp.
>
> Is there anything else I can do to help debug this? Will
> CONFIG_REISER4_DEBUG help?
>
> # debugfs.reiser4 /dev/primary/reiser4 --print-file 
> /vartmp/portage/sys-devel/
> gcc-4.1.2/work/gcc-4.1.2/libjava/classpath/resource/gnu/java/locale
>
> exts:           3
> mask:           0x7
> plugin:         sdext_lw
> offset:         2
> len:            14
> mode:           drwxr-xr-x
> nlink:          2
> size:           3
> plugin:         sdext_unix
> offset:         16
> len:            28
> uid:            250
> gid:            250
> atime:          Wed Jun 27 12:24:27 2007
> mtime:          Wed Jun 27 13:16:01 2007
> ctime:          Tue Jul 10 03:10:03 2007
> rdev:           182
> bytes:          182
> plugin:         sdext_lt
> offset:         44
> len:            12
> atime:          0
> mtime:          0
> ctime:          0
>
>
> NR(2)  NAME     OFFSET HASH                              SDKEY
>  0 .            54 0000000000000000:0000000000000000 041aac1:0041aad
>  1 ..           78 0000000000000000:0000000000000000 041aab1:0041aac
>
> # debugfs.reiser4 /dev/primary/reiser4 --print-file 
> /vartmp/portage/sys-devel/
> gcc-4.1.2/work/gcc-4.1.2/libjava/classpath/resource/gnu/java
>
> exts:           3
> mask:           0x7
> plugin:         sdext_lw
> offset:         2
> len:            14
> mode:           drwxr-xr-x
> nlink:          3
> size:           3
> plugin:         sdext_unix
> offset:         16
> len:            28
> uid:            250
> gid:            250
> atime:          Wed Jun 27 12:24:27 2007
> mtime:          Wed Jun 27 13:16:01 2007
> ctime:          Tue Jul 10 03:10:03 2007
> rdev:           150
> bytes:          150
> plugin:         sdext_lt
> offset:         44
> len:            12
> atime:          0
> mtime:          0
> ctime:          0
>
>
> NR(3)  NAME     OFFSET HASH                              SDKEY
>  0 .            80 0000000000000000:0000000000000000 041aab1:0041aac
>  1 ..          104 0000000000000000:0000000000000000 041a981:0041aab
>  2 locale      128 0000000000000000:0000000000000000 041aac1:0041aad
>
>
> Hope this helps.
>
> Regards,
> Marti Raudsepp
> -
> To unsubscribe from this list: send the line "unsubscribe 
> reiserfs-devel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>
>


  reply	other threads:[~2007-07-11 12:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-10 17:03 Undeletable directory in reiser4 Marti Raudsepp
2007-07-11 12:31 ` Edward Shishkin [this message]
2007-07-11 15:35   ` Marti Raudsepp
2007-07-11 16:22     ` Edward Shishkin
2007-07-11 17:02       ` Marti Raudsepp
2007-07-12  8:50         ` Christopher Covington

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4694CDA7.504@namesys.com \
    --to=edward@namesys.com \
    --cc=marti@juffo.org \
    --cc=reiserfs-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.