| To: | linux-xfs@xxxxxxxxxxx |
|---|---|
| Subject: | mkfs.xfs: warning - cannot set blocksize on block device |
| From: | Andrew Hill <list@xxxxxxxxxx> |
| Date: | Wed, 18 Jul 2001 11:38:09 +0930 |
| Sender: | owner-linux-xfs@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux 2.4.6 i686; en-US; rv:0.9.1) Gecko/20010622 |
Hi, Firstly, my apologies if this has been covered before, but I'm new to XFS and couldn't see anything about this in the FAQ or the last couple of months of the mailing list archive - but I may have just missed it. I have just upgraded my Linux machine to RedHat 7.1, and installed a 2.4.6 kernel, which (yay!) has support for my Promise 20265 RAID controller. I have used the "snapshot" 2.4.6 kernel patch, and made sure that in the Filesystems section of the kernel, both "Page Buffer support" and "SGI XFS filesystem support" are selected. This seems to go okay, and the kernel boots without any apparent problem, including the 2 RAID devices on the Prmoise controller being available as /dev/hde and /dev/hdf (I am booting of a normal IDE drive.) I have then installed the following RPMs: acl-1.0.7-0.i386.rpm acl-devel-1.0.7-0.i386.rpm attr-1.0.3-0.i386.rpm attr-devel-1.0.3-0.i386.rpm dmapi-0.1.1-0.i386.rpm dmapi-devel-0.1.1-0.i386.rpm xfsdump-1.0.9-0.i386.rpm xfsprogs-1.2.8-0.i386.rpm xfsprogs-devel-1.2.8-0.i386.rpm So, I think that I should now be ready to create an XFS filesystem. I use fdisk to create a normal primary partition on /dev/hde, of type 83. This is fine. I can also test that the drive seems to be okay by creating an e2fs on this partition: ---- [root@slave-i /root]# mke2fs /dev/hde1
mke2fs 1.19, 13-Jul-2000 for EXT2 FS 0.5b, 95/08/09
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
4889248 inodes, 9770662 blocks
488533 blocks (5.00%) reserved for the super user
First data block=0
299 block groups
32768 blocks per group, 32768 fragments per group
16352 inodes per group
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632, 2654208,
4096000, 7962624Writing inode tables: done Writing superblocks and filesystem accounting information: done ---- However, when I try to create an XFS on the partition, I get the following error: ---- [root@slave-i /root]# mkfs -t xfs -f /dev/hde1 mkfs.xfs: warning - cannot set blocksize on block device /dev/hde1: Input/output error meta-data=/dev/hde1 isize=256 agcount=38, agsize=262144 blks data = bsize=4096 blocks=9770662, imaxpct=25 = sunit=0 swidth=0 blks, unwritten=0 naming =version 2 bsize=4096 log =internal log bsize=4096 blocks=1200 realtime =none extsz=65536 blocks=0, rtextents=0 ---- If anyone has any ideas ahout what I am doing wrong/is going wrong, it would be greatly appreciated. Cheers, Andrew |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | kernel oops, Colin Walters |
|---|---|
| Next by Date: | Re: mkfs.xfs: warning - cannot set blocksize on block device, Steve Lord |
| Previous by Thread: | kernel oops, Colin Walters |
| Next by Thread: | Re: mkfs.xfs: warning - cannot set blocksize on block device, Steve Lord |
| Indexes: | [Date] [Thread] [Top] [All Lists] |