coreos / torus

Torus Distributed Storage
https://coreos.com/blog/torus-distributed-storage-by-coreos.html
Apache License 2.0
1.77k stars 172 forks source link

mkfs for AoE volume doesn't work #384

Closed nak3 closed 7 years ago

nak3 commented 7 years ago

version

description

steps to reproduce

1. attach volume over AoE

$ sudo ./bin/torusblk aoe test lo 1 2

2. confirm the device is up.

# aoe-stat
      e1.2         1.073GB         lo 65024 up

NOTE: it sometimes(random) output kcime.

# aoe-stat
      e1.2         1.073GB         lo 65024 up,kickme     

3. run mkfs.ext4 and it hang

# mkfs.ext4 /dev/etherd/e1.2 
mke2fs 1.42.13 (17-May-2015)
^C^C

additional info

-> header args has ErrFeature:4. (=ATAErrAbort in upstream)

2016-11-06 14:19:35.393501 D | aoe: send 60 00:00:00:00:00:00 &{Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 125 14 20] Arg:0xc4202a4ed0}
2016-11-06 14:19:35.393552 D | aoe: send arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[]}
2016-11-06 14:19:35.393646 D | aoe: recv 60 00:00:00:00:00:00 {Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 124 14 4] Arg:0xc4202a4fc0}
2016-11-06 14:19:35.393724 D | aoe: recv arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]}
2016-11-06 14:19:35.393826 D | aoe: send 60 00:00:00:00:00:00 &{Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 124 14 4] Arg:0xc4202a5020}
2016-11-06 14:19:35.393876 D | aoe: send arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[]}
2016-11-06 14:19:35.396015 D | aoe: recv 60 00:00:00:00:00:00 {Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 123 13 246] Arg:0xc4202a5110}
2016-11-06 14:19:35.396357 D | aoe: recv arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]}
2016-11-06 14:19:35.396819 D | aoe: send 60 00:00:00:00:00:00 &{Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 123 13 246] Arg:0xc4202a5170}
2016-11-06 14:19:35.396962 D | aoe: send arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[]}
2016-11-06 14:19:35.397303 D | aoe: recv 60 00:00:00:00:00:00 {Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 122 13 234] Arg:0xc4202a5470}
2016-11-06 14:19:35.397453 D | aoe: recv arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]}
2016-11-06 14:19:35.397884 D | aoe: send 60 00:00:00:00:00:00 &{Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 122 13 234] Arg:0xc4202a5590}
2016-11-06 14:19:35.398038 D | aoe: send arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[]}
2016-11-06 14:19:35.398362 D | aoe: recv 60 00:00:00:00:00:00 {Version:1 FlagResponse:true FlagError:false Error:Error(0) Major:1 Minor:4 Command:CommandIssueATACommand Tag:[0 121 13 217] Arg:0xc4202a5650}
2016-11-06 14:19:35.398510 D | aoe: recv arg &{FlagLBA48Extended:false FlagATADeviceHeadRegister:false FlagAsynchronous:false FlagWrite:false ErrFeature:4 SectorCount:0 CmdStatus:1 LBA:[0 0 0 0 0 0] Data:[0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0]}