Displaying 20 results from an estimated 9000 matches similar to: "notes on "resize ext3" tip"
2007 Mar 25
1
http://wiki.centos.org/TipsAndTricks/CDtoDVDMedia
Hi,
I am Wojtek Pilorz (username "Wojtek Pilorz").
I would like to discuss whether my method of creating Centos DVD image
from CD images and the other way would be appropriate to be placed in
tip named in subject;
Would it be appropriate if I send scripts I use with method
description a mail to the list for consideration?
What I have is method for recreating bit-for-bit identical
2016 Jun 22
1
[PATCH] ext: change e2fsck retcode processing during resize
e2fsck returns 1 in case of "file system errors corrected".
We treat it as success in normal e2fsck, but fail if e2fsck
is run by resize2fs.
Change 'manual' execution of e2fsck to dedicated function call.
---
daemon/ext2.c | 14 ++++----------
1 file changed, 4 insertions(+), 10 deletions(-)
diff --git a/daemon/ext2.c b/daemon/ext2.c
index 5dd67c7..95a65ae 100644
---
2014 Dec 16
1
virt-resize corrupts ext2 filesystem
steps to reproduce:
./run guestfish -N disk:1536M <<EOF
part-init /dev/sda mbr
part-add /dev/sda p 1 1048577
part-add /dev/sda p 1048578 2097154
part-add /dev/sda p 2097155 -1
mkfs ext2 /dev/sda1
mkfs ext2 /dev/sda2
mkfs ext2 /dev/sda3
EOF
qemu-img create -f raw test2.img 1520M
./run virt-resize --format raw --output-format raw --resize /dev/sda1=-2M --resize /dev/sda2=-8M --shrink
2003 Oct 15
1
ext3 + raid, is resize2fs neccessary?
Consider this section:
http://www.tldp.org/HOWTO/Software-RAID-HOWTO-4.html#ss4.14
I have not done this before and I'm leary about Step 11 which is resizing
the filesystem after doing a mkraid command. This howto lacks any ext3
documentation. Some questions I have are:
1. Should I convert back to ext2 on all my filesystems before I do a mkraid?
2. If I leave the system at ext3, will the
2002 Aug 01
0
openssh-3.4p1.tar.gz on ftp.openbsd.org changing rather than frozen (fwd)
Below the trojaned and clean md5s are given.
---------- Forwarded message ----------
Date: Thu, 1 Aug 2002 13:39:22 +0200
From: Magnus Bodin <magnus at bodin.org>
To: Wojtek Pilorz <wpilorz at bdk.pl>
Cc: openssh-unix-dev at mindrot.org
Subject: Re: openssh-3.4p1.tar.gz on ftp.openbsd.org changing rather than
frozen
On Thu, Aug 01, 2002 at 09:20:29AM +0200, Wojtek Pilorz wrote:
2012 Aug 04
2
resize too large
I have a file system I am trying to resize via resize2fs but I get this error
resize2fs 1.41.14 (22-Dec-2010)
resize2fs: New size too large to be expressed in 32 bits
im on debian squeeze 2.6.32-5-amd64
# pvs
? PV???????? VG????? Fmt? Attr PSize? PFree
? /dev/md1?? vgRAID6 lvm2 a-?? 18.17t 134.12g
# lvs
? LV??? VG????? Attr?? LSize? Origin Snap%? Move Log Copy%? Convert
? data1 vgRAID6 -wi-ao
2008 Jun 25
6
CentOS 5.2 kernel [2.6.18-92.1.1.el5] crashes on dual-PIII Compaq ProLiant 3000
After yum upgrade, the new CentOS5 kernel [ kernel-2.6.18-92.1.1.el5.i686 ]
crashes each time early in boot process on Compaq ProLiant 3000
with dual Pentium3 CPU (600 MHz, CPU0: Intel Pentium III (Katmai) stepping 03, CPU1 the same).
I get kernel panic at powernowk8_init+0x05e/0x1c3.
The previous kernel [ kernel-2.6.18-53.1.21.el5.i686 ] seems to work fine.
I am wondering if anyone has met
2004 Apr 16
1
online resize of ext3 possible?
Hi folks,
Is it possible to resize an ext3 filesystem while it's online? It
looks like resize2fs won't do the trick unless the filesystem is
unmounted. And ext2resize takes one look at the filesystem while it's
mounted and complains as well, this time about un-supported features.
It's not a huge deal if I have to shutdown the system to grow the two
filesystems, it's just
2008 Jan 22
1
Resize a VM disk image
Hi guys,
I have Xen 3.0.3 installed with yum on Centos 5.1.
I''am facing an issue trying to resize the disk image of a centos 4.5 VM.
The VM disk size is 50Go and i need to add 150Go.
I tried two methods so far :
-------------1st method-----------------------
dd if=/dev/zero of=<image file> bs=1M conv=notrunc count=1 seek=2500
*
losetup /dev/loop0 <image file>
*
e2fsck -f
2007 Apr 15
1
Scripts to generate exact copy of CentOS-5.0-i386-bin-DVD.iso from CD images
I am enclosing scripts and config files to generate exact copy
of CentOS 5.0 i386 installation DVD image, that is
CentOS-5.0-i386-bin-DVD.iso
if you have CD images for i386.
If there is interest I can post the same for x86_64.
Please follow README files for instructions.
All the scripts are GPL.
SHA1 for attached files:
439f7b0bd50722388a2836eedafeb1c227f97385 *00_README.txt
2007 Dec 19
2
Resizing a Xen DomU disk image
Hello Mailing List!
A quick question. Has anyone gotten a resize (in my case grown) a Xen
DomU disk image?
Here is the procedure I have followed:
1. Install a DomU using virt-install
Customize xvda to be all one partition ext3
2. On Dom0:
dd if=/dev/zero bs=1G count=1 >> <my_disk_image>
ll -h (Image is now 1GB larger)
xm create <DomU>
On DomU:
df -h (Size has not
2002 Aug 01
4
openssh-3.4p1.tar.gz on ftp.openbsd.org changing rather than frozen
I have seen that file
ftp://ftp.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-3.4p1.tar.gz
is continuosly changing.
This seems strange to me as I expected it should be a 'frozen' file;
The signature and diff file are still dated Jun 26.
I am wondering whether this is intentional.
Best regards,
Wojtek
2006 Mar 10
0
RE: RE: domU lvm and resizing40
The way I''ve done it in the past is:
1. Make sure that xen domain is shut down that you are re-sizing
2. Run lvextend (you''ve already done this)
3. Run e2fsck -f [logical volume name] (i.e. /dev/domain0/lvname)
4. Run resize2fs [volume name] [new size in G of LV] (i.e. resize2fs
/dev/domain0/lvname 8G
5. Start up vm. New size should be reflected now.
HTH
-----Original
2001 Jan 11
1
sleep 20&exit hangs on Linux
Dear All,
Let me quote a few lines from TODO file (SNAP-20010109):
- Linux hangs for 20 seconds when you do "sleep 20&exit". All current
solutions break scp or leaves processes hanging around after the ssh
connection has ended. It seems to be linked to two things. One
select() under Linux is not as nice as others, and two the children
of the shell are not killed on
2014 Jun 02
0
Re: [long] major problems on fs; e2fsck running out of memory
On Sun, Jun 01, 2014 at 08:54:24PM -0700, Keith Keller wrote:
>
> Heh, I like your understatement. :) I think this helps answer part of
> my questions in my second email: I should probably try to preserve
> changes from last backup before getting too deep into a tricky e2fsck.
> At one point the fs was still mountable, so I could have tried to copy
> files off first. (In a
2012 Mar 09
5
[PATCH 0/5] Fixes to resize2fs (RHBZ#755729, RHBZ#801640)
https://bugzilla.redhat.com/show_bug.cgi?id=755729
This bug reports that the error message printed by the resize2fs API
calls (which comes directly from the resize2fs command) says:
Please run 'e2fsck -f /dev/vda1' first.
That command is not possible from guestfish (where it would be
'e2fsck-f' or 'e2fsck ... forceall:true').
Fixing that bug caused this bug:
2015 Sep 15
0
Fwd: Re: Question: running appliance commands over guest fs (resize2fs -P).
-------- Forwarded Message --------
Subject: Re: [Libguestfs] Question: running appliance commands over
guest fs (resize2fs -P).
Date: Tue, 15 Sep 2015 17:17:16 +0300
From: Maxim Perevedentsev <mperevedentsev@virtuozzo.com>
To: Richard W.M. Jones <rjones@redhat.com>
On 09/15/2015 04:57 PM, Richard W.M. Jones wrote:
>> 2) More general, how to execute commands from
2009 Dec 29
2
ext3 partition size
Hi all,
I am running fedora 11 with kernel 2.6.30.9-102.fc11.x86_64 #1 SMP
Fri Dec 4 00:18:53 EST 2009 x86_64 x86_64 x86_64 GNU/Linux. I am
noticing a partition on my drive is reporting incorrect size with "df",
the partition is ext3 size 204GB with about 79GB actual usage, the "df"
result show the partition size to be 111GB, 93GB is missing. Please
advice on what
2016 Jan 18
1
[PATCH] Add -f option to resize2fs -P in vfs_minimum_size.
Sometimes the user wants to know minimum size
for dirty (e.g. mounted) filesystems. In this case,
resize2fs -P will require calling e2fsck -f, while
"in general, it is not safe to run e2fsck on mounted filesystems".
Since resize2fs -P does not modify filesystem, we force it
to display (probably approximate) minimum size.
---
daemon/ext2.c | 2 +-
1 file changed, 1 insertion(+), 1
2002 May 16
1
resizing an ext3 partition
I'm getting ready to add some memory to a server running RH7.3
with ext3. I'm going to need to add more space to the swap partition
and so I'll also need to resize an ext3 partition. I've seen some
posts by searching the list that the resize2fs should work fine,
but the man pages don't mention anything about ext3. Version is:
resize2fs 1.27 (8-Mar-2002)
Has anyone actually