search for: mke2f

Displaying 20 results from an estimated 488 matches for "mke2f".

Did you mean: mke2fs
2011 May 31
6
[PATCH 1/4] febootstrap: Look for insmod.static, mke2fs in /sbin
...PATH_SEPARATOR/sbin$PATH_SEPARATOR]) if test "x$INSMODSTATIC" = "xno" ; then AC_MSG_FAILURE([insmod.static program not found @@ -82,9 +83,10 @@ fi AC_DEFINE_UNQUOTED([INSMODSTATIC],["$INSMODSTATIC"], [Full path to the insmod.static program.]) -AC_PATH_PROG([MKE2FS],[mke2fs],[no]) +AC_PATH_PROG([MKE2FS],[mke2fs],[no], + [$PATH$PATH_SEPARATOR/sbin$PATH_SEPARATOR]) if test "x$MKE2FS" = "xno" ; then - AC_MSG_FAILURE([mke2fs program not found (is /sbin in your current path?)]) + AC_MSG_FAILURE([mke2fs program not found]) fi A...
2003 Jul 30
2
accidental mke2fs
I know there is no straightforward way to recover deleted files on an ext3 file system, but is there any way to recover from an accidental mke2fs? -- --------------------------------------------------------------- Paul Raines email: raines@nmr.mgh.harvard.edu MGH/MIT/HMS Athinoula A. Martinos Center for Biomedical Imaging 149 (2301) 13th Street tel:(617)-724-2369 Charlestown, MA 02129 USA fax:(617)-726-7422
2007 May 27
1
dealing with mke2fs -T option
Hi, I have a doubt if I use the mke2fs option the right way. I formatted two different disks, one with $ mke2fs -b 4096 -E stride=16 -m 1 -T news /dev/sdd and the other with $ mke2fs -b 4096 -E stride=16 -m 1 -T largefile4 /dev/sde sdd is supposed to get files between 8k and 16k. sde will handle files with a fixed size of 32Mb. Th...
2001 Oct 05
0
"File size limit exceeded" when running /sbin/mke2fs -j /dev/sdb1
Hi! I have problem making ext3 FS on new disk. When I run mke2fs, it stops and gives me: "File size limit exceeded". Is this known issue? I'm running linux-2.4.10 with ext3 patch, e2fsprogs-1.25 freshly compiled. Cheers, Vita Appended are outputs of following programs: bash /usr/src/linux/scripts/ver_linux /sbin/mke2fs -m0 -v -j /dev/s...
2020 Jun 19
0
[PATCH 3/3] nbdkit: add a --without-linuxdisk configure argument
From: Alan Somers <asomers@gmail.com> This can be used to disable the linuxdisk plugin, which otherwise is always built if a suitable mke2fs command is present. --- configure.ac | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/configure.ac b/configure.ac index f24c3734..c93e822b 100644 --- a/configure.ac +++ b/configure.ac @@ -483,18 +483,25 @@ AS_IF([test "$GNUTLS_LIBS" != ""]...
2012 Sep 24
0
[PATCH] Fix tests/bigdirs/test-big-dirs.pl to use mke2fs
Let tests/bigdirs/test-big-dirs.pl uses mke2fs to create small inode ratio files. Signed-off-by: Wanlong Gao <gaowanlong at cn.fujitsu.com> --- TODO | 6 ------ tests/bigdirs/test-big-dirs.pl | 18 ++++-------------- 2 files changed, 4 insertions(+), 20 deletions(-) diff --git a/TODO b/TODO index 1ff661f..1c...
2020 Jun 19
3
[PATCH nbdkit v2 0/3] build: Rename configure --without-linuxdisk -> --disable-linuxdisk
This time it should hopefully work. I tested all 3 combinations: autoconf ./configure [--disable-linuxdisk | --enable-linuxdisk | <nothing> ] make clean && make && make check and they all appear to do the right thing. Rich.
2009 Aug 19
1
[PATCH] mke2fs: Use e4fsprogs programs if available.
...s/ See what it can do: http://et.redhat.com/~rjones/libguestfs/recipes.html -------------- next part -------------- >From 7b03d0e1e352dac33c2753bf3aaa8c96a05021de Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones <rjones at redhat.com> Date: Wed, 19 Aug 2009 14:03:35 +0100 Subject: [PATCH] mke2fs: Use e4fsprogs programs if available. On RHEL 5, mke2fs is ancient, and there is a non-standard "mke4fs" binary which acts like the more recent mke2fs on Fedora. Since there are several annoyances and actual bugs in the ancient RHEL 5 mke2fs, use mke4fs instead if it's available. -...
2003 May 21
3
How to create EXT3 file system image from directories?
Hi there, Is there a utility to create an EXT3 file system image from directories? Just like the mkfs.jffs2 which creates a JFFS2 file system image from directories? The "mke2fs -j" only creates the bare bone file system, what I want is to build an image with pre-built content. Thanks, Debbie
2020 Jun 19
4
[PATCH 1/3] nbdkit: fix build of the SSH plugin on FreeBSD
From: Alan Somers <asomers@gmail.com> There was a missing #include. It only worked on Linux due to header pollution. --- plugins/ssh/ssh.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/ssh/ssh.c b/plugins/ssh/ssh.c index ea199a93..a4007c40 100644 --- a/plugins/ssh/ssh.c +++ b/plugins/ssh/ssh.c @@ -30,6 +30,8 @@ * SUCH DAMAGE. */ +#include <sys/stat.h> +
2011 Nov 29
1
E2fsprogs 1.42 is released!
...usting it, to avoid causing more harm than good to the file system. E2fsck now returns additional status bits in its exit code if it aborts early in the e2fsck run. E2fsck now correctly calculates the maximum file size in the case of the huge_file file system feature enabled without extents. The mke2fs and e2fsck programs now tries to use the punch hole command as a "discard" when operating on normal files. The e2image program now supports the qcow2 format, which is a more efficient way of capturing file system dumps. Mke2fs now supports the [devices] stanza in mke2fs.conf which allo...
2001 Aug 19
1
Question About Relocating Journal on Other Device
Hi. I'm using e2fsprogs 1.23 on a Roswell system with a patched 2.4.7 kernel (using patch ext3-2.4-0.9.5-247) and am trying to create an ext3 filesystem whose journal is located on another device. The incantation I'm trying is: mke2fs -j -J device=/dev/hdc2 /dev/hdc3 I keep getting an error along the lines of "mke2fs: Journal superblock not found". I've tried creating different types of filesystems (ext2, ext3, etc.) on the target device for journaling, but this didn't seem to change anything. Could someon...
2003 Jun 09
1
large_file feature- where is it?
...that >2GB support went in before ext3 support, and all ext3 filesystems would therefore support >2GB files on ia32. So, I started poking around and found that some of my ext3 filesystems have the "large_file" feature flag set on them, and others do not. I cannot find a manpage for mke2fs anywhere that explains how to set this flag, either at creation time or afterwards. When I try something like "mke2fs -j -O large_file <dev>" mke2fs complains that it doesn't understand the argument. Attempts to create ext3 filesystems using a modern debian-based (2.4.18) rescu...
2014 Jan 19
2
mke2fs fails due to wipefs --force
My wipefs has no --force option, as a result mke2fs command in guestfish fails. Looks like 72dd398679cd0bb803daf306d12558369615ba70 needs an adjustment to make use of do_wipefs? Also str_wipefs is not used in that file. Olaf
2020 Feb 18
2
Re: [PATCH] make-fs: Don't use du --apparent-size to estimate input size.
...ttps://github.com/libguestfs/nbdkit/tree/master/plugins/floppy I would note that the reason the test fails was nothing to do with free space. It was actually running out of inodes. With ext2/3/4 the number of inodes in the metadata is fixed at creation and based on the size of the disk (see /etc/mke2fs.conf inode_ratio and the mke2fs -i and -N options). Because of the small size of the disk, mke2fs was choosing < 100 inodes, but because the test had 100+ files it failed when creating the later files even though there was enough disk space. There's no easy way to fix this. I think it cou...
2006 May 01
1
"Guessing" superblock parameters
...3 sectors/track, 3467 cylinders Units = Zylinder of 16065 * 512 = 8225280 bytes Ger?t Boot Start End Blocks Id System (...) /dev/hda4 1643 3467 14659312+ 83 Linux (...) Long, long time ago (5,6 years) I formatted this partition using a simple "mke2fs /dev/hda4" call. Block size is 4096. On 5th July, 2004, I accidently reformatted the partition with mke2fs -j /dev/hda4 without having a backup. Silly. (take a look at the '-j' switch which creates a journal!) After that, I spent weeks in reconstructing data and had partial succes...
2006 Mar 17
1
[RFC] mke2fs with DIR_INDEX, RESIZE_INODE by default
I've been thinking recently that we should re-enable DIR_INDEX in mke2fs by default. When it first came out, we had done this and were bitten by a few bugs in the code. However, this code has been in heavy use for several thousand filesystem years in Lustre, if not elsewhere, and I'm inclined to think it is pretty safe these days. Likewise, RHEL/FC have had RESI...
2003 Jun 10
1
mke2fs incorrectly detects partition size
...255/63, UDMA(100)) connected to 00:1f.1 IDE interface: Intel Corp. 82801BA IDE U100 (rev 12) I've decided to make a partition, so I've fired up fdisk and make a new one (hda7) of 4GB, as you can see in this line: /dev/hda7 1170 1679 4096543+ 83 Linux Then I've run mke2fs -j /dev/hda7, mounted it, copied data to it, umount it. I've not rebooted. Now I'm trying to mount it back, after a reboot, and mount refuses to mount it, kernel gives me this message: VFS: Can't find ext2 filesystem on dev ide0(3,7). Remembering what happened, I noted that the pa...
2005 Oct 31
3
1.5TB ext3 partitions - mke2fs problems at 2^31 blocks
...get a 9550SX to support a 1.5TB raid partition. I am unsure whether this is a driver problem, or an ext3 problem (as am getting some other wierdness detecting LUNs), but... fdisk recognizes the disk OK. I make a single extended partition with a single 1.5TB logical partition inside it. I then run mke2fs -j /dev/sdb It gets to writing inode tables, and wants to write 11176 block groups. It gets to 3600 (odd) of 11176 block groups fine, then slows to a complete crawl (2 secs per write), though strace shows it is fine. My suspicious mind says this is 1/3 of the way through the disk, which is 2^31...
2014 Mar 06
2
questions regarding file-system optimization for sortware-RAID array
Hi, I created a RAID1 array of two physical HDD's with chunk size of 64KiB under Debian "wheezy" using mdadm. As a next step, I would like to create an ext3(or ext4) file-system to this RAID1 array using mke2fs utility. According to RAID-related tutorials, I should create the file-system like this: # mkfs.ext3 -v -L myarray -m 0.5 -b 4096 -E stride=16,stripe-width=32 /dev/md0 Questions: 1) According to manual of mke2fs, value of the "stride" has to be the RAID chunk size in clusters. As I u...