linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* "tune2fs -I 256" runtime---can it be interrupted safely?
@ 2008-11-01 19:10 Michael B. Trausch
  2008-11-01 23:46 ` Michael B. Trausch
  0 siblings, 1 reply; 9+ messages in thread
From: Michael B. Trausch @ 2008-11-01 19:10 UTC (permalink / raw)
  To: linux-ext4

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

Hello,

I have a drive (a 250 GB external USB hard drive) which I wanted to
convert to 256 byte inodes and start using as an ext4 drive (currently
I use it as ext3).  However, I started the tune2fs operation on 01 Nov
2008 02:27:34 -0400, and it is currently nearly 13 hours later, and the
operation is _still_ going at 100% of one core and operating on the
drive.

Three questions:

  * Is this normal?
  * How long can I expect this process to continue?
  * Can it be (safely) interrupted if it will continue for a long time?

I converted my home directory to ext4 without issue and so I (stupidly,
I admit) did not take a backup of this 250 GB drive's contents before I
started the conversion process.  Oops.  Lesson learned.  My thinking at
this point is that it would take _far_ less time to interrupt, backup,
and just use mkfs.ext4 on the drive and then restore (about 2 hours
instead of an unknown quantity which is already nearing 13 hours).

	Thanks,
	Mike Trausch

-- 
My sigfile ran away and is on hiatus.
http://www.trausch.us/

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 9+ messages in thread
* Re: "tune2fs -I 256" runtime---can it be interrupted safely?
@ 2008-11-14 12:49 Andreas Schultz
  2008-11-14 21:06 ` Andreas Dilger
  0 siblings, 1 reply; 9+ messages in thread
From: Andreas Schultz @ 2008-11-14 12:49 UTC (permalink / raw)
  To: linux-ext4; +Cc: Andreas Dilger

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

Hi,

[...]

> Unfortunately, ltrace doesn't show what is calling this code, so
> a stack trace is needed from GDB.

Got the same problem, here is a GDB backtrace done on Ubuntu Intrepid, e2fsprogs 1.41.3:

(gdb) bt
#0  0x00007fa619228bcc in ext2fs_new_block (fs=0x1fea860, goal=263012, map=0x1feaa30, ret=0x7fff21668cac) at /build/buildd/e2fsprogs-1.41.3/lib/ext2fs/alloc.c:166
#1  0x000000000040408d in resize_inode (fs=0x1fea860, new_size=<value optimized out>) at /build/buildd/e2fsprogs-1.41.3/misc/tune2fs.c:1020
#2  0x0000000000404d83 in main (argc=<value optimized out>, argv=<value optimized out>) at /build/buildd/e2fsprogs-1.41.3/misc/tune2fs.c:1638

Cheers
Andreas

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

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

end of thread, other threads:[~2008-11-16 12:11 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-01 19:10 "tune2fs -I 256" runtime---can it be interrupted safely? Michael B. Trausch
2008-11-01 23:46 ` Michael B. Trausch
2008-11-07 21:16   ` Andreas Dilger
2008-11-11 16:09     ` Michael B. Trausch
2008-11-14  8:30       ` Andreas Dilger
  -- strict thread matches above, loose matches on Subject: below --
2008-11-14 12:49 Andreas Schultz
2008-11-14 21:06 ` Andreas Dilger
2008-11-15  5:50   ` Theodore Tso
2008-11-16 12:11     ` Andreas Schultz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).