[Linux-cluster] Can't create new GFS storage

Doug Sharp dsharp at ivytech.edu
Mon Jan 28 22:15:40 UTC 2008


Mike, I just finished creating a GFS1 filesystem on a SAN LUN.  Here is the process I used.  Maybe it will help:

0. Made sure cman, clvmd, gfs, and rgmanager services were running
1. # lvmdiskscan - make sure SAN LUN appears.  In my case it was sdb
2. # pvcreate /dev/sdb 
3. # vgcreate oravg /dev/sdb  
4. # lvcreate -L 16G -n oralv oravg  => creates /dev/oravg/oralv as a 16GB LUN
5. # gfs_mkfs -p lock_dlm -t tora-cluster:orat -j 4 /dev/oravg/oralv  => makes a gfs1 filesystem 
6. # mkdir /orat
7. # mount /dev/oravg/oralv /orat

HTH
Doug


-----Original Message-----
From: linux-cluster-bounces at redhat.com on behalf of isplist at logicore.net
Sent: Mon 1/28/2008 4:56 PM
To: linux-cluster
Subject: Re: [Linux-cluster] Can't create new GFS storage
 
I was able to create a small partition but had to do it via webmin? Still, 
something is not right.

#ps -aux
root      3758  0.2  5.6 31196 28944 ?       S    15:29   0:03 
/usr/libexec/webmin/fdisk/index.cgi
root      3771  0.0  0.2  3780 1164 ?        S    15:29   0:00 vgdisplay
root      3794  0.2  5.6 31200 28944 ?       S    15:33   0:03 
/usr/libexec/webmin/fdisk/index.cgi
root      3806  0.0  0.2  4360 1168 ?        S    15:33   0:00 vgdisplay
root      3807  0.2  5.0 28012 25784 ?       S    15:33   0:02 
/usr/libexec/webmin/lvm/index.cgi
root      3813  0.0  0.2  4428 1168 ?        S    15:33   0:00 vgdisplay
root      3816  0.3  5.6 31084 28948 ?       S    15:36   0:03 
/usr/libexec/webmin/fdisk/index.cgi
root      3828  0.0  0.2  3944 1164 ?        S    15:36   0:00 vgdisplay
root      3839  0.0  0.1  3624  792 pts/0    R+   15:54   0:00 ps -aux

In the log;

Jan 28 15:29:19 compdev kernel: SCSI device sda: 1512124416 512-byte hdwr 
sectors (774208 MB)
Jan 28 15:29:19 compdev kernel: SCSI device sda: drive cache: write back
Jan 28 15:29:19 compdev kernel:  sda: sda1
Jan 28 15:29:21 compdev kernel: SCSI device sda: 1512124416 512-byte hdwr 
sectors (774208 MB)
Jan 28 15:29:21 compdev kernel: SCSI device sda: drive cache: write back
Jan 28 15:29:21 compdev kernel:  sda: sda1





On Mon, 28 Jan 2008 15:25:08 -0600, isplist at logicore.net wrote:
> I've replaced some drives on a test chassis and am trying to set up GFS on
> one
> 
> of the blades. When I try to pvcreate, it just sits there and hangs.
> 
> I've tried rebooting the storage, rebooting the FC switch and the server. I
> can see the storage using fdisk -l but can't seem to do anything with it.
> 
> Any thoughts on what to try as I also don't see anything in the logs.
> 
> Mike
> 
> 
> --
> Linux-cluster mailing list
> Linux-cluster at redhat.com
> https://www.redhat.com/mailman/listinfo/linux-cluster




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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 3877 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/linux-cluster/attachments/20080128/cd338890/attachment.bin>


More information about the Linux-cluster mailing list