[yast-devel] Change to Storage Target Map
Hi, I would like to make a change to the storage target map. Currently hard disks used by dm multipath or dm raid can contain partitions in the target map. I want to remove those partitions entries in from the target map: So currently: "/dev/mapper/isw_cfcdifeiii_test" : $[ "devices" : [ "/dev/sdc", "/dev/sdd" ], "partitions" : [ $[ "detected_fs" : `ext3, "device" : "/dev/mapper/isw_cfcdifeiii_test_part1", "fsid" : 253, ... "/dev/sdc" : $[ "partitions" : [ $[ "detected_fs" : `ext3, "device" : "/dev/sdc1", "fsid" : 253, ... "used_by" : "isw_cfcdifeiii_test", "used_by_device" : "/dev/mapper/isw_cfcdifeiii_test", "used_by_type" : `UB_DMRAID, ... will become: "/dev/mapper/isw_cfcdifeiii_test" : $[ "devices" : [ "/dev/sdc", "/dev/sdd" ], "partitions" : [ $[ "detected_fs" : `ext3, "device" : "/dev/mapper/isw_cfcdifeiii_test_part1", "fsid" : 253, ... "/dev/sdc" : $[ "partitions" : [ // HERE IS THE DIFFERENCE ] ... "used_by" : "isw_cfcdifeiii_test", "used_by_device" : "/dev/mapper/isw_cfcdifeiii_test", "used_by_type" : `UB_DMRAID, The change shouldn't affect any code. Those partitions entries are unreliable and cannot be used anyway. If you see a problem please say so now. The motivation behind this is simple: In the future libstorage can be changed to not even probe partitions on hard disks used by dm multipath or dm raid. That probing has caused bugs in the past. Regards, Arvin -- Arvin Schnell, <aschnell@suse.de> Senior Software Engineer, Research & Development SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (1)
-
Arvin Schnell