Skip to contentSkip to conversation

Block-attach doesn't attach sdx device

DISCUSSION Hidetoshi Nishi 2 participants 3 messages Oct 2, 2006 – Oct 4, 2006

lore
Share & tools
lore
#0 lore raw

Hi all, my name is Hidetoshi Nishi.

I work for Fujitsu, and this is first time to send mail.

I test the block-attach/detach command using the latest change-set (11635).

I found the problem probably.

My operation for the test is following.

1. Domain VTx config file is defined only hdx device, no sdx device case,

- I create DVx domain.
- I attach USB disk to domain0.
- I check the new sdx device(attached USB disk) using "ls -l /dev/sd* " in domain0.
- I attach /dev/sdb to VTx using "xm block-attach 1 phy:/dev/sdb sdb

     rw".

- The comand seems like nomal end, but /dev/sdb device not show up in domain VTx.
- And block-list display the new device.
- I detach the new device using "xm block-detach 1 xxxx".
- But I can't delete the new devie from block-list.

2. Domain VTx config file is defined only sdx device, no hdx device case,

This case, I'm successful to attach the USB disk to Domain VTx using "xm block-attach 1 phy:/dev/sdb hdb rw".

And block-detach is also successful to detach the device.

Is this a problem or my operation is no good ?

Thank you Nishi

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

FUJITSU COMPUTER TECHNOLOGIES LIMITED
Development Dept. 5 Division 1

Hidetoshi Nishi

E-MAIL:[email protected]

_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/

#1 lore raw

[email protected] wrote on 10/02/2006 02:23:38 AM:

Quoted 4 lines

Hi all, my name is Hidetoshi Nishi.

I work for Fujitsu, and this is first time to send mail.

Quoted 8 lines

I test the block-attach/detach command using the latest change-set (11635).

I found the problem probably.

My operation for the test is following.

1. Domain VTx config file is defined only hdx device, no sdx device

case,

Quoted 2 lines

- I create DVx domain.

That's a fully virtualized domain? Block-attach, from what I know, does not work with those types of domains, though the tool should return an error in my opinion.

Stefan

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw

 Hi all and Stefan-san.

 Sorry I mistook the reporting.

 Actually I tested DomainU, not DomainVTx.


 Thank you Nishi

Quoted 23 lines

[email protected] wrote on 10/02/2006 02:23:38 AM:

Quoted 4 lines

Hi all, my name is Hidetoshi Nishi.

I work for Fujitsu, and this is first time to send mail.

Quoted 8 lines

I test the block-attach/detach command using the latest change-set (11635).

I found the problem probably.

My operation for the test is following.

1. Domain VTx config file is defined only hdx device, no sdx device

case,

Quoted 2 lines

- I create DVx domain.

That's a fully virtualized domain? Block-attach, from what I know, does not work with those types of domains, though the tool should return an error in my opinion.

Stefan