xfs_info will report everything mkfs prints out at creation time,
including block size and sector size. You run it on the mount point, not
the device:
xfs_info /mnt/xfs
The default sector size would be 512. Also, check your system log or run
dmesg. When the RAID5 flushes cache you get a message:
Jan 5 13:10:49 elijah kernel: raid5: switching cache buffer size, 512 --> 4096
A symptom of the problem is that when I made XFS filesystems without
specifying 4096 byte sectors I was getting dozens of these messages in the
system log each second when writing to an XFS volume. If you're not
seeing too many of these messages when doing something like
"cp -a /usr /mnt/xfs", then you shouldn't have a problem.
--
Matt Stegman
On Mon, 5 Jan 2004 AndyLiebman@xxxxxxx wrote:
> Matt,
>
> Thanks for the reply. I have already made my RAID5 software arrays and they
> have data on them so I can't remake the filesystem now. But can you tell me if
> there's a way to check what the sector size is on the current filesystem? I
> ran mkfs.xfs with the block size = 4096. I didn't specifiy a sector size. Is
> the default also 4096?
|