1828352 Members
3440 Online
109976 Solutions
New Discussion

Re: Adding new LUN

 
Waqar Razi
Regular Advisor

Adding new LUN

A new LUN has been presented to the Oracle RAC cluster on RHEL 5.1. We have 4 nodes. The new LUN that is presented is 50 GB in size, its name being /dev/mapper/mpath30 and I have to create an ext3 file system on that LUN named as /orabackup.

Can some one please identify steps specially using fdisk. I have to create a single partition covering the whole LUN. So what options I have to choose in fdisk to accomplish this.
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Adding new LUN

Shalom,

Post the output of the following command to get started.

fdisk -l

run it as root.

if the LUN has properly been presented, you should see it on the fdisk output.

You can then use the command line:

fdisk

to set up the new disk as ext3 partition.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Ivan Ferreira
Honored Contributor

Re: Adding new LUN

In fact is very simple, run fdisk /dev/ and then:

p (to print the current partition table)
n (create new partition)
p (select primary)
1 (select partition number)
ENTER (accept default start cylinder)
ENTER (accept default end cylinder)
w (Write the pertition table and exit)


Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?