From: Stefano E. <ste...@so...> - 2009-03-11 15:35:21
|
Hi Marc maybe I found a small error in the init script. The function clusterfs_mount_cdsl is called with 4 parameters: mountpoint cdsl_dir nodeid prefix="/cluster/cdsl" but, in this manner, build the directory: ...../cluster/cdsl/1/..... to mount on ...../cdsl.local/..... but the infrastructure created is of type: ...../cluster/cdsl/<nodename>/..... and no <nodeid>. In this way the procedure goes wrong. In the linuxrc.generic.sh I have changed as is called the function clusterfs_mount_cdsl and precisely call it with <nodename> instead of <nodeid>. In this mamanner the procedure goes well and the new root OCFS2 is mounted with GRUB on local server. I hope to be clear. Bye Ing. Stefano Elmopi Gruppo Darco - Area ICT Sistemi Via Ostiense 131/L Corpo B, 00154 Roma cell. 3466147165 tel. 0657060500 email:ste...@so... Il giorno 05/mar/09, alle ore 15:17, Stefano Elmopi ha scritto: > > Hi Marc, > > sorry but I would not have noticed that I wrote the phrase in Italian. > The meaning of the phrase was that I will do a test with the file > fstab correct > but then try to boot directly from the SAN! > > Thanks > > > > Ing. Stefano Elmopi > Gruppo Darco - Area ICT Sistemi > Via Ostiense 131/L Corpo B, 00154 Roma > > cell. 3466147165 > tel. 0657060500 > email:ste...@so... > > Il giorno 05/mar/09, alle ore 13:29, Marc Grimme ha scritto: > >> Hi Stefano, >> I would say your fstab should look as follows: >> >> #/dev/sda / ocfs2 defaults >> 0 0 >> #LABEL=/tmp /tmp ext3 defaults 1 2 >> #LABEL=/var /var ext3 defaults 1 2 >> #LABEL=/usr /usr ext3 defaults 1 2 >> #/dev/cciss/c0d0p1 /boot ext3 defaults 1 2 >> tmpfs /dev/shm tmpfs >> defaults 0 0 >> devpts /dev/pts devpts >> gid=5,mode=620 0 0 >> sysfs /sys sysfs >> defaults 0 0 >> proc /proc proc >> defaults 0 0 >> LABEL=SW-cciss/c0d0p2 swap swap >> defaults 0 0 >> >> On Thursday 05 March 2009 12:41:12 Stefano Elmopi wrote: >>> Hi Marc, >>> >>> the process goes forward and when it starts to load CentOS >>> I see some errors like that does not find the file /etc/fstab, >>> as if the reference to find the path for files were wrong ! >>> In the end arrive at the login screen but whatever I write, it tells >>> me that the login is wrong !! >>> >>> To clarify on my /etc/fstab, I must uncomment the line: >>> >>> #LABEL=/tmp /tmp ext3 defaults 1 2 >>> >>> Comunque, ho deciso che proverò a fare tutto il boot da SAN !!! >> ;-) >> You're saying everything is booting from a SAN right? >> >> But the line: >> /dev/cciss/c0d0p1 /boot ext3 defaults 1 2 >> tell's different. Doesn't it? >> >> But the fstab obove should work. >>> >>> Thanks >> >> -- >> Gruss / Regards, >> >> Marc Grimme >> http://www.atix.de/ http://www.open-sharedroot.org/ >> >> > |