Bug 483085

Summary: dosfslabel fails to read/write label on device-mapper device
Product: [Fedora] Fedora Reporter: Stepan Kasal <kasal>
Component: dosfstoolsAssignee: Stepan Kasal <kasal>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: kasal, lvm-team
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 249067 Environment:
Last Closed: 2009-01-29 17:29:02 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stepan Kasal 2009-01-29 17:00:51 UTC
+++ This bug was initially created as a clone of Bug #249067 +++
Description of problem:
  dosfslabel fails to read/write label on device-mapper device

How reproducible:
  Always

Steps to Reproduce:
  1. Create DM device (multipath, dmraid, etc.)
  2. Execute dosfslabel to write a label on it

Actual results:
  # dosfslabel /dev/mapper/200301384044c0009p1 a
  Invalid disk format in boot sector.
  # dosfslabel /dev/mapper/200301384044c0009p1 
  Invalid disk format in boot sector.

Expected results:
  # dosfslabel /dev/mapper/200301384044c0009p1 a
  # dosfslabel /dev/mapper/200301384044c0009p1 
  a          
---

I was able to reproduce the bug on current rawhide with the shell script:
Created an attachment (id=159672) reproducer shell script

Comment 1 Stepan Kasal 2009-01-29 17:29:02 UTC
The bug is no longer present in dosfstools-3.0.1-1 (the previous reproduction was with dosfstools 2.11).