Zero padding the LUN using dd command in Linux

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 ?

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

Similar Messages

  • How to delete the items in the recycle bin permanently from the windows using Diruse command

    How to delete the items in the recycle bin permanently from the windows  using Diruse command.
    Because most of the time we get out of disk space issues.
    Can somebody help me in giving with an example

    You can right-click Recycle Bin|Properties and choose radio button for
    Don't move files ....
     This one may also help.
    http://technet.microsoft.com/en-us/library/cc784980(v=ws.10).aspx
    Regards, Dave Patrick ....
    Microsoft Certified Professional
    Microsoft MVP [Windows]
    Disclaimer: This posting is provided "AS IS" with no warranties or guarantees , and confers no rights.

  • How to access the mysql using ordinary command line in Azure Website?

    Hi
    I deploying Django project on Azure. I created project and MySQL db according this method: https://pytools.codeplex.com/wikipage?title=PollsDjangoSql . I can create tables using django command "syncdb" in Visual Studio. I see
    db structure in SQL Explorer. All works. But now I need to get access directly to mysql.  For example with a view to set encoding of some column, or set permissions, change user password, etc.
    I found about many different tools and methods in Microsoft portal. But the purpose of these tools, how to install it and how to use it is a very entangled (After several attempts to find out what's what two weeks later I found on my computer
    three dozen programs with unknown purpose. I doubt that I need to install so many tools to just add the user in mysql).
    How to access the mysql using ordinary command line (or the same simple tool) in my case?

    Hi pvgdrk,
    To get access directly to a mysql database, you can use the commandline tool(open a cmd window-->type mysql the commadline ) or the
    GUI MySQL workbench.
    Since this is a question about MySQL, I would suggest you post your question in a dedicated MySQL forum. You will get more prompt response.
    If you have any feedback on our support, please click
    here.
    Eric Zhang
    TechNet Community Support

  • Is it possible to automate the extraction using spool command?

    Hi,
    I am trying to export data from table to excel. But the result i am getting will be in million records. Till now i am manually extracting the data using plsql developer. but it is hampering my work alot when i am extracting.
    i am able to extract the data using below spool command in sqlplus
    set feed off markup html on spool on
    spool 'd:\filename.xls'
    select * from ca_trial_milestones;
    spool off
    set markup html off spool off
    But is it possible to run it in sql/plsql developer and schedule it on night time.
    U r replies will help me alot.
    Thanks alot in advance

    981145 wrote:
    Hi,
    I am trying to export data from table to excel. But the result i am getting will be in million records. Till now i am manually extracting the data using plsql developer. but it is hampering my work alot when i am extracting.
    i am able to extract the data using below spool command in sqlplus
    set feed off markup html on spool on
    spool 'd:\filename.xls'
    select * from ca_trial_milestones;
    spool off
    set markup html off spool off
    But is it possible to run it in sql/plsql developer and schedule it on night time.
    U r replies will help me alot.
    Thanks alot in advanceYou can create a batch file in window and then setting appropriate environment setting you can do
    sqlplus user/pass@connect @scriptnamewhere scriptname is you above script.
    You can then schedule this in windows schduler
    However excel can not handle more than 1,048,576 rown as of version 2010
    You can save the spool as html file and you will able to view the resultset.

  • Automated script for deploying, removing, install again the WSP using stsadm command line

    Hi,
    Am having a requirement in my  staging and  prod  env. to add, install,retract and remove wsp.
    In my dev env i used to perform with  Visual Studio ,so i didnt  face any issues regarding retracting and removing the wsp from solution store.
    But in my staging and prod since i dont hav VS installed, i would like to have a automated script[ NOT in POWERSHELL] using stsadm command line tool which adds the solution from a folder [say D:\DeployWSPs in staging and Prod] to the solution
    store  and installed onto a particular web application [  NOT "All WebApplications"].
    and if  the wsp already exists , i need to retract it & remove from solution store and add it and install again.
    can someone pls help me with the  automated script .also if  the folder contains multiple WSPs how can i doa  for each loop [ iterate through  wach ".wsp"  file and perform install/...task].
    i know stsadm -o adddsolution, deletesolution,m retractsolution etc. But the issue is that customer asked me to do this ina automated fashion.  manually entering all these commands is a  cumbersome activity.
    note: when i used powershell on 2 / 3 occasions, the wsp was retracted successfully,but failed to successfully remove from the
    soln store.
    so i thought i will depend upon on stsadm again like old version of SP since its supported.
    Das

    I would recommend you to use Power Shell so that you can do the automation easily. You can use
    power shell for earlier version of SharePoint as well. 
    Look why removing the solution is getting failed. May be you are trying to remove before the solution is retracted. Wait for retract and remove the solution. Refer to the following post for more information
    http://www.codeproject.com/Articles/570011/PowerShellplus-plusWaitplusforplusRetractplus-fpl
    http://consultingblogs.emc.com/mattlally/archive/2011/03/29/sharepoint-server-2010-multiple-solution-deployment-script.aspx
    Cheers,

  • Appending a creation date/time stamp to a filename using MS Command Language

    I need to access the creation date and time of an existing file and then append that date/time to the filename using MS command language in a .bat file.  The code executes on a Windows server.   I'm looking at different options for doing
    this.  I know it can be done using MS Powershell scripting.  Any other suggestions appreciated.  Thanks

    I tested the answer you supplied here:
    http://social.technet.microsoft.com/Forums/en-US/38873a13-f3f2-40f2-bb96-c1c63722caab/adding-a-datetime-stamp-to-a-file-using-ms-command-language?forum=winserverpowershell
    and it worked.
    Richard Mueller - MVP Directory Services

  • Search box text used by command-F search - can this be changed?

    I started using Safari much more in Leopard than I previously did before. One annoying thing I have discovered is that if I use the search box to search the Internet, whatever I entered now becomes the search text when I use command-g (Find again) or command-f (Find).
    This is not the behavior I am accustomed to with Firefox. In Firefox using the search box has no affect on the text used by command-f (Find) and command-g (Find again).
    I have looked through the preferences and options but haven't found anyway to change Safari's behavior. Do you have a solution?

    Hi Duane,
    I must admit you have me stumped as well. I noticed that command-f also picks up what I last entered in Spotlight and the search text is retained across Safari restarts.
    For the life of me I can't see where it's picking this information from. I even searched all my user files via find/grep to see where it was storing it between starts - nothing found...
    The only good thing about the 'weirdness' is that the search text is selected by default so you can immediately overwrite it.
    Very odd...

  • Execute graph using unix command

    I am new to endeca3.1
    is there any way available to run the graph using unix command?
    how can i schedule the graph in cron tab?

    Take a look at the Integrator ETL Server Guide (CloverETL Server), Chapter 6, Scheduling and also Chapter 14 on the Simple HTTP API.  This should allow you to schedule or invoke ETL Graphs published on the server.
    http://docs.oracle.com/cd/E40518_01/integrator.311/IntegratorServerGuide.pdf

  • Error while starting database using #dbstart command

    Hello everybody...
    I have installed Oracle 10G release 2 successfully and also created my database,
    But when I try to start the database using #dbstart command I get the following error
    Failed to auto-start Oracle Net Listene using /oracle/10gR2//bin/tnslsnr
    chmod: modification des permissions de `/oracle/10gR1/startup.log': Operation not permited
    Processing Database instance "ASY_DB": log file /oracle/10gR1/startup.log
    I modified /oracle/10gR2//bin/bin to /oracle/10gR1/
    Then I get the following error...
    chmod: modification des permissions de `/oracle/10gR1/startup.log': Op├®ration n
    on permise
    Processing Database instance "ASY_DB": log file /oracle/10gR1/startup.log
    I´m running RedHat Entreprise Linux 4 ES on an i686...
    Please can you help me...?
    Infos: The database work succesfully with 10g Release 10.1.0
    Thanking you...
    Message was edited by:
    user526029

    Thanks for your reply...
    Below is the content of my /etc/oratab file...
    # This file is used by ORACLE utilities. It is created by root.sh
    # and updated by the Database Configuration Assistant when creating
    # a database.
    # A colon, ':', is used as the field terminator. A new line terminates
    # the entry. Lines beginning with a pound sign, '#', are comments.
    # Entries are of the form:
    # $ORACLE_SID:$ORACLE_HOME:<N|Y>:
    # The first and second fields are the system identifier and home
    # directory of the database respectively. The third filed indicates
    # to the dbstart utility that the database should , "Y", or should not,
    # "N", be brought up at system boot time.
    # Multiple entries with the same $ORACLE_SID are not allowed.
    ASY_DB:/oracle/10gR1:Y
    ~
    I wonder if the ORATAB file for 10.2 version is different form the one of 10.1...
    Thanks a lot for your help

  • Screen capture error, using "ctrl command shift 4"

    when I captured the screen using "ctrl command shift 4", the captured picture is cracked. but when using "command shift 4", the captured picture is fine.
    like below
    How can I fix it?

    use CMD  Shift 4
    better still use a FREE screen capture APP like ducklink
    http://www.ducklink.com/p/free-screen-capture-tool-on-mac/
    Best one is the APP SnapNDrag I use all the time.
    http://download.cnet.com/SnapNDrag/3000-2094_4-40913.html

  • Can new folder be added into a war using jar commands?

    Hi All,
    I am working on an installer creation attempt to make some changes on a war at the client side to inject my changes into it. As a result i am in need to modify the war using jar commands and have found some success.
    I user the following command.
    D:\MyWarLab>jar uf webtop.war customThis command helped me in adding my changes inside a folder named 'custom' placed at location 'D:\MyWarLab' into the 'custom' folder inside my 'webtop.war'.
    Now this worked as expected since the 'custom' folder was already present inside the war.
    Now my next step is to inject a new folder named 'customA' inside
    webtop.war ->WEB-INF -> classes -> com -> application. This customA folder would contain the java class files i have created.The customA folder does not already exist at the above mentioned location, hence the need to create it.
    I have not been able to find a jar command to add new folders at desired locations of the war.
    Could you please validate my attempt and suggest a command to fulfil my requirement.

    Now this worked as expected since the 'custom' folder was already present inside the war.No. It worked because 'custom' existed in the file system as a directory with files under it. Whether it was already in the war is irrelevant.
    This customA folder would contain the java class files i have created. The customA folder does not already exist at the above mentioned location, hence the need to create it.If it exists on the disk you can add it to the war with the jar uf command.
    I have not been able to find a jar command to add new folders at desired locations of the war.You've already found it!

  • Locking the phone using J2me codes

    I am working these day to develop and application using J2me , that has the ability to lock the phone using it is own password.
    but i am asking is it possible to lock the phone using J2me commands??

    Thank you for your response
    but do you know what libraries (API) to use if using C++ with mobile phones.

  • Grep Command in Linux

    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 am extracting particular line from the text file.
    To get the Process Output I am using a code from http://hacks.oreilly.com/pub/h/1092#thread.
    Below is my code.
    public void getUSBInfo() {     
           try{
                  String catCommand =  "cat /proc/bus/usb/devices";
                  System.out.println("catCommand is : "+catCommand);
                  Process p = Runtime.getRuntime().exec(catCommand);
                  usbInfoBuffer = new StringBuffer("");
                  InputStream inStream = p.getInputStream();
                  new InputStreamHandler( usbInfoBuffer, inStream ); 
                                  // InputStreamHandler is the class used to read the console output.
                  StringBuffer errBuffer = new StringBuffer();
                  InputStream errStream = p.getErrorStream();
                  new InputStreamHandler( errBuffer , errStream );
                  p.waitFor();
                  catCommandOutput = usbInfoBuffer.toString();
                  System.out.println("USB Info : " +catCommandOutput);
                  String fileCat ="/EthicsPoint/usbInfo.txt";
                  File catCommandOutputFile =  new File(fileCat);
                  boolean filesuccess = catCommandOutputFile.createNewFile();
                  setContents(catCommandOutputFile,catCommandOutput);
                  extractUSBInfo();
                  }catch(Exception e) {
                 JOptionPane.showMessageDialog(null," Exception occured executing Native Method..catCommand.."                                         ,epname,JOptionPane.ERROR_MESSAGE);                                    System.out.println("File Exception No 6" +e);
    public void extractUSBInfo() {
         try {
              String filename = " /EthicsPoint/usbInfo.txt";
              String grepCommand = "grep \"P:\\|S:\""+filename ;
               //String[] grepCommand = new String[]{"grep", "\"P:\\|S:\"", "/EthicsPoint/usbInfo.txt"};
              Process p = Runtime.getRuntime().exec(grepCommand);
              usbExtractedInfoBuffer = new StringBuffer("");
              InputStream inStream = p.getInputStream();
              new InputStreamHandler( usbExtractedInfoBuffer, inStream );
              StringBuffer errBuffer = new StringBuffer();
              InputStream errStream = p.getErrorStream();
              new InputStreamHandler( errBuffer , errStream );
              p.waitFor();
              String Output = usbExtractedInfoBuffer.toString();
              System.out.println("grepCommand is    : " +grepCommand);
              System.out.println("Searched USB Info : " +Output);
          }catch(Exception e) {
         JOptionPane.showMessageDialog(null," Exception occured executing Native Method..grepCommand..."                               ,epname,JOptionPane.ERROR_MESSAGE);                                    System.out.println("File Exception No 7" +e);
          }I am not getting any IOException. The output of System.out.println("Searched USB Info : " +Output); is blank.
    If I try shell> grep "P:\|S:" /EthicsPoint/usbInfo.txt, I get the desired output.
    What could be the reason ? While using cat command I am getting the output , but grep command is
    returning blank. I even tried String array[] for exec() command, but still get blank.
    Where and what I am doing wrong ?
    Thanks in advance.
    Regards,
    Jay.

    Hi asjf,
    Thanks a lot... The problem is finally solved.
    String exeCommand = "grep P:\\|S: "+filename; I removed the quotes and it worked. But if I
    remove backslash for the pipe symbol nothing happens..as I get return value of 1.
    Output after removing quotes :
    exeCommand is : grep P:\|S:  /EthicsPoint/usbInfo.txt
    Exit Value is : 0
    USB Info : P:  Vendor=0000 ProdID=0000 Rev= 0.00
    S:  Product=USB OHCI Root Hub
    S:  SerialNumber=ce84b000
    P:  Vendor=0000 ProdID=0000 Rev= 0.00
    S:  Product=USB OHCI Root Hub
    S:  SerialNumber=ce849000But I have noticed another problem. If I execute the aplication number of times, eventhough
    the exit value is 0, USB Info : is blank. This happens sometimes. Sometimes I get the correct output.
    What could be the reason ?
    Thanks to you and all who have replied to my queries....Thanks a lot.....Really appreciate the time and effort.
    Regards,
    Jay.

  • HT2477 Just bought a Mac book and the set up is with the Voice over key commands,how do you switch this off as it is painfull to use and use the scroll pad

    Just bought a Mac book and the set up is with the Voice over key commands,how do you switch this off as it is painfull to use and use the scroll pad?

    It's the button (key) that is labelled Control.
    Each of the modifier keys and similar keys has its own symbol; this makes listing command keys easier to do. The Command key is usually the only key which has its symbol printed on the key. If you open Keyboard Viewer (in the Input menu, the one which displays the flag in the main menu bar), you can see what symbol refers to which key.

  • HT4721 i am experincing difficulties with my touch pad.? whenn i try using is the cursor on the screen doesnot obey commands, sometimes it doesnot move.

    i am experincing difficulties with my touch pad.? whenn i try using is the cursor on the screen doesnot obey commands, sometimes it doesnot move.

    Reset PRAM.  http://support.apple.com/kb/PH4405
    Reset SMC.     http://support.apple.com/kb/HT3964
    Choose the method for:
    "Resetting SMC on portables with a battery you should not remove on your own".

Maybe you are looking for

  • Program that generates idoc in ale/edi

    friends can  you please tell  which  program creates an idoc or  how  are idocs generated  while  customizing ale and edi ., in which step?

  • ALV TREE in Web Dynpro

    Hi guys, I am trying to display data from the internal table to ALV tree by using TreeByKeyTableColumn. can anyone please help me out or suggest proper way to display. thanks,

  • Pop-Up in the back ground

    Hi All,         I have a program in which I am using a FM to give pop-up.         The program is cheduling in back ground.          I am getting an error at this function module saying that          Input is not provided. So Can we use this type of p

  • Module Pool table controle row level prob

    Hi Experts, I am working in a module pool program where in table controle  i want a perticular row should become in display mode if a specific field is NE SPACE. is it possible if possible than please sugest me how. Thanks and Regards, D Tarun Kumar

  • Hide Install Base & its components on UI screen

    Hello Guys How to hide Installbase and its Components on UI Screen of SAP CRM 2007.In which BSP component Installbase and its components are there and how to remove it. Advanced thanks for suggestions Regards VG