Comment 3 for bug 1807459

Revision history for this message
Jeff Lane  (bladernr) wrote :

That's fair enough. In reality, I was a bit too general in the summary, when I said "disk" in relation to not touching them, what I meant was "usb or removable" disks, not onboard devices. I completely understand why we'd want to wipe onboard disks. And from your comments, it appears that this may actually be unintended behaviour in wiping my USB sticks.

Here's the log from the storage step of commissioning. Note sdc and sdd are the USB sticks and definitely appear on the USB bus. IN the MAAS storage tab on the machine page, however, they're being tagged as "rotary" and "removable", I thought there was a different tag for USB storage.

Additionally, this is currently at 2.4.2 (7034-g2f5deb8b8-0ubuntu1), this is a production machine so we're only using stable on this server. Commissioning is set to use 18.04 with no minimum kernel specified.

[

 {

  "NAME": "sda",

  "RO": "0",

  "RM": "0",

  "MODEL": "RAID 530-8i",

  "ROTA": "1",

  "MAJ:MIN": "8:0",

  "PATH": "/dev/sda",

  "DEVPATH": "/devices/pci0000:ae/0000:ae:00.0/0000:af:00.0/host2/target2:2:0/2:2:0:0/block/sda",

  "FIRMWARE_VERSION": "5.02",

  "SERIAL": "600605b00de01940239895626ec41d96",

  "ID_PATH": "/dev/disk/by-id/wwn-0x600605b00de01940239895626ec41d96",

  "SIZE": "597998698496",

  "BLOCK_SIZE": "4096"

 },

 {

  "NAME": "sdb",

  "RO": "0",

  "RM": "0",

  "MODEL": "LITEON CV3-8D128",

  "ROTA": "0",

  "MAJ:MIN": "8:16",

  "PATH": "/dev/sdb",

  "DEVPATH": "/devices/pci0000:00/0000:00:1c.6/0000:03:00.0/ata9/host11/target11:0:0/11:0:0:0/block/sdb",

  "RPM": "0",

  "SATA": "1",

  "FIRMWARE_VERSION": "T87RA33",

  "SERIAL": "SD0L20505L2TH741002W",

  "ID_PATH": "/dev/disk/by-id/ata-LITEON_CV3-8D128_00LF428_0L20505LEN_SD0L20505L2TH741002W",

  "SIZE": "128035676160",

  "BLOCK_SIZE": "4096"

 },

 {

  "NAME": "sdc",

  "RO": "0",

  "RM": "1",

  "MODEL": "USB Flash Drive",

  "ROTA": "1",

  "MAJ:MIN": "8:32",

  "PATH": "/dev/sdc",

  "DEVPATH": "/devices/pci0000:00/0000:00:14.0/usb2/2-9/2-9:1.0/host0/target0:0:0/0:0:0:0/block/sdc",

  "FIRMWARE_VERSION": "0.00",

  "SERIAL": "15109234401100DF",

  "ID_PATH": "/dev/disk/by-id/usb-ADATA_USB_Flash_Drive_15109234401100DF-0:0",

  "SIZE": "15536226304",

  "BLOCK_SIZE": "4096"

 },

 {

  "NAME": "sdd",

  "RO": "0",

  "RM": "1",

  "MODEL": "MKNUFDPR2GB",

  "ROTA": "1",

  "MAJ:MIN": "8:48",

  "PATH": "/dev/sdd",

  "DEVPATH": "/devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.0/host1/target1:0:0/1:0:0:0/block/sdd",

  "FIRMWARE_VERSION": "PMAP",

  "SERIAL": "07C104030AB7071F",

  "ID_PATH": "/dev/disk/by-id/usb-MUSHKIN_MKNUFDPR2GB_07C104030AB7071F-0:0",

  "SIZE": "2002780160",

  "BLOCK_SIZE": "4096"

 }

]