[xfs-masters] request for verbose mount

Gono, Pavol Pavol.Gono at siemens.com
Tue Mar 29 01:33:10 CDT 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: xfs_mount_verbose.diff
Type: application/octet-stream
Size: 936 bytes
Desc: xfs_mount_verbose.diff
URL: <http://oss.sgi.com/pipermail/xfs-masters/attachments/20110329/71c49aae/attachment.dll>


More information about the xfs-masters mailing list