Drives mistakenly reported as removable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
curtin |
Fix Released
|
Medium
|
Unassigned | ||
curtin (Ubuntu) |
Fix Released
|
Medium
|
Unassigned |
Bug Description
I have multiple servers which report their drives are removable, even though the drives are the main drives in the device (/dev/sda, /dev/sdb, etc). One of such machines (an IBM system x3650 M1) I have pulled a report from lsblk and lshw below and included them. These are configured using the RAID controller that came with the machine. I can provide any other information needed. I am seeing the same on a HP proliant DL100 g2. In this case the removable tag is triggering a problem with curtin since curtin currently refuses to install to drives reported as removable by lsblk.
output of: lsblk -l
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 1 100G 0 disk
sda1 8:1 1 100G 0 part /
sdb 8:16 1 173.2G 0 disk
sdb1 8:17 1 172.2G 0 part /var/lib/
sdb2 8:18 1 1023M 0 part
sr0 11:0 1 1024M 0 rom
output of: sudo lshw -class disk
*-disk:0
description: SCSI Disk
physical id: 0.0.0
bus info: scsi@2:0.0.0
logical name: /dev/sda
size: 99GiB (107GB)
*-disk:1
description: SCSI Disk
physical id: 0.1.0
bus info: scsi@2:0.1.0
logical name: /dev/sdb
size: 173GiB (186GB)
*-disk:2 UNCLAIMED
description: SCSI Disk
physical id: 1.0.0
bus info: scsi@2:1.0.0
*-disk:3 UNCLAIMED
description: SCSI Disk
physical id: 1.1.0
bus info: scsi@2:1.1.0
*-cdrom
description: DVD reader
product: UJDA780 DVD/CDRW
vendor: MATSHITA
physical id: 0.0.0
bus info: scsi@1:0.0.0
logical name: /dev/cdrom
logical name: /dev/sr0
version: CA21
Related branches
- Robert Clark (community): Approve
-
Diff: 22 lines (+12/-0)1 file modifiedcurtin/commands/block_meta.py (+12/-0)
Changed in curtin: | |
importance: | Undecided → Medium |
Changed in curtin (Ubuntu): | |
importance: | Undecided → Medium |
Changed in curtin: | |
status: | Confirmed → Fix Committed |
Just a note, 'RM' is what curtin is reading as 'removable'. linoxide. com/linux- command/ linux-lsblk- command/ indicates that RM means removable.
Not that this is definitive, but http://