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

Re: mkfs.xfs Fails



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.

Could you tell me where in the src code of mkfs.xfs I can modify to force it 
to format?

Thanks,
Quang