Hi
I was trying to mount XFS filesystem with options sunit + swidth, and I learned
filesystem must be aligned at the mkfs time. But I was irritated that there is
no error message in kernel log after unsuccessful mount:
# mount -txfs -osunit=128,swidth=512 /dev/hda12 /mnt/hda12
mount: wrong fs type, bad option, bad superblock on /dev/hda12,
missing codepage or helper program, or other error
In some cases useful info is found in syslog - try
dmesg | tail or so
# mount -txfs -osunit=8,swidth=32 /dev/hda12 /mnt/hda12
#
Could you add explanation messages to the mounting code if anything fails?
Attached is example patch.
Pavol Gono
xfs_mount_verbose.diff
Description: xfs_mount_verbose.diff
|