$ sudo parted /dev/mapper/new-lvol0
GNU Parted 3.2
Using /dev/mapper/new-lvol0
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
BUG: trk is zero in vtoc_set_freespace call
BUG: trk is zero in vtoc_set_freespace call
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/new-lvol0: 2097MB
Sector size (logical/physical): 4096B/4096B
Partition Table: dasd
Disk Flags:
Number Start End Size File system Flags
with my patch to avoid SIGFPE in said call. However, I think something more sensible should be done there instead.
$ sudo parted /dev/mapper/ new-lvol0 new-lvol0 new-lvol0: 2097MB
GNU Parted 3.2
Using /dev/mapper/
Welcome to GNU Parted! Type 'help' to view a list of commands.
(parted) print
BUG: trk is zero in vtoc_set_freespace call
BUG: trk is zero in vtoc_set_freespace call
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/
Sector size (logical/physical): 4096B/4096B
Partition Table: dasd
Disk Flags:
Number Start End Size File system Flags
with my patch to avoid SIGFPE in said call. However, I think something more sensible should be done there instead.