Bug 555057
Summary: | [RFE] Add support for floating point numbers for newsize in fsadm | ||
---|---|---|---|
Product: | [Community] LVM and device-mapper | Reporter: | Gabriel <jarod125> |
Component: | lvm2 | Assignee: | LVM Team <lvm-team> |
lvm2 sub component: | Command-line tools | QA Contact: | cluster-qe <cluster-qe> |
Status: | NEW --- | Docs Contact: | |
Severity: | low | ||
Priority: | low | CC: | agk, bmarzins, bmr, dwysocha, heinzm, jbrassow, jonathan, lvm-team, msnitzer, prajnoha, thornber, zkabelac |
Version: | 2.02.169 | Flags: | rule-engine:
lvm-technical-solution?
rule-engine: lvm-test-coverage? |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 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
Gabriel
2010-01-13 14:45:00 UTC
So several problems to deal with here: 1) integer arithmetic (use 'bc' instead perhaps?) 2) misbehaving -n 3) missing -l from man page 4) according to -h and man page, new_size is optional Any more? I also noticed the need to run "e2fsck -f" before resizing the filesystem. I am unsure why this is necessary. When I do this manually, I just lvextend and then resize2fs (since ext3 supports this). (In reply to comment #1) > So several problems to deal with here: > > 1) integer arithmetic (use 'bc' instead perhaps?) Yes - I've been already thinking about this - except it is introducing dependency on somewhat 'unrelated' bc packages. But many bash users are using 'bc' to handle float arithmetic. Do we want to add this dependency to lvm package ? This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle. Changing version to '13'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping Original subject of this bugzilla should be fixed with upstream commits to fsadm (--dry-run functionality) https://www.redhat.com/archives/lvm-devel/2010-October/msg00035.html And should be fixed within lvm2 packages >= 2.02.75 However we still do not support floating numbers through fsadm - so keeping this bugzilla still open. Renamed bugzilla to reflect actual problem of fsadm.(In reply to comment #1) > So several problems to deal with here: > > 1) integer arithmetic (use 'bc' instead perhaps?) > 2) misbehaving -n > 3) missing -l from man page > 4) according to -h and man page, new_size is optional > > Any more? As we have fixed upstream 2),3),4) - renamed bugzilla to reflect remaing problem 1) This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle. Changing version to '19'. (As we did not run this process for some time, it could affect also pre-Fedora 19 development cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.) More information and reason for this action is here: https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19 |