Specs: Oracle 9.2.0.4 OS is Redhat AS2.1 ocfs-2.4.9-e-summit-1.0.12-1 ocfs-tools-1.0.10-1 ocfs-support-1.0.10-1 ocfs-2.4.9-e-enterprise-1.0.12-1 Shared Storage: Dell/EMC CX600 naviagentcli-6.19.0.4.14-1.noarch.rpm PowerPath 4.4 My system was originally installed by Dell. Since then I've upgraded the OCFS and a few other pkgs. But ever since the beginning the ocfs drives mounted on boot. Recently(in the past 6+ months) I've added some new ocfs drives I can mount them through a 'mount -t ocfs /dev/.... /...' command or the ocfstool They all have the same permissions and ownership as the original drives. But they never mount on boot. [I don't reboot very often, about 1 every 1.5yrs or so, for HW changes and alike] But regardless, I'd rather automate the mounting process for these drives. [I don't want to use a boot script] The /etc/fstab does not show any ocfs drives The /etc/mtab shows the original ocfs drives I've tried editing the mtab to include the new drives, but it doesn't mount the drives and they're not listed in mtab post reboot. Any help much appreciated Thanks in advance clarke ||||||||||||||||||||||||||| P. Clarke Thomas SysAdmin Houghton International http://www.houghtonintl.com ``````````````````````````` With sufficient thrust, pigs fly just fine. - RFC 1925
You will have to make the following entry for each device in /etc/fstab. /dev/sdX /dir ocfs _netdev 0 0 Note each string is separated by TABS. ocfs wrote:>Specs: >Oracle 9.2.0.4 >OS is Redhat AS2.1 >ocfs-2.4.9-e-summit-1.0.12-1 >ocfs-tools-1.0.10-1 >ocfs-support-1.0.10-1 >ocfs-2.4.9-e-enterprise-1.0.12-1 >Shared Storage: >Dell/EMC CX600 >naviagentcli-6.19.0.4.14-1.noarch.rpm >PowerPath 4.4 > >My system was originally installed by Dell. >Since then I've upgraded the OCFS and a few other pkgs. >But ever since the beginning the ocfs drives mounted on boot. >Recently(in the past 6+ months) I've added some new ocfs drives >I can mount them through a 'mount -t ocfs /dev/.... /...' command or the >ocfstool >They all have the same permissions and ownership as the original drives. > >But they never mount on boot. [I don't reboot very often, about 1 every >1.5yrs or so, for HW changes and alike] >But regardless, I'd rather automate the mounting process for these >drives. [I don't want to use a boot script] > >The /etc/fstab does not show any ocfs drives >The /etc/mtab shows the original ocfs drives >I've tried editing the mtab to include the new drives, but it doesn't >mount the drives and they're not listed in mtab post reboot. > >Any help much appreciated > >Thanks in advance >clarke > > >||||||||||||||||||||||||||| >P. Clarke Thomas >SysAdmin >Houghton International >http://www.houghtonintl.com >``````````````````````````` >With sufficient thrust, pigs fly just fine. - RFC 1925 >_______________________________________________ >Ocfs-users mailing list >Ocfs-users@oss.oracle.com >http://oss.oracle.com/mailman/listinfo/ocfs-users > >
Here are what my mount/fstab/mtab currently show. How are the first 8 drives being mounted if it's not listed? Even if I spec' the uid/gid for the new drives, they don't mount with them. Ignore the naming of u011, it's a scratch drive. Mount: /dev/sda2 on / type ext3 (rw) none on /proc type proc (rw) usbdevfs on /proc/bus/usb type usbdevfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) /dev/sda10 on /home type ext3 (rw) /dev/sda3 on /opt/oracle type ext3 (rw) none on /dev/shm type tmpfs (rw) /dev/sda9 on /tmp type ext3 (rw) /dev/sda5 on /var type ext3 (rw) /dev/emcpowera1 on /u01 type ocfs (rw,uid=200,gid=300) /dev/emcpowerg1 on /u02 type ocfs (rw,uid=200,gid=300) /dev/emcpowerh1 on /u03 type ocfs (rw,uid=200,gid=300) /dev/emcpowerd1 on /u04 type ocfs (rw,uid=200,gid=300) /dev/emcpowerj1 on /u05 type ocfs (rw,uid=200,gid=300) /dev/emcpowere1 on /u06 type ocfs (rw,uid=200,gid=300) /dev/emcpowerf1 on /u07 type ocfs (rw,uid=200,gid=300) /dev/emcpoweri1 on /u08 type ocfs (rw,uid=200,gid=300) /dev/emcpowerl1 on /u10 type ocfs (rw) /dev/emcpowerm1 on /u011 type ocfs (rw) /dev/emcpowerk1 on /u09 type ext2 (rw) Fstab: LABEL=/ / ext3 defaults 1 1 none /dev/pts devpts gid=5,mode=620 0 0 LABEL=/home /home ext3 defaults 1 2 LABEL=/opt/oracle /opt/oracle ext3 defaults 1 2 none /proc proc defaults 0 0 none /dev/shm tmpfs defaults 0 0 LABEL=/tmp /tmp ext3 defaults 1 2 LABEL=/var /var ext3 defaults 1 2 /dev/sda7 swap swap defaults 0 0 /dev/sda8 swap swap defaults 0 0 /dev/sda6 swap swap defaults 0 0 /dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0 /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0 Mtab: /dev/sda2 / ext3 rw 0 0 none /proc proc rw 0 0 usbdevfs /proc/bus/usb usbdevfs rw 0 0 none /dev/pts devpts rw,gid=5,mode=620 0 0 /dev/sda10 /home ext3 rw 0 0 /dev/sda3 /opt/oracle ext3 rw 0 0 none /dev/shm tmpfs rw 0 0 /dev/sda9 /tmp ext3 rw 0 0 /dev/sda5 /var ext3 rw 0 0 /dev/emcpowera1 /u01 ocfs rw,uid=200,gid=300 0 0 /dev/emcpowerg1 /u02 ocfs rw,uid=200,gid=300 0 0 /dev/emcpowerh1 /u03 ocfs rw,uid=200,gid=300 0 0 /dev/emcpowerd1 /u04 ocfs rw,uid=200,gid=300 0 0 /dev/emcpowerj1 /u05 ocfs rw,uid=200,gid=300 0 0 /dev/emcpowere1 /u06 ocfs rw,uid=200,gid=300 0 0 /dev/emcpowerf1 /u07 ocfs rw,uid=200,gid=300 0 0 /dev/emcpoweri1 /u08 ocfs rw,uid=200,gid=300 0 0 /dev/emcpowerl1 /u10 ocfs rw 0 0 /dev/emcpowerm1 /u011 ocfs rw 0 0 /dev/emcpowerk1 /u09 ext2 rw 0 0 -----Original Message----- From: Sunil Mushran [mailto:Sunil.Mushran@oracle.com] Posted At: Tuesday, 23 August, 2005 20.47 Posted To: ocfs Conversation: [Ocfs-users] Not mounting on boot Subject: Re: [Ocfs-users] Not mounting on boot You will have to make the following entry for each device in /etc/fstab. /dev/sdX /dir ocfs _netdev 0 0 Note each string is separated by TABS. ocfs wrote:>Specs: >Oracle 9.2.0.4 >OS is Redhat AS2.1 >ocfs-2.4.9-e-summit-1.0.12-1 >ocfs-tools-1.0.10-1 >ocfs-support-1.0.10-1 >ocfs-2.4.9-e-enterprise-1.0.12-1 >Shared Storage: >Dell/EMC CX600 >naviagentcli-6.19.0.4.14-1.noarch.rpm >PowerPath 4.4 > >My system was originally installed by Dell. >Since then I've upgraded the OCFS and a few other pkgs. >But ever since the beginning the ocfs drives mounted on boot. >Recently(in the past 6+ months) I've added some new ocfs drives >I can mount them through a 'mount -t ocfs /dev/.... /...' command orthe>ocfstool >They all have the same permissions and ownership as the originaldrives.> >But they never mount on boot. [I don't reboot very often, about 1 every >1.5yrs or so, for HW changes and alike] >But regardless, I'd rather automate the mounting process for these >drives. [I don't want to use a boot script] > >The /etc/fstab does not show any ocfs drives >The /etc/mtab shows the original ocfs drives >I've tried editing the mtab to include the new drives, but it doesn't >mount the drives and they're not listed in mtab post reboot. > >Any help much appreciated > >Thanks in advance >clarke > > >||||||||||||||||||||||||||| >P. Clarke Thomas >SysAdmin >Houghton International >http://www.houghtonintl.com >``````````````````````````` >With sufficient thrust, pigs fly just fine. - RFC 1925 >_______________________________________________ >Ocfs-users mailing list >Ocfs-users@oss.oracle.com >http://oss.oracle.com/mailman/listinfo/ocfs-users > >
found where they mount /etc/cfstab Did edit so that they should mount on boot, will try again in near future -----Original Message----- From: Sunil Mushran [mailto:Sunil.Mushran@oracle.com] Sent: Wednesday, 24 August, 2005 13.38 To: Clarke Thomas Cc: ocfs-users@oss.oracle.com Subject: Re: [Ocfs-users] Not mounting on boot Well, they can't mount magically. :) grep /etc for these devices. There must be a script which is explicitly mounting them. The uid/gid need not be mentioned at mount. Set the values using tuneocfs for each volume and then mount normally. And oh btw, editing /etc/mtab does not help. mtab is updated by the mount/umount utility to keep track of mounted volumes in userspace. Clarke Thomas wrote:>Here are what my mount/fstab/mtab currently show. How are the first 8 >drives being mounted if it's not listed? >Even if I spec' the uid/gid for the new drives, they don't mount with >them. Ignore the naming of u011, it's a scratch drive. > >Mount: >/dev/sda2 on / type ext3 (rw) >none on /proc type proc (rw) >usbdevfs on /proc/bus/usb type usbdevfs (rw) >none on /dev/pts type devpts (rw,gid=5,mode=620) >/dev/sda10 on /home type ext3 (rw) >/dev/sda3 on /opt/oracle type ext3 (rw) >none on /dev/shm type tmpfs (rw) >/dev/sda9 on /tmp type ext3 (rw) >/dev/sda5 on /var type ext3 (rw) >/dev/emcpowera1 on /u01 type ocfs (rw,uid=200,gid=300) >/dev/emcpowerg1 on /u02 type ocfs (rw,uid=200,gid=300) >/dev/emcpowerh1 on /u03 type ocfs (rw,uid=200,gid=300) >/dev/emcpowerd1 on /u04 type ocfs (rw,uid=200,gid=300) >/dev/emcpowerj1 on /u05 type ocfs (rw,uid=200,gid=300) >/dev/emcpowere1 on /u06 type ocfs (rw,uid=200,gid=300) >/dev/emcpowerf1 on /u07 type ocfs (rw,uid=200,gid=300) >/dev/emcpoweri1 on /u08 type ocfs (rw,uid=200,gid=300) >/dev/emcpowerl1 on /u10 type ocfs (rw) >/dev/emcpowerm1 on /u011 type ocfs (rw) >/dev/emcpowerk1 on /u09 type ext2 (rw) > >Fstab: >LABEL=/ / ext3 defaults >1 1 >none /dev/pts devpts gid=5,mode=620 >0 0 >LABEL=/home /home ext3 defaults >1 2 >LABEL=/opt/oracle /opt/oracle ext3 defaults >1 2 >none /proc proc defaults >0 0 >none /dev/shm tmpfs defaults >0 0 >LABEL=/tmp /tmp ext3 defaults >1 2 >LABEL=/var /var ext3 defaults >1 2 >/dev/sda7 swap swap defaults >0 0 >/dev/sda8 swap swap defaults >0 0 >/dev/sda6 swap swap defaults >0 0 >/dev/cdrom /mnt/cdrom iso9660 >noauto,owner,kudzu,ro 0 >0 >/dev/fd0 /mnt/floppy auto >noauto,owner,kudzu 0 0 > >Mtab: >/dev/sda2 / ext3 rw 0 0 >none /proc proc rw 0 0 >usbdevfs /proc/bus/usb usbdevfs rw 0 0 >none /dev/pts devpts rw,gid=5,mode=620 0 0 >/dev/sda10 /home ext3 rw 0 0 >/dev/sda3 /opt/oracle ext3 rw 0 0 >none /dev/shm tmpfs rw 0 0 >/dev/sda9 /tmp ext3 rw 0 0 >/dev/sda5 /var ext3 rw 0 0 >/dev/emcpowera1 /u01 ocfs rw,uid=200,gid=300 0 0 >/dev/emcpowerg1 /u02 ocfs rw,uid=200,gid=300 0 0 >/dev/emcpowerh1 /u03 ocfs rw,uid=200,gid=300 0 0 >/dev/emcpowerd1 /u04 ocfs rw,uid=200,gid=300 0 0 >/dev/emcpowerj1 /u05 ocfs rw,uid=200,gid=300 0 0 >/dev/emcpowere1 /u06 ocfs rw,uid=200,gid=300 0 0 >/dev/emcpowerf1 /u07 ocfs rw,uid=200,gid=300 0 0 >/dev/emcpoweri1 /u08 ocfs rw,uid=200,gid=300 0 0 >/dev/emcpowerl1 /u10 ocfs rw 0 0 >/dev/emcpowerm1 /u011 ocfs rw 0 0 >/dev/emcpowerk1 /u09 ext2 rw 0 0 > > >