[Linux-cluster] question about creating partitions and gfs

Jason jason at monsterjam.org
Wed May 10 00:23:12 UTC 2006


yes, both boxes are connected to the storage, its a dell powervault 220S
configured for cluster mode. 

[root at tf1 cluster]#  fdisk -l /dev/sdb

Disk /dev/sdb: 146.5 GB, 146548981760 bytes
255 heads, 63 sectors/track, 17816 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1      2433  19543041   83  Linux
[root at tf1 cluster]# 

[root at tf2 cluster]# fdisk -l /dev/sdb

Disk /dev/sdb: 146.5 GB, 146548981760 bytes
255 heads, 63 sectors/track, 17816 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

   Device Boot    Start       End    Blocks   Id  System
/dev/sdb1             1      2433  19543041   83  Linux
[root at tf2 cluster]# 


so both sides see the storage.  

on tf1, I can start ccsd fine, but on tf2, I cant, and I see
May  8 22:00:21 tf2 ccsd: Unable to open /dev/sdb1 (/dev/raw/raw64): No such device or address 
May  8 22:00:21 tf2 ccsd: startup failed
May  9 20:17:21 tf2 ccsd: Unable to open /dev/sdb1 (/dev/raw/raw64): No such device or address 
May  9 20:17:21 tf2 ccsd: startup failed
May  9 20:17:30 tf2 ccsd: Unable to open /dev/sdb1 (/dev/raw/raw64): No such device or address 
May  9 20:17:30 tf2 ccsd: startup failed
[root at tf2 cluster]# 

in the logs

Jason




On Tue, May 09, 2006 at 08:16:07AM -0400, Kovacs, Corey J. wrote:
> Jason, if IIRC, the dells internal disks show up as /dev/sd* devices. Do you
> have a shared storage device? If /dev/sdb1 is not a shared device, then I
> think
> you might need to take a step back and get a hold of a SAN of some type. If
> you 
> are just playing around, there are ways to get some firewire drives to accept
> 
> two hosts and act like a cheap shared devices. There are docs on the Oracle 
> site documenting the process of setting up the drive and the kernel. Note,
> that
> you'll only be able to use two nodes using the firewire idea.
> 
> Also, you should specify a partition for the command below. That partition
> can
> be very small. Something on the order of 10MB sounds right. Even that is
> probably
> way too big. Then use the rest for GFS storage pools.
> 
> 
> Corey
> 
> -----Original Message-----
> From: linux-cluster-bounces at redhat.com
> [mailto:linux-cluster-bounces at redhat.com] On Behalf Of Jason
> Sent: Monday, May 08, 2006 9:32 PM
> To: linux-cluster at redhat.com
> Subject: [Linux-cluster] question about creating partitions and gfs
> 
> so still following instructions at
> http://www.gyrate.org/archives/9
> im at the part that says
> 
> "# ccs_tool create /root/cluster /dev/iscsi/bus0/target0/lun0/part1"
> 
> in my config, I have the dell PERC 4/DC cards, and I believe the logical
> drive showed up as /dev/sdb 
> 
> so do I need to create a partition on this logical drive with fdisk first
> before I run
> 
>  ccs_tool create /root/cluster  /dev/sdb1
> 
> or am I totally off track here?
> 
> i did ccs_tool create /root/cluster /dev/sdb and it seemed to work fine, but
> doesnt seem right..
> 
> Jason
> 
> --
> 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

-- 
================================================
|    Jason Welsh   jason at monsterjam.org        |
| http://monsterjam.org    DSS PGP: 0x5E30CC98 |
|    gpg key: http://monsterjam.org/gpg/       |
================================================




More information about the Linux-cluster mailing list