Roger Tsang wrote:
>
> On Fri, May 8, 2009 at 4:32 PM, CooLCaT@Vienna <co...@co...> wrote:
>
>>
>>
>>
>> CooLCaT@Vienna wrote:
>> >
>> >
>> > i am trying following apporoach:
>> >
>> > the root file system resides on a nfs share. every node has a harddisk
>> > with only the boot partition on it. we want to achieve, that every
>> slave
>> > node can become master node so that all nodes must die before cluster
>> gets
>> > offline.
>> >
>> > any better ideas somebody?
>> >
>> > regards
>> >
>> > cc
>> >
>> >
>>
>> ok
>>
>> after reading this:
>>
>> *** NOTE: NFS client is not yet supported in the new OpenSSI 2.6 kernel
>> ***
>>
>> i guess i have to do something else:
>>
>> actually we want that every slave node has the ability to get a master
>> node.
>> as far as i know drbd can only mirror two nodes.
>>
>> my approach was, that simply change the root file system to a nfs share
>> and
>> leave the boot
>> partition on the local machine, but it seems that this isnt working as
>> expected.
>
>
> You already tried? What problems did you encounter? It is not yet
> supported only because we haven't looked at fixing parallel NFS. There is
> only one bug report in our Sourceforge tracker and there doesn't seem to
> be
> much demand for the fix (until recently).
>
> i always thought that when i use drbd, that if the master node goes down,
>> the next potential node mounts the filesystem and takes over.
>>
>> did i missunderstood?
>
>
> You were talking about CFS?
>
> -Roger
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
> i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Ssic-linux-users mailing list
> Ssi...@li...
> https://lists.sourceforge.net/lists/listinfo/ssic-linux-users
>
>
hi all!
what have i done:
i added nfs to /etc/mkinitrd/modules
rebuild initrd with:
$ modprobe loop
$ mkinitrd -o /boot/initrd.img-2.6.10-ssi-686-smp 2.6.10-ssi-686-sm
$ mkinitrd -o /boot/initrd.img-2.6.10-ssi-686-smp
/lib/modules/2.6.10-ssi-686-smp/
$ mkinitrd -k -o /boot/initrd.img-2.6.10-ssi-686-smp 2.6.10-ssi-686-smp
$ ssi-ksync
added to grub menu.lst:
title Debian SSI mit NFS support
root (hd0,0)
kernel /vmlinuz-2.6.12-ssi-686-smp root=/dev/nfs rw
nfsroot=10.0.0.254:/mnt/cluster/cluster/system ip=10.0.0.1
initrd /initrd.img-2.6.12-ssi-686-smp
savedefault
then i booted with knoopix and copied the whole /dev/sda5 partition which is
regulary mounted on / to the nfs share
when rebooting with nfs, the system stops with:
mount: special device /initrd/proc does not exist
mount: mount point sys does not exist
Unmounting /sys
/sbin/init: 655: /initrd/sbin/doumount: not found
Unmounting /proc
/sbin/init: 655: /initrd/sbin/doumount: not found
Starting init
exec: 655: /initrd/usr/sbin/chroot: not found
i also dont see any mount request on the nfs server
on the nfs share i changed in fstab
10.0.0.254:/mnt/cluster/cluster/system / nfs
rsize=8192,wsize=8192,timeo=14,intr,node=* 0 0
one other problem i ran into
when i try to mount the nfs share booted from the local harddisk
in fstab is:
10.0.0.254:/mnt/cluster/cluster/system /mnt/nas nfs
rsize=8192,wsize=8192,timeo=14,intr,node=1 0 0
node1:~# mount -a
mount: wrong fs type, bad option, bad superblock on
10.0.0.254:/mnt/cluster/cluster/system,
missing codepage or helper program, or other error
(for several filesystems (e.g. nfs, cifs) you might
need a /sbin/mount.<type> helper program)
In some cases useful info is found in syslog - try
dmesg | tail or so
dmesg|tail brings
nfs warning: mount version newer than kernel
NFS: mount program didn't pass remote address!
i read a while ago, that someday drbd will support more than two nodes.
maybe i will have to wait until that day :(
we just simply want, that e.g. /dev/sda2 which is the / filesystem resides
on a nfs share.
so that we have more than two nodes that can become master node.
one other thing, which we havent tried yet. the master node and all slave
nodes have two nics. one for external access and one for the cluster. what
happens if the main node goes down? is the external interface on the new
master then fired up with the same external address or is the cluster then
offline for external access?
regards
cc
--
View this message in context: http://www.nabble.com/How-do-I-make-every-node-have-direct-access-to-the-file-system--tp23123954p23459380.html
Sent from the ssic-linux-users mailing list archive at Nabble.com.
|