Bug 1908271 - [RFE] fsadm allows mountpoint argument
Summary: [RFE] fsadm allows mountpoint argument
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: lvm2
Version: 8.4
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: 8.0
Assignee: Zdenek Kabelac
QA Contact: cluster-qe@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-12-16 09:47 UTC by Roman Bednář
Modified: 2022-06-16 07:28 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-06-16 07:28:39 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Roman Bednář 2020-12-16 09:47:44 UTC
While looking at BZ1905705 I noticed that fsadm does not complain about having mountpoint as an argument. We could either add the capability so fsadm can handle mounpoints or just print error message instead so it's not "hidden" from the user that something is wrong. 

Currently fsadm only accepts device paths but when given a mountpoint the output is silent but return code is 1.


# df -h | grep raid1lv
/dev/mapper/vg-raid1lv            10G  104M  9.9G   2% /mnt/test

# fsadm resize /mnt/test

# echo $?
1 


lvm2-2.03.11-0.3.20201210git9fe7aba.el8.x86_64

Comment 4 RHEL Program Management 2022-06-16 07:28:39 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.


Note You need to log in before you can comment on or make changes to this bug.