Current position:  Home > Default > Zero padding the LUN using dd command in Linux

Zero padding the LUN using dd command in Linux

Time:October 11
Advertisement
Grid Infrstructure: 11.2.0.3
OS : Oracle Enterprise Linux 6.3
When we were installing RAC in solaris, we used to zero pad all LUNs meant for ASM . We used to do like below
dd if=/dev/zero of=/dev/rdsk/c0t600A0B8008A4CA005ACd0s0 bs=1024k count=2000Now we are going to install RAC in Oracle Linux v6 . When I googled Linux related stuff for RAC , I didn't come across documents in which zero padding is done on LUNs meant for ASM Disk groups.
Question1. Is zero padding using dd necessary in Linux platform ?
Question2. If dd command has to be run in the LUN, shouldn't that be done before we create the partition table ?
Advertisement
Question1. Is zero padding using dd necessary in Linux platform ?No, never did that, not even on Solaris.
Question2. If dd command has to be run in the LUN, shouldn't that be done before we create the partition table ?Of course it should.
What would be the point of creating the partition table and after that overwriting it with 0-s :)
Do you use a NAS for ASM disks?
Solaris: http://docs.oracle.com/cd/E11882_01/install.112/e24616/storage.htm#CACDHHJJ
Linux: http://docs.oracle.com/cd/E11882_01/install.112/e22489/storage.htm#CFACJAGB

Tr command in Linux

2015-10-11

Hi All, I searched internet for the usage of tr command, honestly it is very powerfull when process flat files, take text replacement for example cat file1.txt | tr "abc" "xyz" the output will be that 'a' change to 'X', 'b' to 'Y', 'c'

Grep Command in Linux

2015-10-11

Hi all, I having problem getting the output of grep command in Linux (Red Hat 9.0). At the same time, I am able to get the output of cat command. Using the output of cat command, I am writing it to a text file and then in another process using grep I

Print command from linux PC on to Windows Environment

2015-10-11

Hi Experts, We have SAP on Windows and the network printer is also on Windows, the PC with Linux is integrated with network printer i.e when the print command from Linux is given the output is available from the printer (Windows). But when the print

Executing windows batch commands from linux

-0001-11-30

Hi, Kindly shed some light on executing the MSwindows batch commands from linux machine. Thanks RKAhi RKA What about using a virtual windows machine ? Or use a DOSemu (DOS Emulator) is a program that lets you run many of your favorite DOS application

Apple Remote Desktop - sending SSH commands to linux clients

-0001-11-30

Has anyone been able to configure ARD to send SSH commands to linux clients? The VNC part works, but not sure how to configure the UNIX commands. We are trying to be able to send rpm, df, etc commands to multiple centos clients at one time... thanks.

Spaces and commands in Linux

-0001-11-30

Hello, I have a String command, representing a command in Linux. There are some filenames which have spaces. So what I do is I replace them with "\ " (the linux escape character). But when I try to run the command with Runtime.getRuntime().exec(

How to schedule jar command on linux in /etc/crontab

-0001-11-30

hello , i am facing a problem in scheduling java -jar myjarfilename.jar in crontab in linux .i have tried by giving the command directly in the /etc/crontab entry and running it as a script from the crontab but in vain.please give me some ideas how t

Concept of free –m command in Linux

2015-10-11

I wanted to know the concept of free –m command as there are different rows of Mem, -/+ buffers/cache & Swap in the output. As an example, it is showing 195 as free Mem in my server but 13850 in the free section of the -/+ buffers/cache. The output n

Linux shell commands through linux

2015-10-11

i am trying to run shell comands through java. so far i hav been success ful in running some of them. but when ever a '\' symbol is encountered it doesnt work. i use process p = Runtime.getRuntime().exec(command) example command= "mount -t smbfs //19

Query on Linux 'top' command in Linux for oracle user

2015-10-11

This is the output of 'top' command in one of my linux server hosting One Oracle instance with 600MB SGA and 400MB PGA. One one instance is up in this server. top - 14:36:37 up 4:26, 3 users, load average: 0.05, 0.11, 0.28 Tasks: 124 total, 1 running

/etc/prtconf command in Linux?

2015-10-11

Hi; I have the command /etc/prtconf(/usr/sbin/prtconf) in Solaris 10.5 , which gives all information about my OS and machine. i am trying to find the equivalent command (/etc/prtconf) of in Linux OS. thanks for your collaboration Regards; FafaOn some

Mv command in Linux

2015-10-11

OS: Oracle Enterprise Linux 5.4 It is not the first time I used the mv command in Unix systems, but recently noticed some strange outcome in Linux. That's why I though I would do some test, and now I wonder about the result. Is there something new or

Execution of a command in Linux

2015-10-11

Hi expert, I wrote this java class, that it's working in Windows, but not in Linux. Seems not executing the code have you any idea why? 1) you provide a userlogin 2) check if the userlogin file exists 3) if not it create a file where name and content

Sending reports directly to a printer (commands) 10g Linux

2015-10-11

Hi, Quick question. I am trying to confirm what I need to pass to Oracle Reports Server in order to print directly to the printer (bypassing any Preview or PDF version of the report in Oracle 10g. I am using Linux. We just installed the printer on th

Create .txt empty file After Message Processing Command Line Linux command

2015-10-11

Hi All, An empty .txt file has to be created in FTP location(FTP loc c:\xyz\Customer20082910.txt) only after the .dat file has been created(FTP loc c:\xyz\Customer20082910.dat) Note:.dat has the actual data and .txt is an empty file and is created on

Show progress bar while executing scp command in linux

-0001-11-30

I am being trying to execute scp command throug java frames, I want to know is there any way to show progress when i am copying a file to another system. The scp command shows the progress in command prompt can i implement that on the jprogressbar. t

Executing system commands on Linux

-0001-11-30

Hi, I am trying to copy a file from Java code on Linux platform using the cp command. Process p = Runtime.getRuntime.exec("bash -c \"cp file1 file2\""); The process is exiting with exit code 2 and the file is not getting copied. The sa

NoSuchMethod error when starting WebStart from command line (Linux)

-0001-11-30

I'm using Chainsaw via WebStart http://logging.apache.org/log4j/docs/webstart/chainsaw/chainsawWebStart.jnlpWhen I enter this link into my browser, it launches WebStart and Chainsaw starts fine (after I approve the certificate). When I try to run it

Execution timed out error when running opcagt command on linux server with agent 11.12.009 installed

-0001-11-30

Hi, Can anyone help me in the below issue. we have a Linux server with agent version 11.12.009 installed on it. when I try running opcragt command on it through are management server it gives the output that all agent components are running. but when