<cjwatson> I think you're going to see the same thing upstream
<cjwatson> The more generic _device_probe_geometry has explicit checks for 
getting non-zero sectors and heads back from HDIO_GETGEO
<cjwatson> and if it doesn't get them it uses defaults
<cjwatson> But fdasd_get_geometry doesn't have quite the same checks around its 
use of HDIO_GETGEO
<cjwatson> You ought to compare with the relevant kernel code, but my suspicion 
is that you don't get a sensible geometry back for an LV
<cjwatson> This is all inside dasd_probe, and an LV isn't really a DASD
<cjwatson> So one thing I'd try is making that situation be an error from 
fdasd_get_geometry and seeing if that behaves reasonably
<cjwatson> Something like http://paste.ubuntu.com/14868640/ maybe?
<cjwatson> Ew is that file really tabstop=4?  Anyway
<cjwatson> xnox: ^- suggestions above for you BTW

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1541510

Title:
  parted crashes on lvm, on a dasd drive

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/1541510/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to