xfs-masters
[Top] [All Lists]

request for verbose mount

To: <aelder@xxxxxxx>, <xfs-masters@xxxxxxxxxxx>
Subject: request for verbose mount
From: "Gono, Pavol" <Pavol.Gono@xxxxxxxxxxx>
Date: Tue, 29 Mar 2011 08:33:10 +0200
Thread-index: Acvt2hYvg5bJ48S3TP2e8Ocb1k1kYQ==
Thread-topic: request for verbose mount
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

Attachment: xfs_mount_verbose.diff
Description: xfs_mount_verbose.diff

<Prev in Thread] Current Thread [Next in Thread>
  • request for verbose mount, Gono, Pavol <=