xfs
[Top] [All Lists]

Re: mkfs.xfs primary bootable partition issue

To: John <jsh_45@xxxxxxxxx>
Subject: Re: mkfs.xfs primary bootable partition issue
From: Eric Sandeen <sandeen@xxxxxxx>
Date: Wed, 16 May 2001 19:01:11 -0500
Cc: linux-xfs@xxxxxxxxxxx
References: <20010516232506.97800.qmail@xxxxxxxxxxxxxxxxxxxxxxx>
Sender: owner-linux-xfs@xxxxxxxxxxx
John wrote:

> when I run mkfs.xfs on /dev/hda I get some strange
> results
> 
> #mkfs.xfs -l size-32768 -f /dev/hda1
>  size 32768 too large for internal log
> 
> but this same command works on /dev/hda5 and
> /dev/hda7?

My guess is that /dev/sda1 is a small partition, and 32768 filesystem
blocks is too big?  You can just let mkfs.xfs select a log size for you,
it will do a decent job.

> so I tried mkfs without the -l argument and it worked,
> but when I try to mount /dev/hda1 things are not
> working too well:
> 
> #mount -t xfs /dev/hda1 /boot
>  Mounting /dev/hda1 on /boot failed: No such file or
> directory

Ok, silly question maybe... does /boot exist?
 
> mounting /dev/hda5 and /dev/hda7 is all good though?
> Is there something I'm missing about the boot flag or
> primary partitions?  Please help, I'm lost.

the boot flag shouldn't have anything to do with it...

-Eric

-- 
Eric Sandeen      XFS for Linux     http://oss.sgi.com/projects/xfs
sandeen@xxxxxxx   SGI, Inc.

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