This forum is currently locked. You can't register or post questions at this time. (read more)

RAC install stuck on fdisk

Questions relating to Oracle Real Application Clusters (RAC) and Clusterware.

Moderator: Tim...

LarryMB
Member
Posts: 7
Joined: Mon Mar 17, 2014 10:24 pm

RAC install stuck on fdisk

Postby LarryMB » Mon Mar 17, 2014 10:27 pm

I am working my way through your "Oracle Database 11g Release 2 (11.2.0.3.0) RAC On Oracle Linux 6.3 Using VirtualBox", and got stuck on partitioning the asm disks.

The fdisk appears to work:
[root@ol6-112-rac1 dev]# fdisk /dev/sdb

WARNING: DOS-compatible mode is deprecated. It's strongly recommended to
switch off the mode (command 'c') and change display units to
sectors (command 'u').

Command (m for help): c
DOS Compatibility flag is not set

Command (m for help): u
Changing display/entry units to sectors

Command (m for help): n
Command action
e extended
p primary partition (1-4)
p
Partition number (1-4): 1
First sector (2048-10485759, default 2048):
Using default value 2048
Last sector, +sectors or +size{K,M,G} (2048-10485759, default 10485759):
Using default value 10485759

Command (m for help): w
The partition table has been altered!

Calling ioctl() to re-read partition table.
Syncing disks.





And the partition is visible with fdisk:
[root@ol6-112-rac1 dev]# fdisk -l /dev/sdb

Disk /dev/sdb: 5368 MB, 5368709120 bytes
181 heads, 40 sectors/track, 1448 cylinders
Units = cylinders of 7240 * 512 = 3706880 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x5baa08c4

Device Boot Start End Blocks Id System
/dev/sdb1 1 1449 5241856 83 Linux





But the partition is not visible with ls:
[root@ol6-112-rac1 dev]# ls -l /dev/sd*
brw-rw----. 1 root disk 8, 0 Mar 17 17:36 /dev/sda
brw-rw----. 1 root disk 8, 1 Mar 17 17:35 /dev/sda1
brw-rw----. 1 root disk 8, 2 Mar 17 17:35 /dev/sda2
brw-rw----. 1 root disk 8, 16 Mar 17 18:02 /dev/sdb
brw-rw----. 1 root disk 8, 32 Mar 17 17:46 /dev/sdc
brw-rw----. 1 root disk 8, 48 Mar 17 17:46 /dev/sdd
brw-rw----. 1 root disk 8, 64 Mar 17 17:46 /dev/sde



Neither running partprobe nor rebooting change this.

Did I miss something obvious?

Thanks!

Tim...
Site Admin
Posts: 18437
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK
Contact:

Re: RAC install stuck on fdisk

Postby Tim... » Mon Mar 17, 2014 10:40 pm

Hi.

I notice you used the "c" and "u" options, as recommended by the deprecation notice. I did not. I wonder if this is the issue. Try repartitioning them again without these options and see what happens...

Cheers

Tim...
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog

LarryMB
Member
Posts: 7
Joined: Mon Mar 17, 2014 10:24 pm

Re: RAC install stuck on fdisk

Postby LarryMB » Tue Mar 18, 2014 1:42 am

Actually, I did not use those options initially.
No difference.

Tim...
Site Admin
Posts: 18437
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK
Contact:

Re: RAC install stuck on fdisk

Postby Tim... » Tue Mar 18, 2014 9:27 am

Hi.

I'm really not sure what to say then. I'm not a Linux expert, but I've been using it for over a decade and doing Oracle installs on it for most of that time. I can't say I've ever seen what you are experiencing. It's no doubt something silly, but until you know what it is, it sounds wacky...

Maybe try the Oracle Linux forum on the OTN forums? There are some proper Linux experts roaming around there...

Cheers

Tim...
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog

LarryMB
Member
Posts: 7
Joined: Mon Mar 17, 2014 10:24 pm

Re: RAC install stuck on fdisk

Postby LarryMB » Tue Mar 18, 2014 11:54 am

Good idea, thanks!

Also, I think I will remove the asm files and restart that process, ab initio.
Will update here if there is a breakthrough.


L

Tim...
Site Admin
Posts: 18437
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK
Contact:

Re: RAC install stuck on fdisk

Postby Tim... » Tue Mar 18, 2014 12:01 pm

Hi.

Yes. Please do. It's always good to hear this stuff. You never know when it might come in useful...

Cheers

Tim...
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog

LarryMB
Member
Posts: 7
Joined: Mon Mar 17, 2014 10:24 pm

Re: RAC install stuck on fdisk

Postby LarryMB » Tue Mar 18, 2014 10:00 pm

On the VirtualBox Linux guest forum , it was suggested to do a mkfs .
Does that make sense?

This certainly was not in your procedure, and I definitely remember your procedure working. :-)

Tim...
Site Admin
Posts: 18437
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK
Contact:

Re: RAC install stuck on fdisk

Postby Tim... » Tue Mar 18, 2014 10:28 pm

Hi.

ASM doesn't need a file system. You just partition the disks and use the partitions directly. I'm not sure what motivation someone would have for suggesting making a file system on them. :)

I think in your position, I would do the following:

1) Turn off the VM.
2) Detach and remove the virtual disks, leaving just the system disk.
3) Start the VM and check none of the devices are visible.
4) Turn off the VM.
5) Create the virtual disks again.
6) Turn on the VM.
7) Partition them as I suggest, not using those extra options.
8) Check the partitions are visible.

Cheers

Tim...
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog

LarryMB
Member
Posts: 7
Joined: Mon Mar 17, 2014 10:24 pm

Re: RAC install stuck on fdisk

Postby LarryMB » Tue Mar 18, 2014 11:14 pm

Hah! Great minds think alike.

I was just considering re-creating the disks.

Will let you know how it goes.

-Larry

Tim...
Site Admin
Posts: 18437
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK
Contact:

Re: RAC install stuck on fdisk

Postby Tim... » Wed Mar 19, 2014 8:02 am

OK :)
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog

LarryMB
Member
Posts: 7
Joined: Mon Mar 17, 2014 10:24 pm

Re: RAC install stuck on fdisk

Postby LarryMB » Thu Mar 20, 2014 3:39 am

Well, progress... I think.
I unattached the asm files from the two instances, deleted them , then recreated.
After the fdisk, the /dev/sdb1 file showed up in the ls -l.

Then followed all the steps, finishing with the start_udev.
After cloning the rac2 node, and configuring it, I got a shock.

The ls command again does NOT show the sdb1, but DOES show the asm-disk1 entries.

[root@ol6-112-rac1 dev]# ll sd*
brw-rw----. 1 root disk 8, 0 Mar 19 22:31 sda
brw-rw----. 1 root disk 8, 1 Mar 19 22:31 sda1
brw-rw----. 1 root disk 8, 2 Mar 19 22:31 sda2
brw-rw----. 1 root disk 8, 16 Mar 19 22:31 sdb
brw-rw----. 1 root disk 8, 32 Mar 19 22:31 sdc
brw-rw----. 1 root disk 8, 48 Mar 19 22:31 sdd
brw-rw----. 1 root disk 8, 64 Mar 19 22:31 sde
[root@ol6-112-rac1 dev]# ll asm*
brw-rw----. 1 oracle dba 8, 17 Mar 19 23:35 asm-disk1
brw-rw----. 1 oracle dba 8, 33 Mar 19 23:35 asm-disk2
brw-rw----. 1 oracle dba 8, 49 Mar 19 23:35 asm-disk3
brw-rw----. 1 oracle dba 8, 65 Mar 19 23:35 asm-disk4


All steps in the paper were followed.

HAARUMPH!!

Tim...
Site Admin
Posts: 18437
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK
Contact:

Re: RAC install stuck on fdisk

Postby Tim... » Thu Mar 20, 2014 8:50 am

Hi.

Wait a minute, you said they showed up after the partitioning right? That's good.

And after the UDEV configuration, your "asm-disk*" disks show up. That's good.

You are good to go now. I was unaware in the previous posts that your problem was after doing the UDEV configuration. That's fine.

Now proceed with the setup. The disks will get marked as ASM disks when you do the GI installation and ASM setup.

Cheers

Tim...
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog

LarryMB
Member
Posts: 7
Joined: Mon Mar 17, 2014 10:24 pm

Re: RAC install stuck on fdisk

Postby LarryMB » Thu Mar 20, 2014 11:20 am

I was hoping that might be the case, but it got to be quite late at night.

I'm not a Linux wizard and now wonder what exactly might be causing the partitions to be
invisible to ls, but more to the point I will continue with the procedure.

Will update here as it goes.

Tim...
Site Admin
Posts: 18437
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK
Contact:

Re: RAC install stuck on fdisk

Postby Tim... » Thu Mar 20, 2014 11:49 am

OK
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog


Return to “Oracle RAC and Clusterware”

Who is online

Users browsing this forum: No registered users and 3 guests

cron