xfs
[Top] [All Lists]

RE: mkfs.xfs Fails

To: "Nathan Scott" <nathans@xxxxxxx>
Subject: RE: mkfs.xfs Fails
From: "Quang Nguyen \(Ngo\)" <quang@xxxxxxxxxxxx>
Date: Thu, 21 Mar 2002 10:34:22 -0800
Cc: "Eric Sandeen" <sandeen@xxxxxxx>, <linux-xfs@xxxxxxxxxxx>
Importance: Normal
In-reply-to: <20020321164320.F23600@xxxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
From: Nathan Scott [mailto:nathans@xxxxxxx]
+---------------------------------------------------------------------------
| > Anyway, I ran mkfs.ext2 and mkfs.reiserfs and they both formatted it
fine.
| > Just that mkfs.xfs -f /dev/hdb2 thinks it's busy or in use.
|
| That's very odd -- can you run "strace mkfs.xfs -f /dev/hdb2" and
| send the output?  That will tell us where to start looking in mkfs.
+---------------------------------------------------------------------------

In one occasion, my program puts back the original /etc/mtab and that
happens to have /dev/hdb2 mounted.  mkfs.xfs is nice enough to verify that I
shouldn't be formatting a mounted partition.  I gdb'ed it and it was
obvious.  Duhh!

Thanks guys,
Quang


________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs SkyScan
service. For more information on a proactive anti-virus service working
around the clock, around the globe, visit http://www.messagelabs.com
________________________________________________________________________


<Prev in Thread] Current Thread [Next in Thread>