On Thu, 2002-02-28 at 12:26, Alvaro Figueroa wrote:
> mkfs -t xfs -f /dev/scsi/host1/bus0/target8/lun0/part1
>
> mkfs.xfs: warning - cannot set blocksize on block device
> /dev/scsi/host1/bus0/target8/lun0/part1: Invalid argument
> mkfs.xfs: can't determine device size
>
>
> I have a sparc64 box, using devfs and a CVS kernel (2 days ago or
> something like that). On sparc, one generally uses a "Sun Label", this
> disk is partitioned as follows.
>
>
> Disk /dev/scsi/host1/bus0/target8/lun0/disc (Sun disk label): 19 heads,
> 80 sectors, 2733 cylinders
> Units = cylinders of 1520 * 512 bytes
>
> Device Flag Start End
> Blocks Id System
> /dev/scsi/host1/bus0/target8/lun0/disc1 1 2733
> 2076320 83 Linux native
> /dev/scsi/host1/bus0/target8/lun0/disc3 0 2733
> 2077080 5 Whole disk
>
>
> Any ideas?
>
> --
> Alvaro Figueroa
Any chance strace exists for sparc64, could you run strace -s on the
mkfs.xfs process.
I suspect the size is supposed to come out of an ioctl and it won't
interpret that, but it might tell us something.
Steve
--
Steve Lord voice: +1-651-683-3511
Principal Engineer, Filesystem Software email: lord@xxxxxxx
|