Author Archives: Ronny Egner

ORA-07217: sltln: environment variable cannot be evaluated when backing up with RMAN

When setting up a RMAN backup to tape i encountered the following issue on a Oracle 9.2 database (not sure if it applies to older database versions; i´d say no…): RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: … Continue reading

Posted in Oracle in general | Leave a comment

Networker: Add a user to the Administrator list from the command line

In case you locked yourself out of the Networker you can add a user from the command line with the following command:   nsraddadmin -u “user=administrator, host=machine1”

Posted in Oracle in general | Leave a comment

Exadata: How to rename grid disks

  Just a short how to rename grid disks (and keep the size). In the example below the grid disks name contained a typo ‘FALSH02’ and had to be renamed to ‘FLASH02’: dcli -c exadata01cel01 -l root “cellcli -e drop … Continue reading

Posted in Oracle in general | Leave a comment

ORA-39123: Data Pump transportable tablespace job aborted / ORA-01240: too many data files to add in one command

Today i ran into a good example for really really bad error messages: Imagine a tablespace with 720 datafiles (approx 22 TB in total size) which should be transported via transportable tablespace. For this you created a plain, new 11.2 … Continue reading

Posted in Oracle in general | Leave a comment

Query for Tablespace usage with Autoextend

Sine i need to check the maximum size of tablespace with autoextend enabled i write the following query: set linesize 100 set pagesize 100 select                 a.tablespace_name,                 round(SUM(a.bytes)/(1024*1024*1024)) CURRENT_GB,                 round(SUM(decode(b.maxextend, null, A.BYTES/(1024*1024*1024), b.maxextend*8192/(1024*1024*1024)))) MAX_GB,                 (SUM(a.bytes)/(1024*1024*1024) – round(c.Free/1024/1024/1024)) … Continue reading

Posted in Oracle in general | 5 Comments

Linux: Configuring iSCSI Multipathing

A few days before i posted a short howto how to configure iSCSI multipathing with Nexenta. This post covers the configuration of the linux initiator using iSCSI multipathing. Before we start a preleminary note: It is a very good idea … Continue reading

Posted in UNIX | Leave a comment

Nexenta: Configuring iSCSI Multipath Target with multiple network cards

This is a short post about how to configure iSCSI multipathing using Nexenta. I let it is neccessary to document it since the documentation is rather spare about it. In my lab setup i had a machine with two physically … Continue reading

Posted in Oracle in general | 9 Comments

Using ASMLib with Oracle Unbreakable Kernel (UEK)

Starting with the Oracle Unbreakable Enterprise Linux Kernel (UEK) the ASMlib drivers are now included in the kernel. This means that updating the kernel does not require installing the appropriate kernel modules as well. In addition to the kernel modules … Continue reading

Posted in Oracle in general | Leave a comment

Nexenta: Convert syspool to AHCI drivers

When using Nexenta it is highly recommended to attach the syspool disks via AHCI instead of SATA. Attaching them via SATA might cause I/O errors leading to complete outages. The only way to solve this is to replace the driver … Continue reading

Posted in Opensolaris, Openstorage | 2 Comments

“Exiting Time2Retain handler because session_reinstatement=1” with LIO (linux-iscsi.org iSCSI implementation)

I just migrated my Ubuntu iSCSI storage server to Ubuntu 12.04 which ships with a new iSCSI implementation: LIO (linux-iscsi.org). Aside from the fact that this project lacks a HUGE amount of documentation I want to share this problem with … Continue reading

Posted in Oracle in general | 1 Comment