LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 09-29-2011, 07:27 AM   #1
scopiansl
LQ Newbie
 
Registered: Jul 2010
Posts: 23

Rep: Reputation: 1
Partition mounting issue


Hello,

I am running SLES 11 for SAP in HP 585 server.
I have oraarch (oracle/CBP/oraarch) partion for archive files in same disk as OS which are mirrored. It was recommonded by the consultants to have the archive partion there for performance.
All other SAP application related partitions are in a SAN.
However after migrated to this server from our old production server, I always have to manually mount this oraarch partition. And I am able to recover all the data there and works well.
So, I need to fix this issue permanently.
Please guide me to resolve this issue. Where I need to start? startup log?

ccilleperuma
 
Old 09-29-2011, 12:27 PM   #2
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 5,972
Blog Entries: 5

Rep: Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777Reputation: 777
Is it in your /etc/fstab file? If so what does the entry look like?

What command string are you running that successfully mounts it manually?
 
Old 09-29-2011, 07:22 PM   #3
zackwasa
Member
 
Registered: Sep 2011
Posts: 52

Rep: Reputation: Disabled
Is it a software RAID partition?

If Yes, what do you get when running:
Code:
mdadm --assemble --scan
cat /proc/mdstat
RMI

Last edited by zackwasa; 01-12-2012 at 01:09 AM.
 
Old 09-30-2011, 01:48 AM   #4
scopiansl
LQ Newbie
 
Registered: Jul 2010
Posts: 23

Original Poster
Rep: Reputation: 1
Post

Quote:
Originally Posted by MensaWater View Post
Is it in your /etc/fstab file? If so what does the entry look like?

What command string are you running that successfully mounts it manually?
Hmm.. It is little strange. please look at it by your self
Code:
sapprdsvr:~ # cat /etc/fstab
/dev/disk/by-id/cciss-3600508b1001c374006d7c33b084cc785-part2 swap                                                                                                         swap       defaults              0 0
/dev/disk/by-id/cciss-3600508b1001c374006d7c33b084cc785-part3 /                                                                                                            ext3       acl,user_xattr        1 1
/dev/disk/by-id/cciss-3600508b1001c374006d7c33b084cc785-part1 /boot                                                                                                        ext3       acl,user_xattr        1 2
proc                 /proc                proc       defaults              0 0
sysfs                /sys                 sysfs      noauto                0 0
debugfs              /sys/kernel/debug    debugfs    noauto                0 0
usbfs                /proc/bus/usb        usbfs      noauto                0 0
devpts               /dev/pts             devpts     mode=0620,gid=5       0 0
/dev/SAN/lv01        /sapmnt/CBP          ext3       acl,user_xattr        1 2
UUID=a6a119de-bb66-460b-9f4e-ae8d62330172 /oracle/CBP/oraarch  ext3       acl,us                                                                                        er_xattr        1 2
/dev/SAN/lv04        /oracle              ext3       acl,user_xattr        1 2
/dev/SAN/lv07        /oracle/CBP          ext3       acl,user_xattr        1 2
/dev/SAN/lv08        /oracle/CBP/102_64   ext3       acl,user_xattr        1 2
/dev/SAN/lv11        /oracle/CBP/mirrlogA ext3       acl,user_xattr        1 2
/dev/SAN/lv12        /oracle/CBP/mirrlogB ext3       acl,user_xattr        1 2
/dev/SAN/lv09        /oracle/CBP/origlogA ext3       acl,user_xattr        1 2
/dev/SAN/lv10        /oracle/CBP/origlogB ext3       acl,user_xattr        1 2
/dev/SAN/lv14        /oracle/CBP/sapdata1 ext3       acl,user_xattr        1 2
/dev/SAN/lv15        /oracle/CBP/sapdata2 ext3       acl,user_xattr        1 2
/dev/SAN/lv16        /oracle/CBP/sapdata3 ext3       acl,user_xattr        1 2
/dev/SAN/lv17        /oracle/CBP/sapdata4 ext3       acl,user_xattr        1 2
/dev/SAN/lv13        /oracle/CBP/sapreorg ext3       acl,user_xattr        1 2
/dev/SAN/lv05        /oracle/client       ext3       acl,user_xattr        1 2
/dev/SAN/lv06        /oracle/stage/102_64 ext3       acl,user_xattr        1 2
/dev/SAN/lv02        /usr/sap/CBP         ext3       acl,user_xattr        1 2
/dev/SAN/lv03        /usr/sap/trans       ext3       acl,user_xattr        1 2
#/dev/disk/by-id/usb-FUJITSU_MJA2500BH_G2_90DA126FFFFF-0:0-part1 /oracle/CBP/sap                                                                                        data4/backup ext3       defaults              1 2
#/dev/disk/by-id/usb-Hitachi_HTS543216L9A300_080730FB2200-0:0-part1 /oracle/CBP/                                                                                        sapdata4/backup ext3       acl,user_xattr        1 2
#/dev/disk/by-id/usb-FUJITSU_MJA2500BH_G2_90DA126FFFFF-0:0-part5 /hddbkp                                                                                                      ext3       acl,user_xattr        1 2
I am just using the command "mount /oracle/CBP/oraarch"

Thanks

ccilleperuma
 
Old 09-30-2011, 01:55 AM   #5
scopiansl
LQ Newbie
 
Registered: Jul 2010
Posts: 23

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by zackwasa View Post
Is it a software RAID partition?

If Yes, what do you get when running:
Code:
mdadm --assemble --scan
cat /proc/mdstat
No its a hardware mirror (RAID 1)
For mdadm command, it says "No arrays found" and the mdstat file is empty

Thanks

ccilleperuma
 
Old 09-30-2011, 02:56 AM   #6
cendryon
Member
 
Registered: Aug 2005
Location: France
Distribution: Slackware64 current
Posts: 78

Rep: Reputation: 26
Lightbulb fstab order should follow filesystem hierarchy

Hi

It looks like your problem comes from the mount order in fstab.
Your local partition, /dev/SAN/lv04 and /dev/SAN/lv07 are mounted in the given order.

You end up having /dev/SAN/lv04 mounted "over" /oracle, thus "hiding" the /oracle/CBP/oraarch mounted partition.

Try reordering your fstab to follow the fs tree order :
Code:
/dev/SAN/lv04                             /oracle              ext3       acl,user_xattr        1 2
/dev/SAN/lv07                             /oracle/CBP          ext3       acl,user_xattr        1 2
UUID=a6a119de-bb66-460b-9f4e-ae8d62330172 /oracle/CBP/oraarch  ext3       acl,user_xattr        1 2
Cheers
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mounting partition issue.. criacuervo Linux - Newbie 10 08-17-2009 11:22 PM
Issue In mounting NTFS partition on rhel5 dualboot with vista yashgoley Linux - Newbie 1 08-07-2009 12:16 AM
Trouble mounting ipod. Hal issue and mount point issue. okos Slackware 2 05-10-2009 11:51 PM
Partition mounting/KDE errors after creating Fat32 Partition BertBert Linux - General 1 07-07-2004 10:59 AM
Mounting mounting extended partition and its Logical drives desbyleo Linux - Newbie 10 02-18-2002 03:13 PM


All times are GMT -5. The time now is 06:01 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration