All of lore.kernel.org
 help / color / mirror / Atom feed
* Resize of a reiser4 filesystem?
@ 2005-07-17 14:44 Alexander Skwar
  2005-07-17 15:16 ` PFC
  0 siblings, 1 reply; 8+ messages in thread
From: Alexander Skwar @ 2005-07-17 14:44 UTC (permalink / raw)
  To: reiserfs-list

Hello!

I'm looking for a way to resize my reiser4 filesystems.
Best would be an "online" option (ie. one, that does
not require an unmount of the fs).

In older packages, I found a man page for a resize_reiser4
tool (not sure about the name). Even this manpage is gone
in the sys-fs/reiser4progs-1.0.4 Gentoo package, which I've
got currently installed.

If there's no "online" way, an offline way would be
appreciated as well.

Thanks a lot,

Alexander Skwar
-- 
L BREAK into program, 0:1

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

* Re: Resize of a reiser4 filesystem?
  2005-07-17 14:44 Resize of a reiser4 filesystem? Alexander Skwar
@ 2005-07-17 15:16 ` PFC
  2005-07-17 15:23   ` Alexander Skwar
  0 siblings, 1 reply; 8+ messages in thread
From: PFC @ 2005-07-17 15:16 UTC (permalink / raw)
  To: reiserfs-list


	I've got Gentoo and this is installed :

   sys-fs/reiser4progs
       Latest version available: 1.0.4
       Latest version installed: 1.0.3

I believe the name of the tool has changed and is now resizefs.reiser4

A copy of the man page :

resizefs.reiser4(8)                              reiser4progs  
manual                              resizefs.reiser4(8)



NAME
        resizefs.reiser4 - the program for resize reiser4 filesystem.

SYNOPSIS
        resizefs.reiser4 [ options ] FILE size[K|M|G]

DESCRIPTION
        resizefs.reiser4 is reiser4 filesystem resize program.

COMMON OPTIONS
        -V, --version
               prints program version.

        -?, -h, --help
               prints program help.

        -y, --yes
               assumes an answer 'yes' to all questions.

        -f, --force
               forces resizefs to use whole disk, not block device or  
mounted partition.

        -c, --cache N
               sets  tree cache node number to passed value. This affects  
very much behavior of libreiser4. It affects
               speed, tree allocation, etc.

PLUGIN OPTIONS
        -p, --print-profile
               prints the plugin profile. This is the set of default  
plugins used for all parts  of  a  filesystem  --
               format,  nodes, files, directories, hashes, etc. If  
--override is specified, then prints modified plug-
               ins.

        -l, --print-plugins
               prints all plugins libreiser4 know about.

        -o, --override TYPE=PLUGIN, ...
               overrides the default plugin of the type "TYPE" by the  
plugin "PLUGIN" in the plugin profile.

               Examples:

               resizefs.reiser4 -qf -o nodeptr=nodeptr41,hash=rupasov_hash  
/dev/hda2 /dev/hda3

REPORTING BUGS
        Report bugs to <umka@namesys.com>, <reiserfs-list@namesys.com>

SUPPORT
        You can get support at http://www.namesys.com/support.html

SEE ALSO
        libreiser4(8), measurefs.reiser4(8), debugfs.reiser4(8),  
fsck.reiser4(8) mkfs.reiser4(8) copyfs.reiser4(8)

AUTHOR
        This manual page was written by Yury Umanets <umka@namesys.com>




On Sun, 17 Jul 2005 16:44:14 +0200, Alexander Skwar  
<listen@alexander.skwar.name> wrote:

> Hello!
>
> I'm looking for a way to resize my reiser4 filesystems.
> Best would be an "online" option (ie. one, that does
> not require an unmount of the fs).
>
> In older packages, I found a man page for a resize_reiser4
> tool (not sure about the name). Even this manpage is gone
> in the sys-fs/reiser4progs-1.0.4 Gentoo package, which I've
> got currently installed.
>
> If there's no "online" way, an offline way would be
> appreciated as well.
>
> Thanks a lot,
>
> Alexander Skwar



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

* Re: Resize of a reiser4 filesystem?
  2005-07-17 15:16 ` PFC
@ 2005-07-17 15:23   ` Alexander Skwar
  2005-07-17 15:34     ` PFC
  0 siblings, 1 reply; 8+ messages in thread
From: Alexander Skwar @ 2005-07-17 15:23 UTC (permalink / raw)
  To: reiserfs-list

PFC schrieb:
> 	I've got Gentoo and this is installed :
> 
>    sys-fs/reiser4progs
>        Latest version available: 1.0.4
>        Latest version installed: 1.0.3
> 
> I believe the name of the tool has changed and is now resizefs.reiser4

[17:21:48 alexander@server:~] $ grep resize /var/db/pkg/sys-fs/reiser4progs-1.0.4/CONTENTS
[17:21:48 alexander@server:~] $

IOW: On my system, there's no "resize" program in the reiser4progs
package.

In 1.0.3, I also had that manpage - but I had no binary. Do you
have a binary?

Alexander Skwar
-- 
Think honk if you're a telepath.

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

* Re: Resize of a reiser4 filesystem?
  2005-07-17 15:23   ` Alexander Skwar
@ 2005-07-17 15:34     ` PFC
  2005-07-17 16:10       ` Alexander Skwar
  0 siblings, 1 reply; 8+ messages in thread
From: PFC @ 2005-07-17 15:34 UTC (permalink / raw)
  To: reiserfs-list


> In 1.0.3, I also had that manpage - but I had no binary. Do you
> have a binary?

Looks like it is there :

nyuu root # grep resize /var/db/pkg/sys-fs/reiser4progs-1.0.3/CONTENTS
obj /usr/share/man/man8/resizefs.reiser4.8.gz  
2142fde4cd6c41cfe319f34dd082c07c 1110658498
obj /sbin/resizefs.reiser4 c8acc86f223809b70ad1d36cc37da264 1110658498

nyuu root # which resizefs.reiser4
/sbin/resizefs.reiser4

nyuu root # resizefs.reiser4
Usage: resizefs.reiser4 [ options ] FILE size[K|M|G]
Plugins options:
   -p, --print-profile           prints default profile.
   -l, --print-plugins           prints known plugins.
   -o, --override TYPE=PLUGIN    overrides the default plugin of the type
                                 "TYPE" by the plugin "PLUGIN" in the
                                 profile.
Common options:
   -?, -h, --help                prints program usage.
   -V, --version                 prints current version.
   -y, --yes                     assumes an answer 'yes' to all questions.
   -f, --force                   makes resizer to use whole disk, not
                                 block device or mounted partition.
   -c, --cache N                 number of nodes in tree buffer cache


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

* Re: Resize of a reiser4 filesystem?
  2005-07-17 15:34     ` PFC
@ 2005-07-17 16:10       ` Alexander Skwar
  2005-07-17 17:02         ` PFC
                           ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Alexander Skwar @ 2005-07-17 16:10 UTC (permalink / raw)
  Cc: reiserfs-list

PFC schrieb:
>> In 1.0.3, I also had that manpage - but I had no binary. Do you
>> have a binary?
>
> Looks like it is there :
[...]
> obj /sbin/resizefs.reiser4 c8acc86f223809b70ad1d36cc37da264 1110658498
>
> nyuu root # which resizefs.reiser4
> /sbin/resizefs.reiser4

Interesting. How did you build the package? What USE flags?

I've got:

[ebuild     UD] sys-fs/reiser4progs-1.0.3 [1.0.4] -debug +readline +static 851 kB

...

Okay, when I build the 1.0.3 package, I also get a /sbin/resizefs.reiser4.
But not in the 1.0.4 package.

Also not when I build it manually (ie. without Gentoo stuff).

Has resizefs.reiser4 been removed from 1.0.4?

Alexander Skwar
-- 
Used staples are good with SOY SAUCE!

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

* Re: Resize of a reiser4 filesystem?
  2005-07-17 16:10       ` Alexander Skwar
@ 2005-07-17 17:02         ` PFC
  2005-07-17 17:13         ` David Masover
  2005-07-23 20:42         ` Petteri Räty
  2 siblings, 0 replies; 8+ messages in thread
From: PFC @ 2005-07-17 17:02 UTC (permalink / raw)
  To: reiserfs-list


> [ebuild     UD] sys-fs/reiser4progs-1.0.3 [1.0.4] -debug +readline

how do you obtain that information ?

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

* Re: Resize of a reiser4 filesystem?
  2005-07-17 16:10       ` Alexander Skwar
  2005-07-17 17:02         ` PFC
@ 2005-07-17 17:13         ` David Masover
  2005-07-23 20:42         ` Petteri Räty
  2 siblings, 0 replies; 8+ messages in thread
From: David Masover @ 2005-07-17 17:13 UTC (permalink / raw)
  To: reiserfs-list


Alexander Skwar wrote:
[...]
> Has resizefs.reiser4 been removed from 1.0.4?

I think that resizefs.reiser4, even when it was in 1.0.3, was a stub.  I 
don't think it even grew the FS.

As far as shrinking goes, forget it.  Shrinking will need a repacker, 
and Namesys wants to do an online repacker, which is great.  They want 
to be paid to do it, which is not great, because no one's currently 
paying them.

I offered to write one, but of course, this is one of the things that 
Hans would rather I not write so that he can have someone pay Namesys to 
write.

So, sometime after all the getting-into-the-vanilla-kernel fluff is 
done, we may get a resizefs.reiser4 that resizes online, growing or 
shrinking.  Maybe it'll even be able to do that from both ends, but I 
hardly dare hope.

For now, your best bet is to make sure you can do a full backup of 
anything you put on a Reiser4 filesystem, and do that backup with tar.



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.323 / Virus Database: 267.9.0/50 - Release Date: 7/16/2005


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

* Re: Resize of a reiser4 filesystem?
  2005-07-17 16:10       ` Alexander Skwar
  2005-07-17 17:02         ` PFC
  2005-07-17 17:13         ` David Masover
@ 2005-07-23 20:42         ` Petteri Räty
  2 siblings, 0 replies; 8+ messages in thread
From: Petteri Räty @ 2005-07-23 20:42 UTC (permalink / raw)
  To: reiserfs-list

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexander Skwar wrote:
> Okay, when I build the 1.0.3 package, I also get a /sbin/resizefs.reiser4.
> But not in the 1.0.4 package.
> 
> Also not when I build it manually (ie. without Gentoo stuff).
> 
> Has resizefs.reiser4 been removed from 1.0.4?
> 
> Alexander Skwar

http://bugs.gentoo.org/show_bug.cgi?id=87596

Regards,
Petteri Räty
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC4quzcxLzpIGCsLQRAhyeAJ9bjwKeIg+EyzmrL2kz+o5qBRNgWgCfU9i7
ze/31p4rYNiG8LhJi6SZCcM=
=oiFO
-----END PGP SIGNATURE-----

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

end of thread, other threads:[~2005-07-23 20:42 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-17 14:44 Resize of a reiser4 filesystem? Alexander Skwar
2005-07-17 15:16 ` PFC
2005-07-17 15:23   ` Alexander Skwar
2005-07-17 15:34     ` PFC
2005-07-17 16:10       ` Alexander Skwar
2005-07-17 17:02         ` PFC
2005-07-17 17:13         ` David Masover
2005-07-23 20:42         ` Petteri Räty

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.