[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mkfs.xfs says "can't determine device size"



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