All of lore.kernel.org
 help / color / mirror / Atom feed
* Permission Denied errors in ReiserFS
@ 2002-04-22  8:42 David Khoury
  2002-04-22  8:49 ` Oleg Drokin
  0 siblings, 1 reply; 4+ messages in thread
From: David Khoury @ 2002-04-22  8:42 UTC (permalink / raw)
  To: reiserfs-list

 The subject says it all.  I've checked the mail archive on the website, and
 I can't see any solutions so far, so I've decided to mail in.

 Here's the problem:

 My /var/log/messages file is behaving extremely strangely.

 I try to do a "ls /var/log/messages", I get the following error message:
 ls: /var/log/messages: Permission denied

 I tried a "rm /var/log/messages", same message.
 "touch /var/log/messages", same message.
 "rm /var/log/messages", same message.
 "chmod 644 /var/log/messages", same message.

 Even "lsof /var/log/messages" gives a permission denied!

 My kernel version is 2.4.19-pre5-ac3, custom compiled. The problem still
 happens with 2.4.17, which is another version I have on this system. ReiserFS
 filesystem is format 3.5, and it is the root partition.

 I thought there might be filesystem specific attributes, like the 'i'
 attribute with "chattr" and ext2/3.  But I can't seem to find any program
 that sets ReiserFS filesystem attributes.

 I tried doing a "reiserfsck" on my root partition. Dropped into single user
 mode, remounted the root partition as read only, and then ran the command.
 The program exited with an assertion error! Here's the output from the check:

 ----------------
 thedell:~# reiserfsck /dev/hda2

 <-------------reiserfsck, 2002------------->
 reiserfsprogs 3.x.1b

 Will read-only check consistency of the filesystem on /dev/hda2
 Will put log info to 'stdout'

 Do you want to run this program?[N/Yes] (note need to type Yes):Yes
 ###########
 reiserfsck --check started at Sun Apr 21 11:41:10 2002
 ###########
 Filesystem seems mounted read-only. Skipping journal replay..
 Checking S+tree../ 15 (of 134)/130 (of 162)bit 807415840, bitsize 1026151
 reiserfsck: bitmap.c:160: reiserfs_bitmap_test_bit: Assertion `bit_number <
 bm->bm_bit_size' failed.
 Aborted
 ----------------

 I've tried 3.x.1a as well, and it does the same thing.

 Here's the output from debugreiserfs, just in case it may be helpful:
 ----------------
 thedell:~# debugreiserfs /dev/hda2

 <-------------debugreiserfs, 2002------------->
 reiserfsprogs 3.x.1b


 Filesystem state: consistency is not checked after last mounting

 Reiserfs super block in block 16 on 0x302 of format 3.5 with standard
 journal
 Count of blocks on the device: 1026151
 Number of bitmaps: 32
 Blocksize: 4096
 Free blocks (count of blocks - used [journal, bitmaps, data, reserved]
		 blocks): 600648
 Root block: 83791
 Filesystem is NOT cleanly umounted
 Tree height: 4
 Hash function used to sort names: "r5"
 Objectid map size 458, max 1004
 Journal parameters:
 Device [0x0]
	Magic [0x0]
	Size 8193 blocks (including 1 for journal header) (first block 18)
	Max transaction length 1024 blocks
	Max batch size 900 blocks
	Max commit age 30
 Blocks reserved by journal:
 0
 Fs state field: 0x1
 sb_version: 0
 ----------------

 If any developer wants to check out my metadata file (saved via the usual
 debugreiserfs command), I've got it at:

 http://hal.flex.com.au/~dave/mymetadata.gz

 Phew, I hope I've got enough information in this email :).

 That's it for me.  I've just subscribed to the reiserfs-list, so I'll be
 able to see all replies.

 dave

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-23  6:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-22  8:42 Permission Denied errors in ReiserFS David Khoury
2002-04-22  8:49 ` Oleg Drokin
2002-04-22 16:02   ` David Khoury
2002-04-23  6:51     ` Oleg Drokin

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.