One other thing I just noticed: xfs_repair also has problems with this
!=512byte-sector device:
+(550 /...8/repair)# ./xfs_repair
/dev/sdc
([EMAIL PROTECTED])
xfs_repair: warning - cannot set blocksize on block device /dev/sdc:
Invalid argument
Phase 1 - find and verify superblock...
Phase 2 - using internal log
I don't know whether this is a problem, but xfs_repair is complaining
that it can't set the blocksize. I don't what this is used for and
whether it's important but I don't like my fs checker/fixer spitting out
warnings (if you know what I mean). Note that I used the latest 2.9.8
xfs-repair. The one that comes with Etch simply segfaults:
+(551 /...8/repair)# xfs_repair
/dev/sdc
ret:130 sig:int ([EMAIL PROTECTED])
xfs_repair: warning - cannot set blocksize on block device /dev/sdc:
Invalid argument
Phase 1 - find and verify superblock...
xfs_repair: read failed: Invalid argument
[1] 7523 segmentation fault xfs_repair /dev/sdc
Nathan Scott wrote:
On Mon, 2008-07-07 at 08:24 +0200, Arno van Amersfoort wrote:
And I guess most people expect mkfs.xfs to properly detect the sector
Indeed. I'll let the XFS developers know (CCd) - if devices say they
support only >512 byte sectors, mkfs.xfs should silently switch to the
minimum sector size supported.
size (and choose the "ssize") automatically like ie. mkfs.ext3 does,
right?
I'd expect ext3 mkfs does not check this - ext3 doesn't distinguish
between filesystem blocks (smallest unit of allocation) and device
sectors (smallest allowed I/O size to a device) like XFS does.
cheers.
--
Nathan
--
Ing. A.C.J. van Amersfoort (Arno)
Electronics & ICT Engineer
----------------------------------------------------------------
Leiden Institute of Physics (LION), Electronics Department (ELD)
Huygens Laboratory (Room 1007), Leiden University
Postal Address: P.O. Box 9504, 2300 RA Leiden
Visit Address : Niels Bohrweg 2, 2333 CA Leiden
The Netherlands
----------------------------------------------------------------
Phone : +31-(0)71-527.1894
Fax : +31-(0)71-527.5819
E-mail : [EMAIL PROTECTED]
Homepage : http://rocky.eld.leidenuniv.nl