Mandar P Vengurlekar
2005-Jun-01 18:52 UTC
[Ocfs2-announce] Re: ocfs2 and configfs.ko..fixed...but gnuparted has issues....fixed gnuparted...but mount -t ocfs2 fails...
more messages in the other node of the cluster.../var/log/messages. =======Jun 1 19:05:59 linux2 kernel: cdrom: open failed. Jun 1 19:05:59 linux2 kernel: cdrom: open failed. Jun 1 19:09:35 linux2 kernel: OCFS2 Node Manager 0.99.10-BETA14 Tue May 31 23:34:42 EDT 2005 (build 82257c19fee200eff2ba31569613b46a) Jun 1 19:09:35 linux2 kernel: OCFS2 DLM 0.99.10-BETA14 Tue May 31 23:34:43 EDT 2005 (build 499a3fe287246f2c105501b67e8a146d) Jun 1 19:09:35 linux2 kernel: OCFS2 DLMFS 0.99.10-BETA14 Tue May 31 23:34:43 EDT 2005 (build 499a3fe287246f2c105501b67e8a146d) Jun 1 19:09:35 linux2 kernel: OCFS2 User DLM kernel interface loaded Jun 1 19:10:01 linux2 crond(pam_unix)[2590]: session opened for user root by (uid=0) Jun 1 19:10:01 linux2 crond(pam_unix)[2592]: session opened for user root by (uid=0) Jun 1 19:10:02 linux2 crond(pam_unix)[2590]: session closed for user root Jun 1 19:10:02 linux2 crond(pam_unix)[2592]: session closed for user root Jun 1 19:11:29 linux2 kernel: (2630,0):__dlm_print_nodes:390 Nodes in my domain ("7A05325EC81C4D16876A5F7476F9D7A0"): Jun 1 19:11:29 linux2 kernel: (2630,0):__dlm_print_nodes:396 node 1 Jun 1 19:15:01 linux2 crond(pam_unix)[2634]: session opened for user root by (uid=0) Jun 1 19:15:01 linux2 crond(pam_unix)[2634]: session closed for user root Jun 1 19:20:01 linux2 crond(pam_unix)[2636]: session opened for user root by (uid=0) Jun 1 19:20:01 linux2 crond(pam_unix)[2637]: session opened for user root by (uid=0) Jun 1 19:20:01 linux2 crond(pam_unix)[2636]: session closed for user root Jun 1 19:20:01 linux2 crond(pam_unix)[2637]: session closed for user root Jun 1 19:20:15 linux2 remote(pam_unix)[2642]: session opened for user root by (uid=0) Jun 1 19:20:15 linux2 -- root[2642]: ROOT LOGIN ON pts/4 FROM 192.168.1.1 Jun 1 19:20:36 linux2 su(pam_unix)[2694]: session opened for user ora10g by root(uid=0) Jun 1 19:20:46 linux2 su(pam_unix)[2694]: session closed for user ora10g Jun 1 19:21:01 linux2 gconfd (root-4108): Resolved address "xml:readwrite:/root/.gconf" to a writable configuration source at position 0 =======Regards, Mandar Vengurlekar ----- Original Message ----- From: "Mandar P Vengurlekar" <mandar.p.vengurlekar@gmail.com> To: "Bert Barbe" <bert.barbe@oracle.com>; <ocfs2-announce@oss.oracle.com> Sent: Wednesday, June 01, 2005 7:39 PM Subject: Re: [Ocfs2-announce] Re: ocfs2 and configfs.ko..fixed...but gnuparted has issues....fixed gnuparted...but mount -t ocfs2 fails...> Thank you for the response Bert. > I had created the partitions using fdisk and it had only errored saying > the device is in use. Partition table will be synced at next reboot. > I rebooted and fdisk -l showed me the partitions I had created. > after this ..... > I installed gnu part 1.6.22 and the partprobe did not give any errors. > > Now however...here is where I am stuck,... > ====> > # mkfs.ocfs2 -b 4096 -C 4k -L /ocfs2/oradata/r10g/orcl -N 2 /dev/sdb1 > mkfs.ocfs2 0.99.9-BETA10 > Overwriting existing ocfs2 partition. > Proceed (y/N): y > Filesystem label=/ocfs2/oradata/r10g/orcl > Block size=4096 (bits=12) > Cluster size=4096 (bits=12) > Volume size=1011675136 (246991 clusters) (246991 blocks) > Journal size=16777216 > 8 cluster groups (tail covers 21199 clusters, rest cover 32256 clusters) > Initial number of node slots: 2 > Creating bitmaps: done > Initializing superblock: done > Writing system files: done > Writing superblock: done > Writing lost+found: done > mkfs.ocfs2 successful > > # mount -t ocfs2 /dev/sdb1 /ocfs2/oradata/r10g/orcl > mount.ocfs2: No such device while mounting /dev/sdb1 on > /ocfs2/oradata/r10g/orcl > ====> > extract from /var/log/messages > =============> Jun 1 19:22:37 linux1 remote(pam_unix)[23600]: authentication failure; > logname= uid=0 euid=0 tty=pts/2 ruser= rhost=192.168.1.1 user=root > Jun 1 19:22:39 linux1 login[23600]: FAILED LOGIN 1 FROM 192.168.1.1 FOR > root, Authentication failure > Jun 1 19:22:41 linux1 remote(pam_unix)[23600]: session opened for user > root by (uid=0) > Jun 1 19:22:41 linux1 -- root[23600]: ROOT LOGIN ON pts/2 FROM > 192.168.1.1 > Jun 1 19:22:54 linux1 gconfd (root-3809): Resolved address > "xml:readwrite:/root/.gconf" to a writable configuration source at > position 0 > Jun 1 19:22:57 linux1 remote(pam_unix)[23600]: session closed for user > root > Jun 1 19:25:01 linux1 crond(pam_unix)[23736]: session opened for user > root by (uid=0) > Jun 1 19:25:01 linux1 crond(pam_unix)[23736]: session closed for user > root > Jun 1 19:26:47 linux1 kernel: program partprobe is using a deprecated > SCSI ioctl, please convert it to SG_IO > Jun 1 19:26:47 linux1 kernel: program partprobe is using a deprecated > SCSI ioctl, please convert it to SG_IO > Jun 1 19:26:47 linux1 kernel: cdrom: open failed. > Jun 1 19:26:47 linux1 kernel: cdrom: open failed. > Jun 1 19:28:10 linux1 kernel: program partprobe is using a deprecated > SCSI ioctl, please convert it to SG_IO > Jun 1 19:28:10 linux1 kernel: program partprobe is using a deprecated > SCSI ioctl, please convert it to SG_IO > Jun 1 19:28:10 linux1 kernel: cdrom: open failed. > Jun 1 19:28:10 linux1 kernel: cdrom: open failed. > Jun 1 19:29:44 linux1 kernel: (736,0):__dlm_print_nodes:390 Nodes in my > domain ("7A05325EC81C4D16876A5F7476F9D7A0"): > Jun 1 19:29:44 linux1 kernel: (736,0):__dlm_print_nodes:396 node 0 > Jun 1 19:30:01 linux1 crond(pam_unix)[741]: session opened for user root > by (uid=0) > Jun 1 19:30:01 linux1 crond(pam_unix)[743]: session opened for user root > by (uid=0) > Jun 1 19:30:01 linux1 crond(pam_unix)[743]: session closed for user root > Jun 1 19:30:01 linux1 crond(pam_unix)[741]: session closed for user root > Jun 1 19:31:48 linux1 kernel: (751,0):__dlm_print_nodes:390 Nodes in my > domain ("7A05325EC81C4D16876A5F7476F9D7A0"): > Jun 1 19:31:48 linux1 kernel: (751,0):__dlm_print_nodes:396 node 0 > Jun 1 19:35:01 linux1 crond(pam_unix)[772]: session opened for user root > by (uid=0) > Jun 1 19:35:02 linux1 crond(pam_unix)[772]: session closed for user root > ====> > ----- Original Message ----- > From: "Bert Barbe" <bert.barbe@oracle.com> > To: "Mandar P Vengurlekar" <mandar.p.vengurlekar@gmail.com> > Sent: Wednesday, June 01, 2005 1:01 PM > Subject: Re: [Ocfs2-announce] Re: ocfs2 and configfs.ko..fixed...but > gnuparted has issues.... > > >> On Wed, Jun 01, 2005 at 06:42:06AM -0400, Mandar P Vengurlekar wrote: >>> I was able to get the source code for ocfs2 and compile it. This worked >>> and created the necessary .ko files >>> >> Cool. >> >>> Now I have to figure out why gnu parted 1.6.15 has bugs. when I try a >>> partprobe on a partitioned firewire maxtor drive >>> mount -t ocfs2 /dev/sdb1 /u01/oradata/orcl >> >> Hmm, I don't have experience with parted/partprobe myself : I'm an >> oldfashioned fdisk user ;) Sometimes however fdisk tells me the kernel >> can't update the partition table (typically when the device >> is somehow still in use) and I have to reboot. Can you see >> your partitions after reboot ? >> >> Regards, >> Bert >>> >>> It says no such device.... >>> Any ideas anyone?... >>> >>> Regards, >>> Mandar Vengurlekar >>> ----- Original Message ----- >>> From: Mandar P Vengurlekar >>> To: ocfs2-announce@oss.oracle.com ; otnfeedback_us@oracle.com >>> Sent: Tuesday, May 31, 2005 9:09 PM >>> Subject: ocfs2 and configfs.ko >>> >>> >>> Hi >>> I am new to linux and clustering, but I am trying to setup ocfs2 and >>> rac10g on fedora 3 (Linux linux2 2.6.9-5.0.3.EL.orafw1smp #1 SMP Mon Mar >>> 7 22:29:31 PST 2005 i686 i686 i386 GNU/Linux) >>> have a dell 4700 and dell 3000 both with 1 GB RAM and a 250G maxtor >>> share drive...( build your own 10grac ..from technet.oracle.com) >>> ======================>>> # rpm -qa|grep -i ocfs2 >>> ocfs2-2.6.9-5.0.5.EL-0.99.9-1 >>> ocfs2-tools-0.99.8-1 >>> ocfs2console-0.99.8-1 >>> # rpm -qa|grep -i kernel >>> kernel-smp-devel-2.6.9-5.0.3.EL.orafw1 >>> kernel-2.6.11-1.27_FC3 >>> kernel-devel-2.6.9-5.0.3.EL.orafw1 >>> kernel-utils-2.4-13.1.49_FC3 >>> kernel-2.6.9-1.667 >>> kernel-doc-2.6.11-1.27_FC3 >>> kernel-smp-2.6.9-5.0.3.EL.orafw1 >>> >>> I installed the ocfs2 tools,console. However two things: >>> ======================>>> 1.when i ran ocfs2console as per the doc, it did not allow me to >>> configure any cluster definition. >>> no /etc/ocfs2/cluster.conf file existed. no /etc/ocfs2 existed. >>> >>> so i created the /etdc/ocfs2/cluster.conf file manually >>> # cat /etc/ocfs2/cluster.conf >>> cluster: >>> node_count = 2 >>> name = CLUSTER1 >>> >>> node: >>> ip_port = 7777 >>> ip_address = 192.168.2.10 >>> number = 0 >>> name = int-linux1 >>> cluster = CLUSTER1 >>> >>> node: >>> ip_port = 7777 >>> ip_address = 192.168.2.20 >>> number = 1 >>> name = int-linux2 >>> cluster = CLUSTER1 >>> >>> 2. the load for o2cb failed. >>> ==========================>>> # /etc/init.d/o2cb configure >>> Configuring the O2CB driver. >>> >>> This will configure the on-boot properties of the O2CB driver. >>> The following questions will determine whether the driver is loaded on >>> boot. The current values will be shown in brackets ('[]'). Hitting >>> <ENTER> without typing an answer will keep that current value. Ctrl-C >>> will abort. >>> >>> Load O2CB driver on boot (y/n) [y]: y >>> Cluster to start on boot (Enter "none" to clear) [MANDARCLUSTER]: >>> Writing O2CB configuration: OK >>> Loading module "configfs": Unable to load module "configfs" >>> Failed >>> # /etc/init.d/o2cb load >>> Loading module "configfs": Unable to load module "configfs" >>> Failed >>> # >>> =======================>>> messages in the /var/log/messages: >>> May 31 20:01:01 linux2 crond(pam_unix)[4637]: session closed for user >>> root >>> May 31 20:02:03 linux2 modprobe: FATAL: Module configfs not found. >>> May 31 20:04:00 linux2 last message repeated 2 times >>> May 31 20:04:39 linux2 modprobe: FATAL: Module configfs not found. >>> May 31 20:05:01 linux2 crond(pam_unix)[5016]: session opened for user >>> root by (uid=0) >>> May 31 20:05:02 linux2 crond(pam_unix)[5016]: session closed for user >>> root >>> May 31 20:07:10 linux2 init: Trying to re-exec init >>> May 31 20:10:01 linux2 crond(pam_unix)[9805]: session opened for user >>> root by (uid=0) >>> May 31 20:10:01 linux2 crond(pam_unix)[9804]: session opened for user >>> root by (uid=0) >>> May 31 20:10:01 linux2 crond(pam_unix)[9804]: session closed for user >>> root >>> May 31 20:10:02 linux2 crond(pam_unix)[9805]: session closed for user >>> root >>> May 31 20:10:10 linux2 modprobe: FATAL: Module configfs not found. >>> May 31 20:10:21 linux2 modprobe: FATAL: Module configfs not found. >>> ==================>>> location of configfs.ko >>> # cd / >>> # find . -name configfs* -print >>> ./lib/modules/2.6.9-5.0.5.EL/kernel/fs/configfs >>> ./lib/modules/2.6.9-5.0.5.EL/kernel/fs/configfs/configfs.ko >>> find: ./proc/9051/task: No such file or directory >>> ==================>---so i copied the configfs and ocfs2 directory to >>> /lib/modules/2.6.9-5.0.3.EL.orafw1smp/kernel/fs >>> #cd / >>> # ls -alR configfs >>> configfs: >>> total 412 >>> drwxr-xr-x 2 root root 4096 May 27 15:06 . >>> drwxr-xr-x 23 root root 4096 May 31 20:44 .. >>> -rw-r--r-- 1 root root 406287 May 19 21:32 configfs.ko >>> # pwd >>> /lib/modules/2.6.9-5.0.3.EL.orafw1smp/kernel/fs >>> # ls -alR ocfs2 >>> ocfs2: >>> total 5692 >>> drwxr-xr-x 2 root root 4096 May 27 15:06 . >>> drwxr-xr-x 23 root root 4096 May 31 20:44 .. >>> -rw-r--r-- 1 root root 318365 May 19 21:32 ocfs2_dlmfs.ko >>> -rw-r--r-- 1 root root 1429939 May 19 21:32 ocfs2_dlm.ko >>> -rw-r--r-- 1 root root 3424866 May 19 21:32 ocfs2.ko >>> -rw-r--r-- 1 root root 620469 May 19 21:32 ocfs2_nodemanager.ko >>> ===================>>> # vi modules.dep >>> # vi modules.alias >>> # vi modules.dep >>> # modprobe configfs >>> FATAL: Error inserting configfs >>> (/lib/modules/2.6.9-5.0.3.EL.orafw1smp/kernel/fs/configfs/configfs.ko): >>> Invalid module format >>> =====================>>> Is there a separate version of configfs.ko for >>> 2.6.9-5.0.3.EL.orafw1smp? >>> >>> Regards, >>> Mandar Vengurlekar >>> _______________________________________________ >>> Ocfs2-announce mailing list >>> Ocfs2-announce@oss.oracle.com >>> http://oss.oracle.com/mailman/listinfo/ocfs2-announce >> >
Sunil Mushran
2005-Jun-01 19:18 UTC
[Ocfs2-users] Re: [Ocfs2-announce] Re: ocfs2 and configfs.ko..fixed...but gnuparted has issues....fixed gnuparted...but mount -t ocfs2 fails...
How about enabling tracing before mounting as follows: echo "super on" > /proc/fs/ocfs2_nodemanager/log_mask echo "entry allow" >/proc/fs/ocfs2_nodemanager/log_mask echo "exit allow" >/proc/fs/ocfs2_nodemanager/log_mask mount -t ocfs2 /dev/..... echo "super off" > /proc/fs/ocfs2_nodemanager/log_mask echo "entry deny" >/proc/fs/ocfs2_nodemanager/log_mask echo "exit deny" >/proc/fs/ocfs2_nodemanager/log_mask email the dmesg output. Also, ocfs2-announce list is for announcements. ocfs2-users is for such issues. Mandar P Vengurlekar wrote:
Possibly Parallel Threads
- Re: ocfs2 and configfs.ko..fixed...but gnuparted has issues....fixed gnuparted...but mount -t ocfs2 fails...
- Re: ocfs2 and configfs.ko..fixed...but gnuparted has issues....
- Two Linux PC
- Validate Ids Multiple DC
- [LLVMdev] buildbot failure in LLVM on llvm-ppc64-linux1