[Linux-cluster] some questions about setting up GFS
serge at triumvirat.ru
Tue Jan 11 08:34:24 UTC 2005
We bought HP ProLiant DL380 G4 Packaged Cluster-MSA500 G2 server and
after installation of RHEL3 and GFS-6.0.0-15 I have some questions.
Because I have no expirience in setting up such systems, please, tell
me, which mistakes in configuration I made.
Now system is configured this way:
/dev/cciss/c0d1 - External Logical Volume, 293.6 Gbytes (RAID 5)
[root at hp1 root]# fdisk /dev/cciss/c0d1
Command (m for help): p
Disk /dev/cciss/c0d1: 293.6 GB, 293626045440 bytes
255 heads, 63 sectors/track, 35698 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/cciss/c0d1p1 1 9 72261 fd Linux raid autodetect
/dev/cciss/c0d1p2 10 35698 286671892+ fd Linux raid autodetect
I've found nothing in GFS documentation about partitioning hard drive
during setting up GFS. So, I used to experiment.
First partition is allocated for <- CCA device ->. I'd like to know if
there is enough space and right type of partition, and, at all, is it
right way to allocate <- CCA device ->.
Second partition was formatted as GFS, so the question is: is selected
type of partition right or not?
[root at hp1 root]# cat pool0.cfg
minor 0 subpools 2
subpool 0 0 1 gfs_journal
pooldevice 0 0 /dev/cciss/c0d1p1
subpool 1 0 1 gfs_data
pooldevice 1 0 /dev/cciss/c0d1p2
Actually, I don't know why, but first subpool I've made as gfs_journal :-)
Basically, the system works, but something may be wrong.
During setting up I've made this command:
[root at hp1 root]# ccs_tool create /root/cluster/ /dev/cciss/c0d1p1
[root at hp1 root]# pool_tool -s
Device Pool Label
/dev/cciss/c0d0 <- partition information ->
/dev/cciss/c0d0p1 <- EXT2/3 filesystem ->
/dev/cciss/c0d0p2 <- swap device ->
/dev/cciss/c0d0p3 <- EXT2/3 filesystem ->
/dev/cciss/c0d1 <- partition information ->
/dev/cciss/c0d1p1 <- CCA device ->
/dev/cciss/c0d1p2 <- GFS filesystem ->
I'd like to hear some comments on it.
More information about the Linux-cluster