[WBEL-users] Red Hat GFS

Nick Bright nick-tech@terraworld.net
Wed, 28 Jul 2004 13:53:40 -0500


On Wed, 2004-07-28 at 13:06, Raul pitti wrote:
> Nick Bright wrote:
> > Hi,
> > 
> >  I downloaded and installed your GFS packages on my WBEL system w/
> > 2.4.21-15.0.3.ELsmp kernel. I installed the following packages:
> > 
> > GFS-6.0.0-1.2.i686.rpm
> > GFS-devel-6.0.0-1.2.i686.rpm
> > GFS-modules-6.0.0-1.2.i686.rpm
> > rh-gfs-en-6.0-4.noarch.rpm
> > perl-Net-Telnet-3.03-2.noarch.rpm
> > 
> > I used the i686 versions since I am on P4 Xeon arch.
> > 
> > I was able to successfully create a GFS filesystem on my SAN (via
> > qlogicfc module) but when I try to mount with this command:
> > 
> > mount -t gfs /dev/sdc /mnt/san
> > 
> > I recieve an error:
> > 
> > mount: fs type gfs not supported by kernel
> > 
> > Is there something else I need to do/install? Or did I do something
> > wrong? I did reboot after installing the RPM's in case there was some
> > kind of init daemon that had to start (there is a "gfs" script in
> > /etc/init.d). Also, would having installed the GFS-devel RPM cause a
> > problem? I wouldn't think so. I installed it in case there was some kind
> > of dependancy somewhere to satisfy.
> > 
> > Thanks in advance for any advice or help.
> > 
> have you try to run
>   modprobe <module_name>
> for the filesystem module needed for gfs?
> I do not know the name of the module, maybe a search on what was 
> installed by GFS-modules-6.0.0.0-1.2.i686.rpm  may provide you with the 
> module name.
> 
> REgards!
> RP

On your suggestion, I modprobed "gfs" and it installed a module, but I'm
receiving this error (which I've been getting for awhile, since right
after I sent the mail above):

 mount -t gfs /dev/sdc1 /mnt/san -o hostdata=mycluster:mygfs
mount: wrong fs type, bad option, bad superblock on /dev/sdc1,
       or too many mounted file systems

I created the GFS filesystem as such:

gfs_mkfs -t mycluster:mygfs -j 2 /dev/sdc1

As directed by the example in the man page for gfs_mkfs.

-- 
- Nick Bright
  Terraworld, Inc
  http://home.terraworld.net | 888-332-1616