[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mkfs.xfs Fails



On Wed, Mar 20, 2002 at 09:33:34PM -0800, Quang Nguyen wrote:
> On Wednesday 20 March 2002 06:35 pm, Eric Sandeen wrote:
> > If you have any partition on /dev/hda mounted, when you run fdisk, you'll
> > need to unmount them and re-fdisk, or reboot.  (Watch carefully after the
> > fdisk - does it tell you to reboot?)
> >
> > Have you tried rebooting after the fdisk?
> 
> Hi Eric,
> 
> There aren't any partition on that drive mounted when I fdisked it.  Actually 
> it's the second IDE drive, which is /dev/hdb.  I know in my original email 
> mentioned /dev/hda2.  It should be /dev/hdb2.
> 
> 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.

thanks.

-- 
Nathan