GFS2 - Simple script that seems to make GFS2 sad

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi -

I had experimented with GFS a few months back.  I'm interested in it,
but know that it isn't quite production worthy yet - at least not
quite for my needs.

Now that GFS2 is emerging, I thought I'd give it a quick try again
just to see how things were shaping up.

I've got a script that seems to make our installation sad...

Take this script

cat foo.pl

my $i=0;
my $max=shift(@ARGV);
my $d=shift(@ARGV);
if (not defined $d) {
   $d="";
}
foreach(my $i=0;$i<$max;$i++) {
   my $filename=sprintf("%s-%d%s",rand()*100000,$i,$d);
   open FOO, ">$filename";
   for (my $j=0;$j<1500;++$j) {
       print FOO "This is fun!!\n";
   }
   close FOO;
}

Assuming a mount at /gfs

Queue up a good chunk of these - each working their own directory...

cd /gfs
mkdir foo1
cd foo1
perl -w ~/foo.pl 10000000 A &
cd ..
mkdir foo2
cd foo2
perl -w ~/foo.pl 10000000 A &
cd ..
mkdir foo3
cd foo3
perl -w ~/foo.pl 10000000 A &
cd ..
mkdir foo4
cd foo4
perl -w ~/foo.pl 10000000 A &
cd ..
mkdir foo5
cd foo5
perl -w ~/foo.pl 10000000 A &

After a few minutes, the mount seems to disappear.

cd /gfs
-bash: cd: /gfs: Input/output error


It seems likely that I have something misconfigured...

-Eric

--
Linux-cluster mailing list
Linux-cluster@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux