Red Hat Bugzilla – Bug 441845
gfs_grow can not grow if filesystem is specified by device rather than mount point
Last modified: 2010-01-11 22:34:18 EST
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):
Steps to Reproduce:
1. gfs_grow <device>
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
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...
Adding Rob K to the cc list
Closing as CURRENTRELEASE as per irc discussions with Dean and Rob.