[SLE] Expanding (resizing) existing reiserfs
I have been trying unsuccessfully to expand my reiserfs partition. I have looked at the 'man page' which was referenced on this list. http://devlinux.com/projects/reiserfs/rsz.html http://devlinux.com/projects/reiserfs/rsz.html Has anyone managed to do this? I would appreciate a step-by-step if someone has done this successfully. TIA, Mike -------------------------------------------------------------------------- Michael Cleary UNIX Qualification and Commands Data General, a Division of EMC2 62 T.W. Alexander Dr. Research Triangle Park, NC mdcleary@dg-rtp.dg.com (919) 248-6033 -------------------------------------------------------------------------- -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
"Cleary, Mike" wrote:
I have been trying unsuccessfully to expand my reiserfs partition. I have looked at the 'man page' which was referenced on this list.
http://devlinux.com/projects/reiserfs/rsz.html http://devlinux.com/projects/reiserfs/rsz.html
Has anyone managed to do this? I would appreciate a step-by-step if someone has done this successfully.
TIA,
Mike -------------------------------------------------------------------------- Michael Cleary UNIX Qualification and Commands Data General, a Division of EMC2 62 T.W. Alexander Dr. Research Triangle Park, NC mdcleary@dg-rtp.dg.com (919) 248-6033 --------------------------------------------------------------------------
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
I have the same question. Does anybody have the answer??? -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Jerry VB wrote:
"Cleary, Mike" wrote:
I have been trying unsuccessfully to expand my reiserfs partition. I have looked at the 'man page' which was referenced on this list.
We've just added 200 MB to our logical volume (LVM) mounted at /home and now want to resize: Use -f to resize mounted filesystems. (filesystem remains mounted and is sued while we do that) resize_reiserfs -s+200M -f /dev/my_vg/v2 my_vg: name of LVM volume group v2: name of the logical volume Same is true for /dev/hda3 or whatever, but this is most useful with LVM. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Michael Hasenstein wrote:
(filesystem remains mounted and is sued while we do that) ^^^^
funny typo: planned to write "used" -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Does this mean that most litigious lawyers are really used car salesmen...
Michael Hasenstein wrote:
(filesystem remains mounted and is sued while we do that) ^^^^
funny typo: planned to write "used"
--
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Michael Hasenstein wrote:
Jerry VB wrote:
"Cleary, Mike" wrote:
I have been trying unsuccessfully to expand my reiserfs partition. I have looked at the 'man page' which was referenced on this list.
We've just added 200 MB to our logical volume (LVM) mounted at /home and now want to resize: Use -f to resize mounted filesystems. (filesystem remains mounted and is sued while we do that)
resize_reiserfs -s+200M -f /dev/my_vg/v2
my_vg: name of LVM volume group v2: name of the logical volume
Same is true for /dev/hda3 or whatever, but this is most useful with LVM.
Michael, Does this mean that the volume(partition) you want to resize needs to have free space next to it. If so, does it matter on which side? -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Jerry VB wrote:
Does this mean that the volume(partition) you want to resize needs to have free space next to it. If so, does it matter on which side?
I always use LVM. Don't know what happens if you use the inflexible fdisk and physical partitions method and shift the _beginning_ of a partition instead of the end... -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
but does it work on standard FS's I mean on reiser FS's that aren't using LVM ? Because I think that LVM work for configurations that have more that 1 HDU ? or I'm wrong ?
Jerry VB wrote:
Does this mean that the volume(partition) you want to resize needs to have free space next to it. If so, does it matter on which side?
I always use LVM. Don't know what happens if you use the inflexible fdisk and physical partitions method and shift the _beginning_ of a partition instead of the end...
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Linux News User wrote:
but does it work on standard FS's I mean on reiser FS's that aren't using LVM ?
Yes, but LVM makes it much easier to maintain big systems. Even if you already have hardware RAID as a first virtual layer, so that your system only sees one dist where in fact there are many, using LVM makes a lot of sense, because it is _completely_ device independent (so you can span several hardware-RAID controllers and include their discs into LVM managed partitions, for example), plus esp. for databases (e.g. Oracle) and raw I/O you need to be able to treat partitions as easily as files, and LVM can do that, plus there's a limit of physical partitions on a disc that does not exist for LVM (LVM can provide up to 255 logical volumes), so this is again a unique thing only LVM can do. Ok, this last one is a database thing, if you don't use raw I/O you don't care too much about this particular advantage.
Because I think that LVM work for configurations that have more that 1 HDU ? or I'm wrong ?
LVM works with anything, even if you're using it with just one physical partition. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Michael Hasenstein wrote:
Linux News User wrote:
but does it work on standard FS's I mean on reiser FS's that aren't using LVM ?
Yes, but LVM makes it much easier to maintain big systems. Even if you already have hardware RAID as a first virtual layer, so that your system only sees one dist where in fact there are many, using LVM makes a lot of sense, because it is _completely_ device independent (so you can span several hardware-RAID controllers and include their discs into LVM managed partitions, for example), plus esp. for databases (e.g. Oracle) and raw I/O you need to be able to treat partitions as easily as files, and LVM can do that, plus there's a limit of physical partitions on a disc that does not exist for LVM (LVM can provide up to 255 logical volumes), so this is again a unique thing only LVM can do. Ok, this last one is a database thing, if you don't use raw I/O you don't care too much about this particular advantage.
OK, but how do I resize my plain old / partition that is Reiser FS?
Because I think that LVM work for configurations that have more that 1 HDU ? or I'm wrong ?
LVM works with anything, even if you're using it with just one physical partition.
-- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
Jerry VB wrote:
OK, but how do I resize my plain old / partition that is Reiser FS?
The way I described - IF you're able to find a way to resize the partition holding the filesystem... If it's not LVM, you can try fdisk, and expand the end of the partition. Then find out by how many MB you actually expanded (since you're using "cylinders" instead of "MB" with fdisk) and do the filesystem resize. You can't break avything by specifying a too big value in resize_reiserfs, if the command doesn't find as much new space as you told it is there it jsut does nothing, so you can try again with a lower value for the "+s...M" argument. -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
On Sat, 14 Oct 2000 12:38:03 -0700, Michael Hasenstein wrote: | Jerry VB wrote: | | > OK, but how do I resize my plain old / partition that is Reiser FS? | Fdisk doesn't mess with the partitioin data. Only with the partition table. So you can safely delete a partition, reboot and recreate the partition. You will see the the partition data is undamaged (I have done this many times). A filesystem on that partition is not affected and still ok. If reiserfs does not keep track of the absolute partition layout, than it should be possible to delete the existing partition and create a bigger one. (Note: same start location!). Than you should be able to resize_reiserfs on that patition. In theory... Koos Pol ---------------------------------------------------------------------- S.C. Pol T: +31 20 3116122 Systems Administrator F: +31 20 3116200 Compuware Europe B.V. E: koos_pol@nl.compuware.com Amsterdam PGP public key available -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/support/faq
participants (6)
-
bruce@toorak.com
-
jerryvb@mindspring.com
-
koos_pol@nl.compuware.com
-
linux@ods.co.cr
-
MDCleary@dgexchange.dg.com
-
mha@suse.com