vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| Hello. That's my first cluster setup! Let me describe what i did! 1- Installed Fedora 4 on 3 partitions: /dev/hda2 - > /boot 150mb /dev/hda3 - > / 16.000mb /dev/hda5 - > LVM 10.000mb 2- Runned some commands after a search on the web. Seems i created a group called group1!. >pvcreate /dev/hda5 >vgcreate group1 /dev/hda5 >lvcreate -L1G -nmy_logical_volume group1 >vgchange -a y group1 Now, if i am right, i have to create the filesystem on this group, but all the commands now go wrong. Tried mkfs_gfs ..., mount -t gfs,... but everything goes wrong. Found on the net too, references about a file "/etc/cluster/cluster.conf" but this file does not exists on fedora. Even the directory /etc/cluster. What's up next? What do i have to do? Thanks. |
| |||
| In comp.os.linux.setup joealey2003@yahoo.com: > Hello. > That's my first cluster setup! Let me describe what i did! > 1- Installed Fedora 4 on 3 partitions: > /dev/hda2 - > /boot 150mb > /dev/hda3 - > / 16.000mb > /dev/hda5 - > LVM 10.000mb > 2- Runned some commands after a search on the web. Seems i created a > group called group1!. > >pvcreate /dev/hda5 > >vgcreate group1 /dev/hda5 > >lvcreate -L1G -nmy_logical_volume group1 > >vgchange -a y group1 > Now, if i am right, i have to create the filesystem on this group, but > all the commands now go wrong. Tried mkfs_gfs ..., mount -t gfs,... but > everything goes wrong. > Found on the net too, references about a file > "/etc/cluster/cluster.conf" but this file does not exists on fedora. > Even the directory /etc/cluster. > What's up next? What do i have to do? It would have really really helped if you had posted the exact error messages, even if they don't tell you much they would have told us lots about the problem. Random guess, you don't have the needed support for GFS in your kernel and need to install ~gfs-kernel package or however it's called. -- Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94) mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/' #bofh excuse 267: The UPS is on strike. |
| |||
| Ok. Thanks for your reply. Fedora 4 as i read on the web has complete support for gfs. I know too that it has a tool called lock_dlm that does the locking stuff. I didn't posted the messages cause i didn't know if i am on the right way...lol... So i have now to create the file system and the tool for that is gfs_mkfs? Let me describe some tries: >gfs_mkfs -p lock_dlm -t myclust -j 8 /dev/group1/my_logical_group locktable error: missing colon in the locktable >mount -t gfs /dev/group1/my_logical_group /mnt GFS: not a GFS filesystem mount: wrong fs type, bad option, bad superblock on /dev/group1/my_logical_volume |
| |||
| In comp.os.linux.setup joealey2003@yahoo.com: [ getting GFS working on FC4 ] > So i have now to create the file system and the tool for that is > gfs_mkfs? > Let me describe some tries: > >gfs_mkfs -p lock_dlm -t myclust -j 8 /dev/group1/my_logical_group > locktable error: missing colon in the locktable That doesn't appear to be the proper syntax, see 'man gfs_mkfs' "EXAMPLE". [..] BTW If you are replying from google groups do not use its default way which does not quote the text you are replying to. This makes it harder for people not using google groups to help you while at the same time annoying regulars on a daily basis. IIRC there is an option to show text and then you can use the reply button at the bottom. Please use that, thx. -- Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94) mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/' #bofh excuse 297: Too many interrupts |
| |||
| [ getting GFS working on FC4 ] > So i have now to create the file system and the tool for that is > gfs_mkfs? > Let me describe some tries: > >gfs_mkfs -p lock_dlm -t myclust -j 8 /dev/group1/my_logical_group > locktable error: missing colon in the locktable That doesn't appear to be the proper syntax, see 'man gfs_mkfs' "EXAMPLE". Ok. I tried now the example and got success! Here goes the command: >gfs_mkfs -t mycluster:mygfs -p lock_dlm -j 1 dev/group1/my_logical_volume Device: /dev/group1/my_logical_volume Blocksize: 4096 Filesystem Size: 229332 Journals: 1 Resource Groups: 8 Locking Protocol: lock_dlm Lock Table: mycluster:mygfs Syncing.... All Done Now, let me ask: Why the filesystem size is not 10.000mb as the partition was? What is this journals? How many of then i have to use? Resource Groups is the max number of computers i can have in a group? After the success command, i tried to mount and then got error. Please, look: >mount /dev/group1/my_logical_group /mnt -t gfs GFS: Trying to join cluster "lock_dlm", "mycluster:mygfs" lock_dlm: cannot get cman reference -107 lock_dlm: init_cluster error -107 GFS: can't mount proto = lock_dlm, table = mycluster:mygfs, hostdata = mount: Transport endpoint is not connected |
| ||||
| In comp.os.linux.setup joealey2003@yahoo.com: > [ getting GFS working on FC4 ] >> So i have now to create the file system and the tool for that is >> gfs_mkfs? >> Let me describe some tries: >> >gfs_mkfs -p lock_dlm -t myclust -j 8 /dev/group1/my_logical_group >> locktable error: missing colon in the locktable > That doesn't appear to be the proper syntax, see 'man gfs_mkfs' > "EXAMPLE". > Ok. I tried now the example and got success! Here goes the command: [ more gfs questions ] > After the success command, i tried to mount and then got error. > Please, look: > >mount /dev/group1/my_logical_group /mnt -t gfs > GFS: Trying to join cluster "lock_dlm", "mycluster:mygfs" > lock_dlm: cannot get cman reference -107 > lock_dlm: init_cluster error -107 > GFS: can't mount proto = lock_dlm, table = mycluster:mygfs, hostdata = > mount: Transport endpoint is not connected Now let me answer, try the docu first: http://www.redhat.com/docs/manuals/csgfs/ "Red Hat GFS 6.1 Administrator's Guide" should answer your question and hopefully enable you to get things working. Good luck BTW Doesn't seemed to have worked with quoting, but thy for trying anyway. -- Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94) mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/' #bofh excuse 257: That would be because the software doesn't work. |
| Thread Tools | |
| Display Modes | |
|
|