How to see new disk in oracle linux 5

Dear,
i am using oracle VM and created 2 guest OS (both Olx5) i also created a shared disk and assigned to both linux servers.
question: how can i see the disk in each server. using fdisk -l it just shown the one there before.
in HPUX we have ioscan to detect new devices. is there away to check for new disk in oracle linux.
Thanks in advance.
Tom

fdisk -l shows only existing partitions. So if your new disk has not partition created it will be not shown in the output.
AFAIK there is not such command which will list all devices but there are several ways how to find the devices. All informations you can find in /proc directory (fdisk -l reads /proc/partitions when device is not passed as argument).
You can find devices (local disks) for example using following commands (hope it helps):
cat /var/log/dmesg |egrep 'sd[a-z]: s|hd[a-z]: h'
cat /proc/diskstats |egrep -v 'ram|fd'|awk {'print $3'}

Similar Messages

  • How to create new database on Oracle 10g

    Hi All,
    Can any one tell me how to create new database on oracle 10g.
    Thanks in Advance for your help.

    again some confusion here.....
    u said u need a new database in your first post and now you saying u need a new schema..
    one database has many schemas(users)..... ex: scott,sys,system are few of them...
    now it depends you need seperate database for test,dev environment - this is in the case u have many schemas under each database and many tables(objects) under each schema.
    OR
    You just need a separate schema (in same db) for test,dev environment...where in you will have multiple tables in each schema...U need to know the dba credentials of the db to create a new schema.
    ideally u need to have different database...You can create one with out sys/system(oracle users) password as these passwords are db dependent.
    what you need is access to the any machine where server is installed(can be the same mc where you have your dev db or a diff machine) and that will be the machine where your db will be installed (can do it through database configuration assistance),ofcourse you will need windows authentication for this.
    so you login to the same machine or access it from your machine using remote login.
    I hope that is clear.Hope i am not listing things that you already know..Just did it coz of confusion between db and schema
    Message was edited by:
    coolguy

  • Solaris 10x86 and grub, bootloading and how to add new disk

    In the latest version of Solaris 10 (1/06) it now uses grub to do the bootloading.
    I cannot get grub to create a new partition on my new second disk.
    BIOS sees my disk.
    At first "format" would not see the disk. I ran "reboot -- -r" to fix this.
    Now, I go into the grub shell with /boot/grub/bin/grub and attempt to run "partnew" -- the grub command to add partitions. It fails.
    One of the arguments for 'partnew' is TYPE. However, I've googled my fingers to death, and nowhere can I find out what number I should use in type. The grub docs only say it should be a number between 0 and 0xff.
    I want to multi-partition the second disk for linux/solaris/and or windows.
    What if I take out disk1 containing solaris, move disk2 into that slot, then insert the windows installation cd and let it partition the disk.? Then put it back in slot 2....

    Why are you trying to partition the disk with 'grub'? Since you've completed the installtion you can use 'fdisk' directly.
    However I wouldn't bother. I'd just let the installer of whatever OS you're putting on do the right thing. Either Linux or Windows could partition it as you're installing.
    Then you could go back and edit grub if you needed to so that they would boot properly.
    This page talks about multibooting some different operating systems. You dont need to use it as a recipe, but you might find some of the concepts handy.
    http://www.sun.com/bigadmin/features/articles/multiboot_laptop.html
    Darren

  • How to use LDAP authentication in Oracle Linux

    Hi All,
    In Oracle Linux 2.6.18-194 el5, goes to system->Administration->Authentication, enabled LDAP in both User Information and Authentication, tried to use network user account information to log in the linux machine but it did not work.
    The login screen waits over 10 minutes after enter username and password each and then says usename and password is not corrent.
    LDAP Settings only asked two information LDAP Search Base on and LDAP Server. We have another application which uses same LDAP server works fine.
    How to make Oracle linux server as LDAP client for user longin?
    Tanks in advance for yur help.

    I have no idea, but you might find it helpful to read Redhat's documentation concerning this subject:
    http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Deployment_Guide/ch-ldap.html

  • How can I install kornshell in Oracle Linux no using yum?

    I have a VM with Oracle Linux. with no internet access and I need to install korn shell. How can I do it no using yum?

    I really would like to use YUM to install, but my VM is not accessing the internet. I browsed the repository (Index of /repo/OracleLinux/OL6/3/base/x86_64/) and found out the right file.
    Thanks for your help!

  • How to install ASM instance in oracle linux 6.1

    Hi,
    I have installed oracle linux 6 and upgraded to oracle linux 6.1 (32 bit) for testing purpose.
    here is details of some commands
    [root@rac2 ~]# uname -a
    Linux rac2.test 2.6.32-131.0.15.el6.i686 #1 SMP Fri May 20 15:00:01 EDT 2011 i68 6 i686 i386 GNU/Linux
    [root@rac2 ~]# modprobe -l | grep oracle ####No output####
    [root@rac2 ~]# rpm -qa| grep oracleasm ####No output####
    [root@rac2 ~]# modprobe /etc/oracleasm
    FATAL: Module /etc/oracleasm not found.
    Please suggest me, do i have to download any other package for enable oracle asm.

    Hi,
    I have done these setup and still i am not able to create disk in asm. i have created partition with fdisk with name sdd2,sde2,sdf2
    here is the output of few command--
    [root@rac2 ~]# uname -r
    2.6.32-100.34.1.el6uek.i686
    [root@rac2 ~]# rpm -qa | grep oracle*
    oracle-logos-60.0.11-9.el6.noarch
    oraclelinux-release-notes-6Server-5.i686
    oraclelinux-release-6Server-1.0.2.i686
    oracleasm-support-2.1.5-1.el6.i686
    [root@rac2 ~]# /etc/init.d/oracleasm configure
    Configuring the Oracle ASM library driver.
    This will configure the on-boot properties of the Oracle ASM library
    driver. The following questions will determine whether the driver is
    loaded on boot and what permissions it will have. The current values
    will be shown in brackets ('[]'). Hitting <ENTER> without typing an
    answer will keep that current value. Ctrl-C will abort.
    Default user to own the driver interface [oracle]:
    Default group to own the driver interface [oinstall]:
    Start Oracle ASM library driver on boot (y/n) [y]:
    Scan for Oracle ASM disks on boot (y/n) [y]:
    Writing Oracle ASM library driver configuration: done
    Initializing the Oracle ASMLib driver: [  OK  ]
    Scanning the system for Oracle ASMLib disks: [  OK  ]
    [root@rac2 ~]# /etc/init.d/oracleasm status
    Checking if ASM is loaded: yes
    Checking if /dev/oracleasm is mounted: yes
    [root@rac2 ~]# ls -la /dev/sd*
    brw-rw----. 1 root disk 8, 0 Sep 14 15:57 /dev/sda
    brw-rw----. 1 root disk 8, 1 Sep 14 15:58 /dev/sda1
    brw-rw----. 1 root disk 8, 2 Sep 14 15:57 /dev/sda2
    brw-rw----. 1 root disk 8, 16 Sep 14 15:57 /dev/sdb
    brw-rw----. 1 root disk 8, 17 Sep 14 15:58 /dev/sdb1
    brw-rw----. 1 root disk 8, 48 Sep 14 16:14 /dev/sdd
    brw-rw----. 1 root disk 8, 50 Sep 14 16:14 /dev/sdd2
    brw-rw----. 1 root disk 8, 64 Sep 14 16:14 /dev/sde
    brw-rw----. 1 root disk 8, 66 Sep 14 16:14 /dev/sde2
    brw-rw----. 1 root disk 8, 80 Sep 14 16:14 /dev/sdf
    brw-rw----. 1 root disk 8, 82 Sep 14 16:14 /dev/sdf2
    [root@rac2 ~]# /etc/init.d/oracleasm createdisk ASM01 /dev/sdd2
    Marking disk "ASM01" as an ASM disk: [FAILED]
    [root@rac2 ~]#
    [root@rac2 ~]# tail -20 /var/log/oracleasm
    Creating /dev/oracleasm mount point: /dev/oracleasm
    Loading module "oracleasm": oracleasm
    Mounting ASMlib driver filesystem: /dev/oracleasm
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    Reloading disk partitions: done
    Cleaning any stale ASM disks...
    Scanning system for ASM disks...
    Disk "ASM01" does not exist or is not instantiated
    Writing disk header: done
    Instantiating disk: oracleasm-instantiate-disk: Unable to create ASM disk "ASM01": Permission denied
    failed
    Clearing disk header: done
    [root@rac2 ~]#
    I have tried to find out solution but did not get anything in google.
    Please suggest if any solution or may be i missed some setup.
    Ram

  • HOW I WAS ABLE TO GET ORACLE/LINUX RUNNING

    Just like some (or should I say most) of you, it took me pains
    (one week at that) to get 8i EE running on Linux.
    Here is how I was able to get it up and running:
    Environment:
    * RedHat 6.0
    * Linux kernel 2.2.12
    * Blackdown JRE (not JDK) 1.1.6v5
    * Mem: 128MB
    Create the linux account 'oracle' and make the account a member
    of the 'dba' group. The 8i docs contradicts itself saying that
    'oracle' should be a member of the 'oinstall' group in one place,
    but later on says that 'oracle' should be a member of the 'dba'
    group in other places. (In the 8.0.5 installation, 'oracle' is a
    member of the 'dba' group, so just follow this tradition).
    I have 2 linux machines. Because the machine where I am
    installing 8i has several other purposes, I ran X on another
    machine and have the OUI display on that other machine, but the
    OUI ran on the machine where I installed 8i.
    From the host running X, I set "xhost +182.212.1.32" (this is
    the IP address of the host where I am installing 8i), telnetted
    to the host where 8i will be installed, logged in as 'oracle',
    did a 'su', mounted the CDROM, exited from root (thereby going
    back to the oracle account), did a "DISPLAY=182.212.1.200:0.0;
    export DISPLAY", "cd /mnt/cdrom", and then did ran the installer
    "./runInstaller".
    If you did not make 'oracle' a member of 'dba', OUI will say "You
    are not a member of the 'dba' group.... blah ...." and will ask
    you the linux group for OSDBA and OSOPER.
    If you DID make 'oracle' a member of the 'dba' group, you will
    not get this prompt at all, and you will be asked to specify the
    linux group that will be responsible for installing/upgrading
    oracle. Specify the group 'oinstall' in this prompt. Basically,
    this prompt will 'chgrp oinstall' the directory
    '$ORACLE_BASE/oraInventory'.
    Cotinue with the installation. You will be prompted to run a
    script under the /tmp/oracle/oraInstroot.sh directory as root.
    Continuing, I specifed a custom install. After almost completing
    the installation, you will be prompted to run the 'root.sh' under
    $ORACLE_HOME as root. Note that this script is not executable, so
    either "chmod 744 root.sh;./root.sh" or "sh ./root.sh".
    At this point, db config assistant will run, but gave me an
    exception, something like "JNLSException: No character sets
    found." This error was not fatal as it did allowed me to
    continue. (Note that I tried setting ORA_NLS33 and NLS_LANG, but
    I still had this exception. However, I have not tried downloading
    i18n-1.1.6-v5-glibc-x86.tar.bz2 from blackdown. But I do not know
    if that will help.). I did not continue with dbassist but exited,
    and exited OUI. The reason was that, after telling dbassist to
    save to scripts, it cannot even save the scripts!!
    Now run dbassist again ("cd $ORACLE_HOME/bin; ./dbassit"). You
    will again get the message "JNSLException: No characters found".
    I specified an OLTP database. Later on, you will be asked if you
    want to use shared server processes (MTS) or dedicated server
    processes. At this point, specify dedicated server processes.
    (Note: this is important. More on this later).
    The SYSTEM datafile need not be initially 175MB. I had mine set
    to 75MB.
    When prompted if you want to create the db now or save to
    scripts, specify save to scripts, and exit dbassist.
    Now "cd $ORACLE_HOME/install". The main script (which is
    sqlSID.sh --- replace SID with the value of ORACLE_SID), will
    simply run other scripts.
    Instead of running the main script, run each of the scripts
    (that the main scripts was supposed to call) manually in the
    order specified by the main scripts. This will help you later on
    point out the specific script which may have problems.
    The first script will start the instance and create the
    database.
    Run that first script.
    Now here lies the importance of specifying "dedicated server
    processes" instead of "shared server processes". If you specified
    "dedicated server processes", the db should now be created, and
    the script will exit without errors. If you specified "shared
    server processes (MTS)", the instance will be mounted but you
    will get the message "ORA-01012: not logged on". The db will
    therefore not be created. I believe the following quote from the
    docs (not included with the linux 8i EE CD, but included
    witht he nt 8i EE CD) says it all:
    =================================================================
    ===========
    Restricted Operations of the Multi-Threaded Server
    Certain administrative activities cannot be performed while
    connected to a
    dispatcher process, including shutting down or starting an
    instance and
    media recovery. An error message is issued if you attempt to
    perform these
    activities while connected to a dispatcher process.
    These activities are typically performed when connected with
    administrator
    privileges. When you want to connect with administrator
    privileges in a
    system configured with multi-threaded servers, you must state in
    your connect
    string that you want to use a dedicated server process
    (SRVR=DEDICATED) instead of a dispatcher process.
    Additional Information:
    See your Oracle operating-system-specific
    documentation or the Net8
    Administrator's Guide for the proper connect
    string syntax.
    =================================================================
    =========
    From the above, you should be able to create a db using "shared
    server processes (MTS)" from scratch (instead of creating a db
    using "dedicated server process" and then later on changing to
    MTS), by modifying your tnsnames.ora file. However, I have not
    done this.
    Now run the remaining scripts that the main script was supposed
    to call. The only other problem I had with the scripts was the
    last script (the one with SIDjava.sh). I had a problem with the
    redo logs, and I got an "end of communication error" in the
    middle of the execution of the last script. I have to run this
    last script twice to make sure it worked.
    I believe the reason for the problem with the last script was
    related to what I found out later on, that all the rollback
    segments were OFFLINE (except that rbs in SYSTEM)!!!
    So probably it is best that, after running the first script, take
    the rollback segments online, before continuing with the other
    scripts.
    After running the scripts and the database created, I then
    applied te 8.1.5.0.1 patch, shutting down the database first.
    (Run svrmgrl, connect internal, shutdown;)
    However, after applying the patch, and starting the database
    again, I still get 8.1.5.0.0 and not 8.1.5.0.1 when loggin
    in using sqlplus or svrmgrl. Maybe the patch should be applied
    first BEFORE creating the db???
    Okay, now I have it running for 3 days now. However, I get this
    error in my alert files:
    OER 536879337 in Load Indicator : Error Code = 570716328 !
    ... when the instance is mounted, and
    Load Indicator not supported by OS
    .... several times.
    I have not been able to solve these remaining issues.
    John Salvo
    null

    This should get you started. I can point you to many places, but
    http://en.wikipedia.org/wiki/Verizon_FiOS
    Pasive Optical Network. MostĀ  customers really don't need to know all the nuts and bolts.
    http://en.wikipedia.org/wiki/BPON
    GOOD LINK Anti-Phish. I never viewed this list. Cool.
    http://www.dslreports.com/faq/16637
    Optical Network Terminal (ONT) is a type of NID used with fiber-to-the-premises applications.
    Various models used.I had one of the first ONT 610X, I now have 612. I also believe they use Motorola ONTs?
    http://en.wikipedia.org/wiki/Optical_Network_Terminal#Optical_network_terminals

  • How to get free disk space in linux   Using JAVA program ?

    Hi,
    I am new to such adavance topics.. like JNI
    I have to check linux system free disk space , if space is more than 80% it should email to user.
    But how to check that Using Java program ??
    can u give me one sample example ? i will do it if u can do some for me
    thanks
    give me possible solutions...

    Using the Runtime class you can execute any linux command. Check it out.

  • How to Add new webservices  in Oracle ECM 11g

    Hi
    In the Documenation of Oracle ECM 11g it is mentioned WSDL Generator is not supported in it.(Actually it is used to expose IDC services as webservices).
    Anyone knows how to expose IDC services as webservices please let me know

    The WSDL generator is actually in the content server. I am unsure why the documentation states that as it seems a little misleading. Please take a look at the administration menu and you will see options for wsdl generation and you can create wsdls for all different services.

  • How to see the statistics in Oracle Cloud.

    While executing the select command, how can i see the execution plan and statistics in oracle cloud SQL Command Window
    select * from test_random where empno=1000;
    I need to find the consistent read and physical reads of the particular query.
    When I tried to execute the following command
    SET AUTOTRACE ON EXPLAIN STATISTICS
    I am getting error.

    I think you have to create it in SE11 first. Although you can probably use native SQL to access it from an ABAP program.
    Rob

  • How to See Others Concurrent Request Oracle 11i

    Hello
    How can I see others Concurrent Request, whcih is submmited by one of the Oracle USER?
    Thanks
    Discoverer

    Hi,
    You need to set "Concurrent: Report Access Level" profile option to view requests submitted by other users -- See this thread for details.
    Unable view users request output
    Unable view users request output
    Reviewing other threads which discuss the same topic should be also helpful.
    Regards,
    Hussein

  • How to see new user in RPD (Admin tool) 11g

    Hi all,
    I am trying to create new user in OBIEE 11g. I did everthing from this blog http://varanasisaichand.blogspot.com/2011/03/obiee-11g-security-creating-users-and.html
    Why I am not able to se new user in Identitiy in Admin tool? What am I missing.
    Thanks
    P.S. I found in documentation that "The screenshot below shows the Identity Manager dialog, which enables you to manage users and Application roles." http://docs.oracle.com/cd/E25054_01/bi.1111/e10543/intro.htm (1.6.3 Oracle BI Administration Tool)

    Hi,
    yeah when i put * in the set online filter i am able to see the users which i have created in weblogic. After all the users appear then i select Action-> close. Now again when i try to cross check it once again i again clicked on manage->indentity->now i dont see the users. what could be the issue?
    Thanks,
    RM

  • How to open new connection in Oracle SQL Developer ???

    Hi folks,
    I have installed SQL Developer Version 1.5.0.53 in a XP sp2 system. tried to open a Database Connection, with OR_OHCL connection name and 'hr' username & password, but when I click on Connect it showed me "Failure- Io Exception The network adapter could not establish the connection". How can i resolve this issue?
    Thanks in adavance. I need urgent reply, if not lot of replies!!!

    i need to mention that i have never used SQL Developer before. but i have done some oracle coding 1year ago when i had Oracle 9i installed in my computer. but i don't have any oracle installed in my computer. do i need to install any for using SQL Developer? i am not sure what to do?
    i want to use it for just learning. if i need to install Oracle DB which one do you guys suggest me to install ---
    1.Oracle Database 10g Express Edition (Western European)
    2.Oracle Database 10g Express Edition (Universal)
    3.Oracle Database 10g Express Client
    4. or anything else
    please help me out.
    Sarwar

  • How to see job section in "Oracle SQL Developer"

    Hi,
    I am using oracle SQL developer to connect to oracle instance unlike procedure,tables,views i am not able to see job section (we have can see in toad as job section) please help me to get locate the same.

    There's no support for jobs yet. Vote on the existing feature requests at the SQL Developer Exchange if you want to add weight for future implementation.
    If you have trouble handling them manually, you can always ask help on the SQL And PL/SQL forum...
    Thanks,
    K.
    Edited by: -K- on 20/05/2009 12:27:
    BTW, there are some job reports (Reports - All Reports - Data Dictionary Reports - Jobs), but those will list only DBMS_JOB stuff, not the DBMS_SCHEDULER ones.
    You can also create your own reports and/or User Defined Extensions to add a Jobs node inside the connection navigator, but that's for more advanced users...

  • How to create new database in oracle 9i

    how to create database in oracle 9i and create all table, trigger and fun/stored procedure in it?
    one more thing is that how to assign connection with JSP. i need code if possible.

    Roop.IT.Tech wrote:
    how to create database in oracle 9i and create all table, trigger and fun/stored procedure in it?Read the docs that come along with the database. This has nothing to do with JDBC.
    one more thing is that how to assign connection with JSP. i need code if possible.Create a DAO class which does all the JDBC task. Then create a servlet class which has an instance of the DAO class. In the doGet() or the doPost() do your DAO thing, store the result in the request scope and forward the request to a JSP. In the JSP file use JSTL/EL to display the data to the world.

Maybe you are looking for