Bug 441845 - gfs_grow can not grow if filesystem is specified by device rather than mount point
Summary: gfs_grow can not grow if filesystem is specified by device rather than mount ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: gfs-utils
Version: 5.1
Hardware: All
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Robert Peterson
QA Contact: GFS Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2008-04-10 14:57 UTC by Dean Jansa
Modified: 2010-01-12 03:34 UTC (History)
2 users (show)

Fixed In Version: RHEL5.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2008-05-20 18:51:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Dean Jansa 2008-04-10 14:57:06 UTC
Description of problem:
Attempts to grow a gfs filesyste by specifiing the device fails:

gfs_grow -v /dev/growfs/gfs1
GFS Filesystem /dev/growfs/gfs1 not found

/dev/growfs/gsf1 is mounted on /mnt/gfs1, using the mountpoint works.

The man page states:
  gfs_grow [OPTION]... <DEVICE|MOINTPOINT>...




Version-Release number of selected component (if applicable):

gfs-utils-0.1.12-1.el5_1.1

How reproducible:

Every time.

Steps to Reproduce:
1. gfs_grow <device>
2.
3.
  
Actual results:

Error message

Expected results:

FS grows

Additional info:

Comment 1 Robert Peterson 2008-04-15 22:23:20 UTC
This is fixed in the latest and greatest gfs_grow, most likely by virtue
of the code change I did for bug #337961.  So the next question becomes:
Is it important enough to back-port that fix to 5.1 or should I close
this as WONTFIX?

[root@roth-01 ../bob/cluster/gfs/gfs_grow]# /usr/sbin/lvresize -L +1G
/dev/roth_vg/roth_lv
  Extending logical volume roth_lv to 102.00 GB
  Logical volume roth_lv successfully resized
[root@roth-01 ../bob/cluster/gfs/gfs_grow]# gfs_grow /dev/roth_vg/roth_lv 
GFS Filesystem /dev/roth_vg/roth_lv not found
[root@roth-01 ../bob/cluster/gfs/gfs_grow]# ./gfs_grow /dev/roth_vg/roth_lv 
FS: Mount Point: /mnt/gfs
FS: Device: /dev/mapper/roth_vg-roth_lv
FS: Options: rw,hostdata=jid=0:id=327681:first=1
FS: Size: 26476544
DEV: Size: 26738688
Preparing to write new FS information...
Done.


Comment 3 Robert Peterson 2008-05-20 17:00:12 UTC
Adding Rob K to the cc list

Comment 4 Robert Peterson 2008-05-20 18:51:23 UTC
Closing as CURRENTRELEASE as per irc discussions with Dean and Rob.



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