Bart Van Assche wrote:
> Hello,
> 
> I just tried to run the test/regression.sh script from the open-iscsi
> 2.0-869.2 package on an iSCSI target (Ubuntu 2.6.24-16-xen kernel).
> The regression script failed early because mkfs.ext3 could not create
> a filesystem -- the open() system call reported error EBUSY. No other
> process was accessing /dev/sdd. The error message still appeared after
> having rebooted the initiator system. Does anyone have a hint for
> analyzing this further ?
> 

I have seen this a couple times in past versions too. If you run mkfs by 
hand is it fine?

> # ls -l /dev/disk/by-path/ip-192.168.64.13:3260-iscsi-iqn...:storage-lun-0
> lrwxrwxrwx 1 root root 9 2008-05-23 13:25
> /dev/disk/by-path/ip-192.168.64.13:3260-iscsi-iqn...:storage-lun-0 ->
> ../../sdd
> # ./regression.sh -f /dev/sdd
> mkfs.ext3  /dev/sdd1: FAILED
> # strace -f mkfs.ext3 -F /dev/sdd1
> ...
> stat("/dev/sdd1", {st_mode=S_IFBLK|0660, st_rdev=makedev(8, 49), ...}) = 0
> open("/dev/sdd1", O_RDONLY|O_EXCL)      = -1 EBUSY (Device or resource busy)
> write(2, "/dev/sdd1 is apparently in use b"..., 46/dev/sdd1 is
> apparently in use by the system; ) = 46
> write(2, "will not make a filesystem here!"..., 33will not make a
> filesystem here!
> ) = 33
> exit_group(1)                           = ?
> 
> Bart.
> 
> > 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"open-iscsi" group.
To post to this group, send email to open-iscsi@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/open-iscsi
-~----------~----~----~----~------~----~------~--~---

Reply via email to