All of lore.kernel.org
 help / color / mirror / Atom feed
* reiserfsprogs-3.6.12 release
@ 2004-02-10 17:10 Vitaly Fertman
  2004-02-11 17:02 ` Brandon Low
  0 siblings, 1 reply; 9+ messages in thread
From: Vitaly Fertman @ 2004-02-10 17:10 UTC (permalink / raw)
  To: reiserfs-list

Hi all, 

The new reiserfsprogs release is available on our ftp site (ftp.namesys.com).

It includes:
* bad block support, documentation is available at 
http://www.namesys.com/bad-block-handling.html

*reiserfsck is able to repair ro mounted filesystems.

* UUID support is rewritten -- link to the libuuid instead of our own code.

* a few bugs were fixed:
  - fix for shrinking the filesystem;
  - fix for making the filesystem with blocksize greater then 4k;
  - fix for making the journal of minimal size;
  - fix in reiserfsck --rebuild-sb;
  - fix in mount entry detection code;
  - fix for the new fs size calculation in resizer; 
  - fix for parsing the new fs size parameter correctly in resizer;
  - fix for checking if the new fs size is correct in resizer;
  - fix for handling the very last block on the device if formatted on pass2.

-- 
Thanks,
Vitaly Fertman

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

* Re: reiserfsprogs-3.6.12 release
  2004-02-10 17:10 reiserfsprogs-3.6.12 release Vitaly Fertman
@ 2004-02-11 17:02 ` Brandon Low
  2004-02-11 22:34   ` Vitaly Fertman
  0 siblings, 1 reply; 9+ messages in thread
From: Brandon Low @ 2004-02-11 17:02 UTC (permalink / raw)
  To: Vitaly Fertman; +Cc: reiserfs-list

This release gives me:

Partition /dev/hda3 is mounted with write permissions, cannot check it

When I try to run fsck.reiserfs /dev/hda3 during bootup when the fs is
mounted readonly.  I have used init=/bin/bash and confirmed this result
interactively... 

This problem prevented me from booting (due to the particular failure
modes of the Gentoo init system) but I'm sure that it is irritating to
others as well (unless it is peculiar to my system).

Kernel: 2.6.3-rc1-mm1
Gentoo Linux (unstable) up-to-date

--Brandon

On Tue, 02/10/04 at 20:10:04 +0300, Vitaly Fertman wrote:
> Hi all, 
> 
> The new reiserfsprogs release is available on our ftp site (ftp.namesys.com).
> 
> It includes:
> * bad block support, documentation is available at 
> http://www.namesys.com/bad-block-handling.html
> 
> *reiserfsck is able to repair ro mounted filesystems.
> 
> * UUID support is rewritten -- link to the libuuid instead of our own code.
> 
> * a few bugs were fixed:
>   - fix for shrinking the filesystem;
>   - fix for making the filesystem with blocksize greater then 4k;
>   - fix for making the journal of minimal size;
>   - fix in reiserfsck --rebuild-sb;
>   - fix in mount entry detection code;
>   - fix for the new fs size calculation in resizer; 
>   - fix for parsing the new fs size parameter correctly in resizer;
>   - fix for checking if the new fs size is correct in resizer;
>   - fix for handling the very last block on the device if formatted on pass2.
> 
> -- 
> Thanks,
> Vitaly Fertman

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

* Re: reiserfsprogs-3.6.12 release
  2004-02-11 17:02 ` Brandon Low
@ 2004-02-11 22:34   ` Vitaly Fertman
  2004-02-11 23:04     ` Brandon Low
  0 siblings, 1 reply; 9+ messages in thread
From: Vitaly Fertman @ 2004-02-11 22:34 UTC (permalink / raw)
  To: Brandon Low; +Cc: reiserfs-list

[-- Attachment #1: Type: text/plain, Size: 495 bytes --]

On Wednesday 11 February 2004 20:02, Brandon Low wrote:
> This release gives me:
>
> Partition /dev/hda3 is mounted with write permissions, cannot check it
>
> When I try to run fsck.reiserfs /dev/hda3 during bootup when the fs is
> mounted readonly.  I have used init=/bin/bash and confirmed this result
> interactively...

this is strange, would you also try to confirm the result by running this 
test program on bootup with init=/bin/bash and tell me what it says?

-
Thanks,
Vitaly Fertman

[-- Attachment #2: updatetime.c --]
[-- Type: text/x-csrc, Size: 397 bytes --]

#include <stdio.h>
#include <errno.h>
#include <utime.h>
#include <sys/types.h>

static int misc_file_ro(char *file) {
	if (utime(file, 0) == -1) {
		if (errno == EROFS)
			return 1;
	}
	
	return 0;
}

int main(int argc, char * argv []) {
	if (argc !=2) {
		fprintf(stderr, "Usage: %s mount_point\n", argv[0]);
		return -1;
	}
	
	 if (misc_file_ro(argv[1]) == 1)
		 printf("RO\n");

	 return 0;
}

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

* Re: reiserfsprogs-3.6.12 release
  2004-02-11 22:34   ` Vitaly Fertman
@ 2004-02-11 23:04     ` Brandon Low
  2004-02-12 11:31       ` Vitaly Fertman
  0 siblings, 1 reply; 9+ messages in thread
From: Brandon Low @ 2004-02-11 23:04 UTC (permalink / raw)
  To: Vitaly Fertman; +Cc: reiserfs-list

Thanks for the response, running that program gave me:

bash-2.05b# ./updatetime /
RO

Below are some various results I've gotten while trying to diagnose
this.  I do not have a serial terminal on the box so it is all hand
copied and therefor may contain errors.

Hope it is helpful (in that it may help you help me)

Sincerely,

Brandon Low

bash-2.05b# cat /proc/mounts
rootfs / rootfs rw 0 0
/dev/root / reiserfs ro 0 0
none /dev/devfs ro 0 0
proc /proc proc rw 0 0

bash-2.05b# touch /blah
touch: cannot touch `/blah': Read-only file system

bash-2.05b# /sbin/reiserfsck -a /dev/hda3

Failed to open the filesystem.

If the partition talbe has not been changed, and the partition is
valid  and  it really  contains  a reiserfs  partition,  then the 
superblock  is corrupted and you need to run this utility with
--rebuild-sb.

Aborted

bash-2.05b# /sbin/reiserfsck -a /dev/root
Reiserfs superblock in block 16 on 0x303 of format 3.6 with standard journal
Blocks (total/free): 4390223/6461997 by 4096 bytes
Filesystem is cleanly mounted
Paritition /dev/root is mounted with write permissions, cannot check it

On Thu, 02/12/04 at 01:34:20 +0300, Vitaly Fertman wrote:
> On Wednesday 11 February 2004 20:02, Brandon Low wrote:
> > This release gives me:
> >
> > Partition /dev/hda3 is mounted with write permissions, cannot check it
> >
> > When I try to run fsck.reiserfs /dev/hda3 during bootup when the fs is
> > mounted readonly.  I have used init=/bin/bash and confirmed this result
> > interactively...
> 
> this is strange, would you also try to confirm the result by running this 
> test program on bootup with init=/bin/bash and tell me what it says?
> 
> -
> Thanks,
> Vitaly Fertman

> #include <stdio.h>
> #include <errno.h>
> #include <utime.h>
> #include <sys/types.h>
> 
> static int misc_file_ro(char *file) {
> 	if (utime(file, 0) == -1) {
> 		if (errno == EROFS)
> 			return 1;
> 	}
> 	
> 	return 0;
> }
> 
> int main(int argc, char * argv []) {
> 	if (argc !=2) {
> 		fprintf(stderr, "Usage: %s mount_point\n", argv[0]);
> 		return -1;
> 	}
> 	
> 	 if (misc_file_ro(argv[1]) == 1)
> 		 printf("RO\n");
> 
> 	 return 0;
> }


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

* Re: reiserfsprogs-3.6.12 release
  2004-02-11 23:04     ` Brandon Low
@ 2004-02-12 11:31       ` Vitaly Fertman
  2004-02-12 12:18         ` Henning Westerholt
  0 siblings, 1 reply; 9+ messages in thread
From: Vitaly Fertman @ 2004-02-12 11:31 UTC (permalink / raw)
  To: Brandon Low, Henning Westerholt; +Cc: reiserfs-list

> bash-2.05b# /sbin/reiserfsck -a /dev/hda3
>
> Failed to open the filesystem.
>
> If the partition talbe has not been changed, and the partition is
> valid  and  it really  contains  a reiserfs  partition,  then the
> superblock  is corrupted and you need to run this utility with
> --rebuild-sb.
>
> Aborted
>
> bash-2.05b# /sbin/reiserfsck -a /dev/root
> Reiserfs superblock in block 16 on 0x303 of format 3.6 with standard
> journal Blocks (total/free): 4390223/6461997 by 4096 bytes
> Filesystem is cleanly mounted
> Paritition /dev/root is mounted with write permissions, cannot check it

hm, interesting, would you run 
	stat /dev/hda3 (Henning, put here your root partition please)
	stat /dev/root
	stat /
at bootup and when booted.

--
Thanks,
Vitaly Fertman


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

* Re: reiserfsprogs-3.6.12 release
  2004-02-12 11:31       ` Vitaly Fertman
@ 2004-02-12 12:18         ` Henning Westerholt
  2004-02-12 14:10           ` Vitaly Fertman
  0 siblings, 1 reply; 9+ messages in thread
From: Henning Westerholt @ 2004-02-12 12:18 UTC (permalink / raw)
  To: reiserfs-list; +Cc: Vitaly Fertman

Am Donnerstag, 12. Februar 2004 12:31 schrieb Vitaly Fertman:
>
> hm, interesting, would you run
> 	stat /dev/hda3 (Henning, put here your root partition please)
> 	stat /dev/root
> 	stat /
> at bootup and when booted.

Thank you for the reply, sure, no problem.

- from an emergency shell

  File: `/'
  Size: 536             Blocks: 2          IO Block: 131072 directory
Device: 1607h/5639d     Inode: 2           Links: 21
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)

  File: `/dev/hdc7' -> `ide/host0/bus1/target0/lun0/part7'
  Size: 33              Blocks: 0          IO Block: 1024   symbolic link
Device: ah/10d  Inode: 1322        Links: 1
Access: (0555/lr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)

  File: `/dev/root' -> `ide/host0/bus1/target0/lun0/part7'
  Size: 33              Blocks: 0          IO Block: 1024   symbolic link
Device: ah/10d  Inode: 676         Links: 1
Access: (0555/lr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)


- from a shell after bootup

  File: ,,/"
  Size: 536             Blocks: 2          IO Block: 131072 Verzeichnis
Device: 1607h/5639d     Inode: 2           Links: 21
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)

  File: ,,/dev/hdc7" -> ,,ide/host0/bus1/target0/lun0/part7"
  Size: 33              Blocks: 0          IO Block: 1024   symbolische 
Verknüpfung
Device: ah/10d  Inode: 1322        Links: 1
Access: (0555/lr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)

  File: ,,/dev/root" -> ,,ide/host0/bus1/target0/lun0/part7"
  Size: 33              Blocks: 0          IO Block: 1024   symbolische 
Verknüpfung
Device: ah/10d  Inode: 676         Links: 1
Access: (0555/lr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)

Best regards,

Henning


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

* Re: reiserfsprogs-3.6.12 release
  2004-02-12 12:18         ` Henning Westerholt
@ 2004-02-12 14:10           ` Vitaly Fertman
  2004-02-12 14:31             ` Henning Westerholt
  2004-02-12 16:21             ` Brandon Low
  0 siblings, 2 replies; 9+ messages in thread
From: Vitaly Fertman @ 2004-02-12 14:10 UTC (permalink / raw)
  To: Henning Westerholt; +Cc: reiserfs-list

>   File: ,,/"
>   Size: 536             Blocks: 2          IO Block: 131072 Verzeichnis
> Device: 1607h/5639d     Inode: 2           Links: 21
> Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
>
>   File: ,,/dev/hdc7" -> ,,ide/host0/bus1/target0/lun0/part7"
>   Size: 33              Blocks: 0          IO Block: 1024   symbolische
> Verknüpfung
> Device: ah/10d  Inode: 1322        Links: 1
> Access: (0555/lr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
>
>   File: ,,/dev/root" -> ,,ide/host0/bus1/target0/lun0/part7"
>   Size: 33              Blocks: 0          IO Block: 1024   symbolische
> Verknüpfung
> Device: ah/10d  Inode: 676         Links: 1
> Access: (0555/lr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)

so dev is devfs. ok, would you then
	stat ide/host0/bus1/target0/lun0/part7
?

looks like rdev of the device file on devfs does not match to dev of its
mount point.

--
Thanks,
Vitaly Fertman


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

* Re: reiserfsprogs-3.6.12 release
  2004-02-12 14:10           ` Vitaly Fertman
@ 2004-02-12 14:31             ` Henning Westerholt
  2004-02-12 16:21             ` Brandon Low
  1 sibling, 0 replies; 9+ messages in thread
From: Henning Westerholt @ 2004-02-12 14:31 UTC (permalink / raw)
  To: reiserfs-list; +Cc: Vitaly Fertman

Am Donnerstag, 12. Februar 2004 15:10 schrieb Vitaly Fertman:
>
> so dev is devfs. ok, would you then
> 	stat ide/host0/bus1/target0/lun0/part7
> ?
>
> looks like rdev of the device file on devfs does not match to dev of its
> mount point.

This command gives me (after boot)

$ stat /dev/ide/host0/bus1/target0/lun0/part7
  File: ,,/dev/ide/host0/bus1/target0/lun0/part7"
  Size: 0               Blocks: 0          IO Block: 1024   blockorientierte 
Spezialdatei
Device: ah/10d  Inode: 646         Links: 1     Device type: 16,7
Access: (0600/brw-------)  Uid: (    0/    root)   Gid: (    0/    root)

$ rdev
/dev/ide/host0/bus1/target0/lun0/part7 /

Well, but why checks reiserfsprogs-3.6.11 this device without problems during 
the boot process?


Regards,

Henning


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

* Re: reiserfsprogs-3.6.12 release
  2004-02-12 14:10           ` Vitaly Fertman
  2004-02-12 14:31             ` Henning Westerholt
@ 2004-02-12 16:21             ` Brandon Low
  1 sibling, 0 replies; 9+ messages in thread
From: Brandon Low @ 2004-02-12 16:21 UTC (permalink / raw)
  To: Vitaly Fertman; +Cc: reiserfs-list

[-- Attachment #1: Type: text/plain, Size: 382 bytes --]

On Thu, 02/12/04 at 17:10:19 +0300, Vitaly Fertman wrote:
> so dev is devfs. ok, would you then
> 	stat ide/host0/bus1/target0/lun0/part7
> ?
> 
> looks like rdev of the device file on devfs does not match to dev of its
> mount point.

I've done some of this stuff too, in case it is useful, attached is a
script file from me doing so.

--Brandon
> 
> --
> Thanks,
> Vitaly Fertman

[-- Attachment #2: typescript --]
[-- Type: text/plain, Size: 1738 bytes --]

Script started on Thu Feb 12 10:15:39 2004
sh-2.05b# stat /
  File: `/'
  Size: 752       	Blocks: 2          IO Block: 131072 directory
Device: 303h/771d	Inode: 2           Links: 22
Access: (0755/drwxr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2003-05-29 10:33:47.000000000 -0500
Modify: 2004-02-12 10:15:39.000000000 -0600
Change: 2004-02-12 10:15:39.000000000 -0600

sh-2.05b# stat /dev/hda3
  File: `/dev/hda3' -> `ide/host0/bus0/target0/lun0/part3'
  Size: 33        	Blocks: 0          IO Block: 1024   symbolic link
Device: ah/10d	Inode: 1240        Links: 1
Access: (0555/lr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2004-02-12 10:15:14.000000000 -0600
Modify: 2004-02-12 10:02:39.000000000 -0600
Change: 2004-02-12 10:02:39.000000000 -0600

sh-2.05b# stat /dev/root
  File: `/dev/root' -> `ide/host0/bus0/target0/lun0/part3'
  Size: 33        	Blocks: 0          IO Block: 1024   symbolic link
Device: ah/10d	Inode: 621         Links: 1
Access: (0555/lr-xr-xr-x)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 2004-02-12 10:15:18.000000000 -0600
Modify: 2004-02-12 10:02:31.000000000 -0600
Change: 2004-02-12 10:02:31.000000000 -0600

sh-2.05b# stat /dev/ide/host0/bus0/target0/lun0/part3 
  File: `/dev/ide/host0/bus0/target0/lun0/part3'
  Size: 0         	Blocks: 0          IO Block: 1024   block special file
Device: ah/10d	Inode: 611         Links: 1     Device type: 3,3
Access: (0600/brw-------)  Uid: (    0/    root)   Gid: (    0/    root)
Access: 1969-12-31 18:00:00.000000000 -0600
Modify: 1969-12-31 18:00:00.000000000 -0600
Change: 1969-12-31 18:00:00.000000000 -0600

sh-2.05b# rdev
/dev/ide/host0/bus0/target0/lun0/part3 /
Script done on Thu Feb 12 10:16:59 2004

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

end of thread, other threads:[~2004-02-12 16:21 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-10 17:10 reiserfsprogs-3.6.12 release Vitaly Fertman
2004-02-11 17:02 ` Brandon Low
2004-02-11 22:34   ` Vitaly Fertman
2004-02-11 23:04     ` Brandon Low
2004-02-12 11:31       ` Vitaly Fertman
2004-02-12 12:18         ` Henning Westerholt
2004-02-12 14:10           ` Vitaly Fertman
2004-02-12 14:31             ` Henning Westerholt
2004-02-12 16:21             ` Brandon Low

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.