xfs
[Top] [All Lists]

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

To: XFS to linux port mailing list <linux-xfs@xxxxxxxxxxx>
Subject: Re: mkfs.xfs says "can't determine device size"
From: Alvaro Figueroa <fede2@xxxxxxxxxxxxxxxxxxxxx>
Date: 28 Feb 2002 14:01:54 -0600
In-reply-to: <1014926089.26083.87.camel@jen.americas.sgi.com>
References: <1014920792.17527.12.camel@lucy> <1014925841.26083.82.camel@jen.americas.sgi.com> <1014926089.26083.87.camel@jen.americas.sgi.com>
Sender: owner-linux-xfs@xxxxxxxxxxx
> > Any chance strace exists for sparc64, could you run strace -s on the
> > mkfs.xfs process.
> 
> I mean strace -v
> 

Short version.

ustat(0x851, 0xefffe3b8)                = -1 EINVAL (Invalid argument)
open("/dev/scsi/host1/bus0/target8/lun0/part1", O_RDONLY|0x40000) = 3
SYS_139()                               = 0
SYS_139()                               = 0
ustat(0x851, 0xefffe3b8)                = -1 EINVAL (Invalid argument)
open("/dev/scsi/host1/bus0/target8/lun0/part1", O_RDWR|0x40000) = 4
SYS_139()                               = 0
ioctl(4, 0x80041271, 0xefffe364)        = -1 EINVAL (Invalid argument)
write(2, "mkfs.xfs: warning - cannot set b"..., 115mkfs.xfs: warning -
cannot set blocksize on block device
/dev/scsi/host1/bus0/target8/lun0/part1: Invalid argument
) = 115
SYS_139()                               = 0
open("/dev/scsi/host1/bus0/target8/lun0/part1", O_RDONLY|0x40000) = 5
ioctl(5, 0x40041272, 0xefffe360)        = -1 EINVAL (Invalid argument)
write(2, "mkfs.xfs: can\'t determine device"..., 38mkfs.xfs: can't
determine device size
) = 38
exit(1)                                 = ?

Not-so-short version
http://fuerzag.ulatina.ac.cr/~fede2/XFS,%20mkfs%20strace%20log.txt

-- 
Alvaro Figueroa


<Prev in Thread] Current Thread [Next in Thread>