Oracleasm Createdisk error
Hello ,
I have just been trying to label oracle disk.
here is the error I get .
[db]# oracleasm createdisk DNAT01 /dev/sddc1
Unable to open device "/dev/sddc": Device or resource busy
I have already tried the solutions that were listed for this problem, but no success.
SELINUX is already disabled.
here is some additional info ...
[db]# oracleasm querydisk /dev/sddc1
Device "/dev/sddc1" is not marked as an ASM disk
[db]# oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[db]# oracleasm configure
ORACLEASM_ENABLED=true
ORACLEASM_UID=oracle
ORACLEASM_GID=dba
ORACLEASM_SCANBOOT=true
ORACLEASM_SCANORDER=""
ORACLEASM_SCANEXCLUDE=""
Can someone help he find the solution to this problem? . highly appreciate.
Linux version is 5.3 .. running oracle 11g R2
Thanks
Saad
Edited by: Saad on Sep 18, 2011 12:45 AM
This is the metalink note, 1303976.1, I was talking about. This is another way to prove that device is busy, which we have already proved that device is busy (means used by one thing or another). Once you get mkfs working then creatdisk should work with no errors.
You can double, check that LVM, mount, RAID, MP, or similar thing is not already accessing the disk in question. For MP, you can shutdown another node, pull the cable from 2nd HBA/port and try it again. Due to limited access to your environment and due to lack of any logs, I think the options are just hit and trial and find out what is using that device. There are specific steps to implement mp, and please make sure no other VM or RAID is causing this issue.
Thanks,
Rohit Chandok
http://www.rohitchandok.com
Similar Messages
-
Asm createdisk error in root.sh
I get the following error in root.sh during RAC install
DiskGroup OCR creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15072: command requires at least 1 regular failure groups, discovered only 0
Configuration of ASM failed, see logs for details
Did not succssfully configure and start ASM
CRS-2500: Cannot stop resource 'ora.crsd' as it is not running
CRS-4000: Command Stop failed, or completed with errors.
Command return code of 1 (256) from command: /opt/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
Stop of resource "ora.crsd -init" failed
In /opt/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_gaalt-ota-odc.log ....
2010-07-02 06:31:21: Successfully created CRS resources for cluster daemon and ASM
2010-07-02 06:31:21: Checking if initial configuration has been performed
2010-07-02 06:31:21: Starting CSS in exclusive mode
2010-07-02 06:31:47: CRS-2672: Attempting to start 'ora.gipcd' on 'gaalt-ota-odc'
2010-07-02 06:31:47: CRS-2672: Attempting to start 'ora.mdnsd' on 'gaalt-ota-odc'
2010-07-02 06:31:47: CRS-2676: Start of 'ora.gipcd' on 'gaalt-ota-odc' succeeded
2010-07-02 06:31:47: CRS-2676: Start of 'ora.mdnsd' on 'gaalt-ota-odc' succeeded
2010-07-02 06:31:47: CRS-2672: Attempting to start 'ora.gpnpd' on 'gaalt-ota-odc'
2010-07-02 06:31:47: CRS-2676: Start of 'ora.gpnpd' on 'gaalt-ota-odc' succeeded
2010-07-02 06:31:47: CRS-2672: Attempting to start 'ora.cssdmonitor' on 'gaalt-ota-odc'
2010-07-02 06:31:47: CRS-2676: Start of 'ora.cssdmonitor' on 'gaalt-ota-odc' succeeded
2010-07-02 06:31:47: CRS-2672: Attempting to start 'ora.cssd' on 'gaalt-ota-odc'
2010-07-02 06:31:47: CRS-2672: Attempting to start 'ora.diskmon' on 'gaalt-ota-odc'
2010-07-02 06:31:47: CRS-2676: Start of 'ora.diskmon' on 'gaalt-ota-odc' succeeded
2010-07-02 06:31:47: CRS-2676: Start of 'ora.cssd' on 'gaalt-ota-odc' succeeded
2010-07-02 06:31:47: Querying for existing CSS voting disks
2010-07-02 06:31:47: Performing initial configuration for cluster
2010-07-02 06:31:48: Start of resource "ora.ctssd -init" Succeeded
2010-07-02 06:31:48: Configuring ASM via ASMCA
2010-07-02 06:31:48: Executing as grid: /opt/app/11.2.0/grid/bin/asmca -silent -diskGroupName OCR -diskList ORCL:OCR -redundancy EXTERNAL -configureLocalASM
2010-07-02 06:31:48: Running as user grid: /opt/app/11.2.0/grid/bin/asmca -silent -diskGroupName OCR -diskList ORCL:OCR -redundancy EXTERNAL -configureLocalASM
2010-07-02 06:31:48: Invoking "/opt/app/11.2.0/grid/bin/asmca -silent -diskGroupName OCR -diskList ORCL:OCR -redundancy EXTERNAL -configureLocalASM" as user "grid"
2010-07-02 06:31:56: Configuration of ASM failed, see logs for details
2010-07-02 06:31:56: Did not succssfully configure and start ASM
2010-07-02 06:31:56: Exiting exclusive mode
2010-07-02 06:31:57: Command return code of 1 (256) from command: /opt/app/11.2.0/grid/bin/crsctl stop resource ora.crsd -init
2010-07-02 06:31:57: Stop of resource "ora.crsd -init" failed
2010-07-02 06:31:57: Failed to stop CRSD
2010-07-02 06:32:32: Initial cluster configuration failed. See /opt/app/11.2.0/grid/cfgtoollogs/crsconfig/rootcrs_gaalt-ota-odc.log for details
[root@GAALT-OTA-ODC oracledisks]#
So I tried the command manually , first I started CSS in exclusive mode and then ran the command from the logs above.....
crsctl start resource ora.cssd -init -env CSSD_MODE=-X
Then....
[grid@GAALT-OTA-ODC ~]$ /opt/app/11.2.0/grid/bin/asmca -silent -diskGroupName OCR -diskList ORCL:OCR -redundancy EXTERNAL -configureLocalASM
Error...
DiskGroup OCR creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15072: command requires at least 1 regular failure groups, discovered only 0
I think the issue lies somewhere in my oracleasm OCR disk creation step. The create command during root.sh works when I delete the disk and use oracleasm to recreate it locally . But then the create fails on the other node. In other words the node that uses oracleasm scandisks to pick up OCR will always fail with the error above
In other words, if I run "/usr/sbin/oracleasm createdisk OCR /dev/asm/OCR " on node1, root.sh wll fail with the above error on node2. Even though scandisks detects the OCR on node2
If I run this command on node2 first, root.sh will fail on node1 . Even though scandisks detects the OCR on node1
This is a nightmare would appreciate some advice on diagnosing where the problem is with my configuration of ASM before I roll back the root.sh again !
ThanksThanks Sebastian
I tried this but I also needed to recreate the OCR disk as root.sh throws an error that it is already created, so i ran a dd on the device , then deleted OCR using oraclasm
Then I tried to recreate on first node and got
/usr/sbin/oracleasm createdisk OCR /dev/mapper/mpath3
Unable to open device "/dev/mapper/mpath3": Device or resource busy
Tried it on other node and it worked
I rolled back root.sh and then ran it again and it thows the following error
DiskGroup OCR creation failed with the following message:
ORA-15018: diskgroup cannot be created
ORA-15017: diskgroup "OCR" cannot be mounted
ORA-15003: diskgroup "OCR" already mounted in another lock name space
I decided to reboot the machines to get around the busy device. Once rebooted I was able to run oracleasm createdisk without any errors. root.sh also did not throw errors but I am not 100% confident that the root.sh was ok on the second node. Anyway I have lost my install GUI during reboot so could not complete the install anyway
So now I will deinstall everything and start again , and I will update the forum to if there was no issue and problem resolved
Thanks a lot for the pointers and your time -
Hi All,
I'm trying to create asm disk.
This is my device (750GB) fdisk configuration before i format it using mkfs.ocfs2
[root@linux02 ~]# fdisk -l /dev/sdb1
Disk /dev/sdb1: 750.1 GB, 750153729024 bytes
255 heads, 63 sectors/track, 91200 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1p1 1 123 987966 83 Linux
/dev/sdb1p2 124 6203 48837600 83 Linux
/dev/sdb1p3 6204 12283 48837600 83 Linux
/dev/sdb1p4 12284 24442 97667167+ 83 Linux
When i come to create an ASM partition on /dev/sdb1p2 it gives me the foolowing error
[root@linux01 ~]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
Marking disk "/dev/sdb1" as an ASM disk: asmtool: Unable to clear device "/dev/sdb1": Input/output error
FAILED]
When i tried to create an asm disk on the whole disk it gives me
[root@linux02 ~]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
Marking disk "/dev/sdb1" as an ASM disk: asmtool: Unable to clear device "/dev/sdb1": Input/output error
FAILED]
What should i do?!!
Please Help me Guys.Hi,
I tried to do on p1 partition but it also did not work. orcfs2 was running so it was locking the partition (i figure it out). I made stop for ocfs2 then created the disk using oraclasm on sdb1 and it did not work on sdb1px (I don't know why!!!).
Now if i go to fdisk -l /dev/sdb1 it does not recognize the partition table.
[root@linux01 /]# fdisk -l
Disk /dev/sda: 80.0 GB, 80032038912 bytes
255 heads, 63 sectors/track, 9730 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 13 104391 83 Linux
/dev/sda2 14 9730 78051802+ 8e Linux LVM
Disk /dev/sdb: 750.1 GB, 750156374016 bytes
255 heads, 63 sectors/track, 91201 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 91201 732572001 83 Linux
but when i execute this:
[root@linux01 /]# fdisk -l /dev/sdb1
Disk /dev/sdb1: 750.1 GB, 750153729024 bytes
255 heads, 63 sectors/track, 91200 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk /dev/sdb1 doesn't contain a valid partition table
What is missing here?!!! -
Hi all,
Oracle unbreakable linux
oracle 10.2.0.1
I got this error while mark ing the disks for use by ASMLib
/etc/init.d/oracleasm createdisk VOL1 [failed]
I already performed the steps mentioned below
uname -rm
Ex:
# uname -rm
2.6.9-22.ELsmp i686
The example shows that this is a 2.6.9-22 kernel for an SMP (multiprocessor) box using Intel i686 CPUs.
Use this information to find the correct ASMLib packages on OTN:
1. Point your Web browser to http://www.oracle.com/technology/tech/linux/asmlib/index.html
2. Select the link for your version of Linux.
3. Download the oracleasmlib and oracleasm-support packages for your version of Linux
4. Download the oracleasm package corresponding to your kernel. In the example above, the oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm package was used.
Next, install the packages by executing the following command as root:
rpm -Uvh oracleasm-kernel_version-asmlib_version.cpu_type.rpm \
oracleasmlib-asmlib_version.cpu_type.rpm \
oracleasm-support-asmlib_version.cpu_type.rpm
Ex:
# rpm -Uvh \
> oracleasm-2.6.9-22.ELsmp-2.0.0-1.i686.rpm \
> oracleasmlib-2.0.1-1.i386.rpm \
> oracleasm-support-2.0.1-1.i386.rpm
Preparing... ########################################### [100%]
1:oracleasm-support ########################################### [ 33%]
2:oracleasm-2.6.9-22.ELsm########################################### [ 67%]
3:oracleasmlib ########################################### [100%]
Configuring ASMLib
Before using ASMLib, you must run a configuration script to prepare the driver. Run the following command as root, and answer the prompts as shown in the example below.
# /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 []: dba
Start Oracle ASM library driver on boot (y/n) [n]: y
Fix permissions of Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: [ OK ]
Creating /dev/oracleasm mount point: [ OK ]
Loading module "oracleasm": [ OK ]
Mounting ASMlib driver filesystem: [ OK ]
Scanning system for ASM disks: [ OK ]
but when i tried this
/etc/init.d/oracleasm createdisk VOL1 /dev/sda2
Marking disk "/dev/sda2" as an ASM disk: [ Failed]
i got this error
Please give me the solution,
ThanksI have found this on /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...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Unable to open device "/dev/sda": Device or resource busy
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda2": Device or resource busy
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...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Unable to open device "/dev/sda": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda2": Device or resource busy
Unable to query file "/dev/sda2p1": No such file or directory
Unable to open device "/dev/sda1": Device or resource busy
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to open device "/dev/sda2": Device or resource busy
Unable to open device "/dev/sda1": Device or resource busy
Unable to open device "/dev/sda": Device or resource busy
Unable to query file "/dev/sdap1": No such file or directory
Disk "VOL1" does not exist or is not instantiated
Unable to query file "/dev/sdap1": No such file or directory
Unable to query file "/dev/sda2p1": No such file or directory
Unable to query file "/dev/sdap1": No such file or directory
Reloading disk partitions: done
Cleaning any stale ASM disks...
Scanning system for ASM disks...
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-0": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
oracleasm-read-label: Unable to open device "/dev/dm-1": No such file or directory
Unable to query file "/dev/sda2p2": No such file or directory
Unable to query file "/dev/sda2p2": No such file or directory
Unable to query file "/dev/sda2p3": No such file or directory
Unable to query file "/dev/sda2p4": No such file or directory
Unable to query file "/dev/sda2p2": No such file or directory
Unable to query file "/dev/sda2p3": No such file or directory
Unable to query file "/dev/sda2p4": No such file or directory
Unable to open device "/dev/sda3": Device or resource busy -
/etc/init.d/oracleasm createdisk FAILED
Hi DBAs,
We got this error when creating asm disk using /etc/init.d/oracleasm create disk. The disks are HDS and EMC Powerpath. Any advices are greatly appreciated.
Below are the steps we've done:
[root@host1]# /etc/init.d/oracleasm createdisk ocrdisk1 /dev/raw/raw1
Marking disk "ocrdisk1" as an ASM disk: [FAILED]
cat /etc/sysconfig/rawdevices
# raw device bindings
# format: <rawdev> <major> <minor>
# <rawdev> <blockdev>
# example: /dev/raw/raw1 /dev/sda1
# /dev/raw/raw2 8 5
/dev/raw/raw1 /dev/emcpowerb
[root@host1]# /sbin/service rawdevices restart
Assigning devices:
/dev/raw/raw1 --> /dev/emcpowerz
/dev/raw/raw1: bound to major 120, minor 16
done
[root@host1]# set -o vi
[root@host1]# /etc/init.d/oracleasm createdisk ocrdisk1 /dev/raw/raw1
Marking disk "ocrdisk1" as an ASM disk: [FAILED]Thanks for sharing the solution ..
Please mark the thread as answered.
Regards
Rajesh -
Oracleasm createdisk just like pvcreate by LVM?
Hello
so before I create ASM diskgroup I need to oracleasm createdisk frist.
So,Does it like "pvcreate" on LVM ?Hi,
What is your OS?
The command is for example /etc/init.d/oracleasm createdisk ASMDATA /dev/sdc1, this command will mark partition /dev/sdc1 as an ASM Disk
Cheers -
I am using 11.2.0.1.0 on RHEL5. There is a database that is running on ASM. Database is properly working. Now I want to create additional asm disks . And, for I have configured new loop back devices. oracelasm craetedisk comamnd fails by saying:
[oracle@host1 ~]$ oracleasm createdisk ASMDISK08 /dev/xvd8
Writing disk header: done
Instantiating disk: failed
Clearing disk header: done
[root@host1 ~]# ls -l /dev/xvd*
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd1 -> /dev/loop1
lrwxrwxrwx 1 root root 11 Oct 25 15:38 /dev/xvd10 -> /dev/loop10
lrwxrwxrwx 1 root root 11 Oct 25 15:38 /dev/xvd11 -> /dev/loop11
lrwxrwxrwx 1 root root 11 Oct 25 15:38 /dev/xvd12 -> /dev/loop12
lrwxrwxrwx 1 root root 11 Oct 25 15:38 /dev/xvd13 -> /dev/loop13
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd2 -> /dev/loop2
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd3 -> /dev/loop3
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd4 -> /dev/loop4
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd5 -> /dev/loop5
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd6 -> /dev/loop6
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd7 -> /dev/loop7
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd8 -> /dev/loop8
lrwxrwxrwx 1 root root 10 Oct 25 15:38 /dev/xvd9 -> /dev/loop9
[root@host1 ~]# ls -l /dev/loop[1-9]
brw-rw-rw- 1 oracle oinstall 7, 1 Oct 25 15:37 /dev/loop1
brw-rw-rw- 1 oracle oinstall 7, 2 Oct 25 15:37 /dev/loop2
brw-rw-rw- 1 oracle oinstall 7, 3 Oct 25 15:37 /dev/loop3
brw-rw-rw- 1 oracle oinstall 7, 4 Oct 25 15:37 /dev/loop4
brw-rw-rw- 1 oracle oinstall 7, 5 Oct 25 15:37 /dev/loop5
brw-rw-rw- 1 oracle oinstall 7, 6 Oct 25 15:37 /dev/loop6
brw-rw-rw- 1 oracle oinstall 7, 7 Oct 25 15:37 /dev/loop7
brw-rw-rw- 1 oracle oinstall 7, 8 Oct 25 15:38 /dev/loop8
brw-rw-rw- 1 oracle oinstall 7, 9 Oct 25 15:38 /dev/loop9
[root@host1 ~]# getenforce
Disabled
SQL> startup
ASM instance started
Total System Global Area 284565504 bytes
Fixed Size 1336036 bytes
Variable Size 258063644 bytes
ASM Cache 25165824 bytes
ASM diskgroups mounted
ASM diskgroups volume enabled
Any idea? where is the issue?
Thanks and regardsduplicate post
oracleasm createdisk failed
Edited by: rcc50886 on Oct 29, 2012 11:39 AM -
Hi everybody,
On Oracle Linux I have installed oracle 10.2.0 and I want to deploy asm. I installed css service and ASM instance which both run. Then to create a disk group I made a partition with fdisk and initialized it with os volume maneger, it is called /dev/sda12 and is unmounted. When I issue:
./oracleasm createdisk ASMSDK /dev/sda12
it returns this error:
Marking disk "/dev/sda12" as an ASM disk: Error opening manager: No such device
or address [FAILED]
What's up?Here is the output of ls command for my partition. This time I have created it with fdisk.
[root@IT-LAB init.d]# ls -al /dev/sda12
brw-rw-rw- 1 root disk 8, 12 Apr 19 2007 /dev/sda12
The problem still exists. Nobody knows the reason?! -
Oracleasm lib failed to load with "Invalid module format" error
Hi,
I'm tring to install the oracleasm lib onto our hardened Redhat EL5 server
I've download the oracleasm rpm from this page http://www.oracle.com/technology/software/tech/linux/asmlib/rhel5.html.
We're using Redhat 5 U 2
[root@PG673 modules]# uname -rm
2.6.18-92.el5 x86_64
[root@PG673 modules]#
The package I downloaded is an exact match with our kernel version
[root@PG673 modules]# rpm -qa | grep asm
oracleasm-2.6.18-92.el5-2.0.5-1.el5
oracleasm-support-2.1.3-1.el5
oracleasm-support-2.1.3-1.el5
oracleasm-2.6.18-92.el5-2.0.5-1.el5
oracleasmlib-2.0.4-1.el5
oracleasmlib-2.0.4-1.el5
[root@PG673 modules]#
RPM installation went well, but when we run the /etc/init.d/oracleasm configure command, we hit the following error
[root@PG673 other]# /etc/init.d/oracleasm configure
/etc/init.d/oracleasm: line 207: /usr/sbin/oracleasm: cannot execute binary file
Later we found out that the oracleasm module haven't been loaded, so we try to load it manually, but we hit the "Invalid module format" error.
[root@PG673 modules]# modprobe -l | grep asm
/lib/modules/2.6.18-92.el5/kernel/drivers/addon/oracleasm/oracleasm.ko
[root@PG673 modules]# modprobe oracleasm
FATAL: Error inserting oracleasm (/lib/modules/2.6.18-92.el5/kernel/drivers/addon/oracleasm/oracleasm.ko): Invalid module format
[root@PG673 modules]#
As I know this error could happen if the driver version is not match with the system kernel version.
The problem is we're already using an exact match version of driver with our system, I can't think of what to do next in order to proceed the installation.
Really appreciate if someone could point me a direction.
Thanks
MikeHi Mike,
something looks a bit strange for me. On my OEL 5.4 x64 system i have just the following 3 packages:
$ rpm -qa | grep asm
oracleasm-2.6.18-164.el5-2.0.5-1.el5
oracleasm-support-2.1.3-1.el5
oracleasmlib-2.0.4-1.el5 Your packages should be I think the following:
http://oss.oracle.com/projects/oracleasm-support/dist/files/RPMS/rhel5/amd64/2.1.3/oracleasm-support-2.1.3-1.el5.x86_64.rpm
http://otn.oracle.com/software/tech/linux/asmlib/files/RPMS/rhel5/amd64/2.0.4/oracleasmlib-2.0.4-1.el5.x86_64.rpm
http://oss.oracle.com/projects/oracleasm/dist/files/RPMS/rhel5/amd64/2.0.5/2.6.18-92.el5/oracleasm-2.6.18-92.el5-2.0.5-1.el5.x86_64.rpm
Uninstall all asm packages and retry with just those three.
Good luck!
Cheers,
David
OCP 9i / 10g
http://www.oratoolkit.ch/knowledge/howto/installation/otn.php -
Hi,
I have a problem with oracleasm.
I marking disk /etc/init.d/oracleasm createdisk VOL1 /dev/sdb1
The marking disk "/dev/sdb1" was success.
*#Marking disk "/dev/sdb1" as an ASM disk: [ OK ]*
Next I create diskgroup DATA using VOL1 and leater create database using diskgroup DATA (VOL1).
Now I install EMC powerpuff and create link /dev/mapper1.
! dev/mapper1 = /dev/sdb1
Now I want to change disk /dev/sdb1 to /dev/mapper1 for VOL1 (in the VOL1 I have a production database)
Thanks for helpHi,
as far as I have seen, Oracle redesigned a lot of their homepage.
This lead to a lot of problems with the download links (some asmlib libraries could not be downloaded from the homepage).
I assume that the error you are encountering hits into the same issue. Just that you are "updating" and getting a wrong URL instead of using the browser.
I would open a SR with support to get this resolved.
Sebastian -
Hello -
I installed and configured asmlib on Linux RH 5...
I am getting the following error when running the oracleasm command "createdisk":
Default user to own the driver interface [oracle]:
Default group to own the driver interface [dba]:
Start Oracle ASM library driver on boot (y/n) [y]:
Fix permissions of Oracle ASM disks on boot (y/n) [y]:
Writing Oracle ASM library driver configuration: [ OK ]
Scanning system for ASM disks: [FAILED]
[root@magdbd01a init.d]# ./oracleasm createdisk /dev/sdf
Action "createdisk" requires two arguments
[root@magdbd01a init.d]# ./oracleasm createdisk ASM_VOL1 /dev/sdf
Marking disk "/dev/sdf" as an ASM disk: ./oracleasm: line 541: /usr/sbin/asmtool: cannot execute binary file
[FAILED]
Any assistance is greatly appreciated!
Thanks,
MikeHello -
Here is the additional information:
Linux magdbd01a 2.6.18-92.1.10.el5 #1 SMP Wed Jul 23 03:56:11 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
[root@magdbd01a init.d]# rpm -qa| grep asm
oracleasm-2.6.18-92.1.10.el5-2.0.4-1.el5
oracleasm-support-2.0.4-1.el5
hpasm-8.0.0-173.rhel5
oracleasmlib-2.0.3-1.el5
[root@magdbd01a init.d]# /sbin/lsmod
Module Size Used by
mptctl 63817 1
mptbase 111461 1 mptctl
ipmi_si 75680 3
ipmi_devintf 44432 6
ipmi_msghandler 72052 2 ipmi_si,ipmi_devintf
hp_ilo 69756 5
oracleasm 81576 1
autofs4 57289 2
hidp 83521 2
rfcomm 104809 0
l2cap 89281 10 hidp,rfcomm
bluetooth 118597 5 hidp,rfcomm,l2cap
sunrpc 198025 1
dm_multipath 52945 0
video 53197 0
sbs 49921 0
backlight 39873 1 video
i2c_ec 38593 1 sbs
i2c_core 56129 1 i2c_ec
button 40545 0
battery 43849 0
asus_acpi 50917 0
acpi_memhotplug 40133 0
ac 38729 0
ipv6 420609 152
xfrm_nalgo 43845 1 ipv6
crypto_api 42177 1 xfrm_nalgo
parport_pc 62313 0
lp 47121 0
parport 73165 2 parport_pc,lp
sg 69993 0
shpchp 70765 0
ide_cd 73697 0
serio_raw 40517 0
pcspkr 36289 0
bnx2 173917 0
e1000e 133889 0
cdrom 68713 1 ide_cd
dm_snapshot 50569 0
dm_zero 35265 0
dm_mirror 60489 0
dm_mod 99481 10 dm_multipath,dm_snapshot,dm_zero,dm_mirror
lpfc 331809 27
scsi_transport_fc 73673 1 lpfc
ata_piix 54981 0
libata 192345 1 ata_piix
cciss 98121 3
sd_mod 56257 5
scsi_mod 188665 8 mptctl,sg,lpfc,scsi_transport_fc,libata,cciss,sd_mod
ext3 167249 2
jbd 93873 1 ext3
uhci_hcd 57433 0
ohci_hcd 54493 0
ehci_hcd 65741 0
I will find out from my admin if powerpath is installed.
Thanks,
Mike -
Registering disks with oracleasm
Hello,
I am new to ASM and am having trouble getting the oracleasm to recognize my disks. I had the SA set up and present the logical volumnes as follows:
[root@remarkable db_1]# cat /proc/partitions
major minor #blocks name
3 0 209715200 hda
3 1 104391 hda1
3 2 209608087 hda2
253 0 115474432 dm-0
253 1 10223616 dm-1
253 2 26214400 dm-2 <==
253 3 26214400 dm-3 <==
253 4 31457280 dm-4 <==
[root@remarkable ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/VolGroup00-LogVol00
107G 99G 3.6G 97% /
/dev/hda1 99M 28M 67M 29% /boot
tmpfs 4.0G 0 4.0G 0% /dev/shm
/dev/mapper/VolGroup00-LogVol001
25G 4.2G 20G 18% /disk1 <==
/dev/mapper/VolGroup00-LogVol002
25G 7.1G 17G 31% /disk2 <==
/dev/mapper/VolGroup00-LogVol003
30G 280M 28G 1% /disk3 <==
But when I try to create the disks with oracleasm I get the following:
[root@remarkable ~]# oracleasm createdisk VOL1 /dev/mapper/VolGroup00-LogVol001
Unable to open device "/dev/mapper/VolGroup00-LogVol001": Device or resource busy
[root@remarkable ~]#
[root@remarkable ~]# oracleasm createdisk VOL2 /dev/mapper/VolGroup00-LogVol002
Unable to open device "/dev/mapper/VolGroup00-LogVol002": Device or resource busy
[root@remarkable ~]#
[root@remarkable ~]# oracleasm createdisk VOL3 /dev/mapper/VolGroup00-LogVol003
Unable to open device "/dev/mapper/VolGroup00-LogVol003": Device or resource busy
[root@remarkable ~]#
[root@remarkable ~]# oracleasm createdisk VOL1 /disk1
File "/disk1" is not a block device
[root@remarkable ~]#
[root@remarkable ~]# oracleasm createdisk VOL2 /disk2
File "/disk2" is not a block device
[root@remarkable ~]#
[root@remarkable ~]# oracleasm createdisk VOL3 /disk3
File "/disk3" is not a block device
Any input would be appreciated!Thank you. That is helpful. I can see my disks in ASMCMD.
-bash-3.2$ asmcmd
ASMCMD> ls
DATA/
ASMCMD> cd DATA
ASMCMD> ls
ASM/
GC11G/
RMAN11G/
ASMCMD> cd GC11g
ASMCMD> ls
ARCHIVELOG/
CONTROLFILE/
DATAFILE/
ONLINELOG/
PARAMETERFILE/
TEMPFILE/
control01.ctl
control02.ctl
redo01.log
redo02.log
redo03.log
spfilegc11g.ora
sysaux01.dbf
system01.dbf
temp01.dbf
undotbs01.dbf
users01.dbf
ASMCMD> ls -l
Type Redund Striped Time Sys Name
Y ARCHIVELOG/
Y CONTROLFILE/
Y DATAFILE/
Y ONLINELOG/
Y PARAMETERFILE/
Y TEMPFILE/
N control01.ctl => +DATA/GC11G/CONTROLFILE/Current.275.758369899
N control02.ctl => +DATA/GC11G/CONTROLFILE/Current.276.758369899
N redo01.log => +DATA/GC11G/ONLINELOG/group_1.277.758369913
N redo02.log => +DATA/GC11G/ONLINELOG/group_2.278.758369915
N redo03.log => +DATA/GC11G/ONLINELOG/group_3.279.758369919
N spfilegc11g.ora => +DATA/GC11G/PARAMETERFILE/spfile.281.758369999
N sysaux01.dbf => +DATA/GC11G/DATAFILE/SYSAUX.272.758369813
N system01.dbf => +DATA/GC11G/DATAFILE/SYSTEM.271.758369813
N temp01.dbf => +DATA/GC11G/TEMPFILE/TEMP.280.758369927
N undotbs01.dbf => +DATA/GC11G/DATAFILE/UNDOTBS1.273.758369813
N users01.dbf => +DATA/GC11G/DATAFILE/USERS.274.758369813
I have shutdown my gc11g database and am trying to restart it but am getting the following error message:
SQL> startup nomount
ORA-01078: failure in processing system parameters
ORA-01565: error in identifying file '+DATA/gc11g/spfilegc11g.ora'
ORA-17503: ksfdopn:2 Failed to open file +DATA/gc11g/spfilegc11g.ora
ORA-27140: attach to post/wait facility failed
ORA-27300: OS system dependent operation:invalid_egid failed with status: 1
ORA-27301: OS failure message: Operation not permitted
ORA-27302: failure occurred at: skgpwinit6
ORA-27303: additional information: startup egid = 500 (oracle), current egid = 503 (dba)
It seems the system cannot see the ASM datafiles? I did a search on the error messages. I do not think this is a memory or semaphore issue. I think the system cannot see the ASM files but am not sure why. I think it might be a tnsnames.ora or listener.ora error. If I login as the Oracle user and set the ORACLE_SID to gc11g I can connect to the gc11g database (or I could when it was up) but I cannot do an external connect to or tnsping the +ASM instance.
-bash-3.2$ echo $ORACLE_SID
gc11g
-bash-3.2$ tnsping +ASM
TNS Ping Utility for Linux: Version 11.2.0.1.0 - Production on 08-AUG-2011 13:06:11
Copyright (c) 1997, 2009, Oracle. All rights reserved.
Used parameter files:
/oracle/oracle/product/11.2.0/db_1/network/admin/sqlnet.ora
TNS-03505: Failed to resolve name
-bash-3.2$
-bash-3.2$ sqlplus system/dbas4ever@+ASM
SQL*Plus: Release 11.2.0.1.0 Production on Mon Aug 8 13:06:25 2011
Copyright (c) 1982, 2009, Oracle. All rights reserved.
ERROR:
ORA-12154: TNS:could not resolve the connect identifier specified -
[root@rac1 etc]# /sbin/sfdisk -s
/dev/sda: 20971520
/dev/sdb: 524288
/dev/sdc: 3145728
/dev/sdd: 3145728
/dev/sde: 2097152
[root@rac1 etc]#
[root@rac1 etc]# /etc/init.d/oracleasm createdisk VOL1 /dev/sdc1
Marking disk "/dev/sdc1" as an ASM disk: Error opening manager: No such device or address
[FAILED]
[root@rac1 etc]#user551201 wrote:
[root@rac1 etc]# /sbin/sfdisk -s
/dev/sda: 20971520
/dev/sdb: 524288
/dev/sdc: 3145728
/dev/sdd: 3145728
/dev/sde: 2097152i dont see /dev/sdc1 here which you tryied to configure below.
[root@rac1 etc]#
[root@rac1 etc]# oracleasm createdisk
Marking disk "/dev/sdc1" as an ASM disk: Error opening manager: No such device or addressit seems that you are specifying partition that dont exists.
[FAILED]
[root@rac1 etc]# -
11gR2 RAC installation : /usr/sbin/oracleasm: No such file or directory
Hi,
While creating the ASM disks, getting the following error
[root@rac1 ~]# /usr/sbin/oracleasm createdisk DISK1 /dev/sdb1
-bash: /usr/sbin/oracleasm: No such file or directory
[root@rac1 sbin]# ls -ltr oracleasm*
-rwxr-xr-x 1 root root 7496 Mar 19 2009 oracleasm-discover
But I see oracleasm is available under /etc/init.d, and I have created ASM disks with that, Is it okay ???
[root@rac1 ~]# /etc/init.d/oracleasm createdisk DISK1 /dev/sdb1
Marking disk "/dev/sdb1" as an ASM disk: [ OK ]
[root@rac1 ~]# /etc/init.d/oracleasm listdisks
DISK1
FYI...
[root@rac1 ~]# rpm -qa|grep -i asm
oracleasm-support-2.0.4-1.el5
oracleasmlib-2.0.4-1.el5
oracleasm-2.6.18-92.el5-2.0.4-1.el5
oracleasm-2.6.18-92.0.0.0.1.el5-2.0.4-1.el5
[root@rac1 ~]# uname -a
Linux rac1.appsdba.info 2.6.18-92.el5 #1 SMP Fri May 23 23:40:43 EDT 2008 x86_64 x86_64 x86_64 GNU/Linux
Thanks.
-Joy.
Edited by: user11952526 on Aug 9, 2012 2:25 PMBut I see oracleasm is available under /etc/init.d, and I have created ASM disks with that, Is it okay ???Yes
-
ASMlib keeps return "Instantiating disk: failed" while trying to create ASM disks. It happens on both Clariion and Symmetrix devices.
[root@sgelxha198 ~]# uname -a
Linux sgelxha198 2.6.32-100.28.5.el6.x86_64 #1 SMP Wed Feb 2 18:40:23 EST 2011
x86_64 x86_64 x86_64 GNU/Linux
[root@sgelxha198 ~]# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.0 (Santiago)
[root@sgelxha198 ~]# rpm -aq |grep oracleasm
oracleasm-support-2.1.5-1.el6.x86_64
[root@sgelxha198 ~]# syminq |grep mpath
/dev/mapper/mpatha DGC RAID 5 0531 160018CC 5242880
/dev/mapper/mpathb DGC RAID 3 0531 170018CD 5242880
/dev/mapper/mpathc DGC RAID 1 0531 180018CE 5242880
/dev/mapper/mpathd DGC RAID 10 0531 190018CF 5242880
/dev/mapper/mpathe DGC VRAID 0531 1A4CE9B7 104857600
/dev/mapper/mpathf DGC VRAID 0531 1B4CE9B7 104857600
/dev/mapper/mpathah EMC SYMMETRIX 5875 1600050000 N/A
/dev/mapper/mpathai EMC SYMMETRIX 5875 1600E44000 5280000
/dev/mapper/mpathaj EMC SYMMETRIX 5875 1600E45000 5280000
/dev/mapper/mpathak EMC SYMMETRIX 5875 1600E46000 5280000
/dev/mapper/mpathal EMC SYMMETRIX 5875 1600E47000 5280000
/dev/mapper/mpatham EMC SYMMETRIX 5875 1600E48000 5280000
[root@sgelxha198 ~]# ls -l /dev/mapper/*p1
lrwxrwxrwx. 1 root root 8 Feb 9 03:13
/dev/mapper/360060160f6102900507cc7b2c3f5df11p1 -> ../dm-16
lrwxrwxrwx. 1 root root 8 Feb 9 03:30 /dev/mapper/mpathahp1 -> ../dm-18
lrwxrwxrwx. 1 root root 8 Feb 9 03:30 /dev/mapper/mpathaip1 -> ../dm-23
lrwxrwxrwx. 1 root root 8 Feb 9 03:30 /dev/mapper/mpathajp1 -> ../dm-24
lrwxrwxrwx. 1 root root 8 Feb 9 03:30 /dev/mapper/mpathakp1 -> ../dm-25
lrwxrwxrwx. 1 root root 8 Feb 9 03:30 /dev/mapper/mpathalp1 -> ../dm-26
lrwxrwxrwx. 1 root root 8 Feb 9 03:30 /dev/mapper/mpathamp1 -> ../dm-27
lrwxrwxrwx. 1 root root 7 Feb 9 03:30 /dev/mapper/mpathap1 -> ../dm-8
lrwxrwxrwx. 1 root root 7 Feb 9 03:30 /dev/mapper/mpathbp1 -> ../dm-9
lrwxrwxrwx. 1 root root 8 Feb 9 03:30 /dev/mapper/mpathcp1 -> ../dm-10
lrwxrwxrwx. 1 root root 8 Feb 9 03:30 /dev/mapper/mpathdp1 -> ../dm-12
lrwxrwxrwx. 1 root root 8 Feb 9 03:30 /dev/mapper/mpathep1 -> ../dm-11
lrwxrwxrwx. 1 root root 8 Feb 9 03:30 /dev/mapper/mpathfp1 -> ../dm-13
[root@sgelxha198 log]# oracleasm status
Checking if ASM is loaded: yes
Checking if /dev/oracleasm is mounted: yes
[root@sgelxha198 log]#
[root@sgelxha198 ~]# oracleasm createdisk cxdisk /dev/mapper/mpathap1
Writing disk header: done
Instantiating disk: failed
Clearing disk header: done
[root@sgelxha198 ~]# oracleasm createdisk vmaxdisk /dev/mapper/mpathaip1
Writing disk header: done
Instantiating disk: failed
Clearing disk header: done
mpatha (360060160f6102900505745e1c3f5df11) dm-3 DGC,RAID 5
size=5.0G features='0' hwhandler='1 alua' wp=rw
|-+- policy='round-robin 0' prio=50 status=active
| `- 3:0:0:1 sdj 8:144 active ready running
`-+- policy='round-robin 0' prio=10 status=enabled
`- 2:0:0:1 sdb 8:16 active ready running
[root@sgelxha198 ~]# multipath -ll mpathai
mpathai (360000970000192602316533030453434) dm-17 EMC,SYMMETRIX
size=5.0G features='0' hwhandler='0' wp=rw
`-+- policy='round-robin 0' prio=1 status=active
|- 2:0:1:1 sdr 65:16 active ready running
`- 3:0:1:1 sdq 65:0 active ready runningAccording to http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html No ASMLIB driver package needs to be installed when using this kernel. Moreover doing a search on ASM related rpm in ULN, I can only get what's shown here:
[root@sgelxha198 ~]# yum search oracleasm
Loaded plugins: refresh-packagekit, rhnplugin
======================================================== Matched: oracleasm ========================================================
oracleasm-support.x86_64 : The Oracle Automatic Storage Management support programs.
I even uninstalled oracleasm-support-2.1.5-1.el6.x86_64 and reinstalled with earlier version (oracleasmlib-2.0.4-1.el5.x86_64.rpm & oracleasm-support-2.1.3-1.el5.x86_64.rpm), but I still get the same result.
I suspect that the integrated ASMLIB driver doesnt work well.
Maybe you are looking for
-
IPod will not sync. Cannot be found/File not found
I have a older video iPod. Yesterday I did a sync and it worked fine. Then I purchased songs from the iTunes store and now it will not sync. I downloaded the latest version of iTunes but it still won't sync. When I connect iPod I get a box saying upd
-
I have a windows Xp system with Microsoft SQL Server 2005 setup and using java 1.6 I'm using the JDBC-ODBC Bridge and also setup the DSN and that works fine. The following code worked fine a few days back but now every time I enter a row of data and
-
Cisco 851W - Internal WLAN and Guest WLAN
I have a Cisco 851W Router, which has an IPSEC Tunnel back to my corporate office. I want to configure 2 WLANS, one for my internal network (vlan 1) which will have access to my corporate network, and one for guests which will just be for outbound in
-
Plz check the code and tell me necessary modifications
report Z_PHANIBDC2 no standard page heading line-size 255. include bdcrecx1. PARAMETERS:P_FILE LIKE RLGRAP-FILENAME DEFAULT 'C:Documents and Settingssarath.vempatiDesktopphani1.TXT' OBLIGATORY DATA: BEGIN OF RECORD1 OCCURS 0, LIFNR(0
-
Hello Friends, Im using alv with checkbox and im getting selected checkbox values in my internal table but now i want to pass this internal table to another transaction and want to display the same in table control in screen painter. also when the us