Create a tablespace on usb harddrive?

Hi,
I am runnning 10g db on my notebook and got a taks to do some transformation of data in plsql. I get data as flat file and use sqlloader to load it into db which is working really great
(ca 10.000.000 rows in 5 minutes with DIRECT=TRUE!).
Any way, now a start getting into troubles since my harddrive running out of space.
I thought now prob I just create a new tablespace and tell oracle to create the datafile
on my usbhardrive like
create tablespace ts_usb
datafile 'F:/tablespaces/ts_usb_index.dbf'
     size 300M
autoextend on
extent management local;
Oracle's answer on this one:
ORA-01119: error in creating database file 'F:/tablespaces/ts_usb_index.dbf'
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
And I guess this is correct, but how can I solved it?
Thanks!

Sorry, it was
create tablespace ts_corona
datafile 'F:\tablespaces\ts_usb_index.dbf'
size 300M
autoextend on
extent management local;
Still the same error
ORA-01119: error in creating database file 'F:\tablespaces\ts_usb_index.dbf'
ORA-27040: file create error, unable to create file
OSD-04002: unable to open file
O/S-Error: (OS 3) The system cannot find the path specified.
Any ideas from OCM's? :-)

Similar Messages

  • (10g) Possible to create tablespace on USB hard drive?

    I've been trying unsuccessfully to get something to work, without success so far. After the hurricanes of recent years we realized that with widespread power outages and network problems, being able to put our database on standalone laptops would be very useful for our field people. The full database is too large, but if I exclude the stored documents, it becomes manageable. Unfortunately, my management wants to have the option of including some documents. My thought was to create a separate tablespace to hold just that table, and put the tablespace on a USB hard drive, so if the field scientist didn't want the documents, they could just leave the external hard drive in the office. But I can't create the tablespace to test this out - I keep getting an ORA-27044 "unable to write header block" followed by "There is not enough space on the disk". I'm trying to create a 10GB tablespace, the external drive has 300GB free. Am I running into a Windows/USB restriction?
    (I know there would be a problem with not having the tablespace available if the field guy didn't take the USB drive, but I'm trying to get past this problem first)
    Thanks,
    Harry

    I currently have a 4GB pendrive but not a USB external hard disk.
    I have been able to create a tablespace on this pen drive (I ensured that the pen drive always mounts with a particular drive letter only). I am using Oracle 11.1.0.6.0 on Windows XP Professional 32 bit SP2.
    In following example, J: drive is my pen drive.
    SQL> create tablespace test datafile 'j:\data01.dat' size 1M;
    Tablespace created.
    SQL> select * from v$tablespace;
           TS# NAME                           INC BIG FLA ENC
             0 SYSTEM                         YES NO  YES
             1 SYSAUX                         YES NO  YES
             2 UNDOTBS1                       YES NO  YES
             4 USERS                          YES NO  YES
             3 TEMP                           NO  NO  YES
             6 EXAMPLE                        YES NO  YES
             7 TEST                           YES NO  YES
    7 rows selected.
    SQL> create table testtable (id number) tablespace test;
    Table created.
    SQL> insert into testtable select object_id from user_objects;
    29730 rows created.
    SQL> commit;
    Commit complete.
    SQL> drop tablespace test including contents and datafiles;
    Tablespace dropped.
    SQL> select * from v$tablespace;
           TS# NAME                           INC BIG FLA ENC
             0 SYSTEM                         YES NO  YES
             1 SYSAUX                         YES NO  YES
             2 UNDOTBS1                       YES NO  YES
             4 USERS                          YES NO  YES
             3 TEMP                           NO  NO  YES
             6 EXAMPLE                        YES NO  YES
    6 rows selected.

  • How to create a system recovery USB drive?

    My U845-S406 crashes every 15 minutes with a BSOD referencing iastor.sys.
    Multiple diagnostics say it is all good.
    Multiple virus softwares say it is clean.
    It crashes even quicker in safe mode.
    I have the latest Toshiba raid drivers, but updated to a more recent Intel set.  The error changes to iastora.sys, and goes back to iastor.sys when I switch back to the Toshiba drivers.
    I booted holding down 0, and told it to restore; but it promptly crashes.
    I made a W7 disk and tried to load it, but it promptly crashes.
    As a last resort before throwing the computer out,  I want to create a system recovery USB drive, format the harddrive and try recovering from the USB; but I don't have the Toshiba Recovery Media Creator (or any Toshiba software at all...)  I downloaded a copy and ran it, but it says I don't have a HDD Recovery Area.
    I know I have one because 1) I can access it by hold down 0, and 2)Partition Wizard showes it.
    So, how can I create a system recover USB drive (or make Recovery Media Creator find the HDD recovery Area...)
    Interestingly, the other day it spent 90 minutes installing a W7 update without a problem, but crashed immediately when done.  Maybe that means something.

    Satellite U845-S406
    Downloads here.
    Please zip up a few of the corresponding *.dmp files from the C:\Windows\Minidump folder and attach them to your reply.
    So the procedure in the section Creating recovery media (p. 53 in the User's Guide) doesn't work? Exactly where does it go wrong?
       Satellite/Satellite Pro U800W Series User’s Guide
    -Jerry

  • Unable to create a tablespace under user scott despite of many privileges

    Hi,
    I use user scott to test a rdf database using oracle 11.2.0.2 contained in oracle developer days in my oracle linux enterprise guest system. However, I am unable to create a tablespace under scott. The error message says insufficient privilege. Actually, I granted all privilege in Roles, System Privileges, Object Privileges to scott in the OEM panel. I also granted resource, create session, create table, unlimited tablespace to scott in sqlplus as well. However, I am still unable to create the tablespace. The command I used for creating tablespace is below:
    create tablespace rdf_tblspace
    datafile '\home\oracle\app\oracle\oradata\rdf_tblspace.dat' size 14m reuse
    autoextend on next 10m maxsize unlimited
    segment space management auto;
    Error at Command Line:1 Column:1
    Error report:
    SQL Error: ORA-01031: insufficient privileges
    01031. 00000 - "insufficient privileges"
    Any suggestions will be much appreciated. Thanks a lot in advance.

    user571093 wrote:
    Hi,
    Thanks for the helpful info. Can you pls show me how to grant REATE TABLESPACE system privilege to scott? The System Priveleges in OEM is not enough for scott? Thanks a lot.You should first go through [url http://docs.oracle.com/cd/B19306_01/server.102/b14200/statements_9013.htm] this  This link contains details of GRANT command.
    create tablespace is a system privilage granted to a user by the DBA in below way:
    grant create tablespace to scott;

  • WRT610N updated firmware, USB Harddrive no longer works

    Hello everyone,
    Thanks in advance for any help you may have.  I've seen that a few people have had this problem, so maybe there is a fix.  I have updated the firmware to Ver.1.00.02.10 because the release notes said that it had improved USB harddrive function.  I updated the firmware, held the reset button, power cycled, restored my configuration, replugged my USB drive & turned it on.  I still am unable to access the USB drive.  It just does not show up.
    My harddrive is a Maxtor One Touch 750gb, works perfectly when directly attached.  I have 2 pcs (one connected via gigabit and the other via N), both working great. 
    Any thoughts?
    Thank you so much in advance.
    -Tim
    Message Edited by tmm0f5 on 02-25-2009 05:17 AM
    Message Edited by tmm0f5 on 02-25-2009 05:18 AM
    Solved!
    Go to Solution.

    I have had a similar problem. The drive I am using works when connected by USB to my other computers but I can not set up a share with the router now. It use to work, I haven't checked but is there any place where I can download an older version of the firmware?
    Thanks

  • External USB harddrive no longer recognized/accepted

    Hi,
    Since updating to Mac OS X 10.5.9 my Mac doesn't recognize/accept one of my external USB harddrives--both are Western Digital ones, which I'm using successfully for more than one year now--, and upgrading to Snow Leopard didn't resolve this issue (see console output at the end).
    Changing USB ports--hub, directly on my Mac--is to no avail either.
    -- MMHein
    PS: Console Message;
    17.09.09 06:00:45 kernel USBF: 3.896 [0x4e04000] The IOUSBFamily is having trouble enumerating a USB device that has been plugged in. It will keep retrying. (Port 4 of hub @ location: 0xfd500000)
    17.09.09 06:00:48 kernel USBF: 7.491 [0x4e04000] The IOUSBFamily was not able to enumerate a device.
    17.09.09 06:00:48 kernel USBMSC Identifier (non-unique): 2HAC0Q6F 0xd49 0x7300 0x121

    Hi,
    Well, at least momentarily this issue seems to be resolved, although I quite can't grasp all of it.
    I've unplugged the external drive in question, both from the USB hub, as well as from the power jack, waited now for two days, until just a couple of minutes reconnecting everything again, starting with the power supply, and after some seconds the USB followed.
    Et voilá the drive is being recognized and mounted again.
    Weird, really weird, as I haven't got the slightes clue whatever, when this will arise the next time!
    -- MMHein

  • SQL*PLUS console not coming back when create a tablespace in ORACLE RAC11g

    Hi all,
    I have run a create command in oracle RAC 11g system (2 nodes, ASM) by SQL*PLUS, every datafile for this tablespace is 1.5GB, I want to create 6 tablespace at the first:
    1. It run successfully for the first tablespace , it toook 4-5 minutes to come back;
    2. It run much longer time for the second tablespace , it took over 20 minutes to come back;
    3. The third tablespace , I waited for 45 minutes and it didn't come back.
    I have check in alert.log, and saw all three tablespace were successfully created about 4-5 minutes. And I also use another SQL*PLUS to query in user_tablespaces. the third tablespace did display in user_tablespaces view.
    From that time, I tried 4,5,6, it took me 30 minutes to create 1.5GB big tablespace. It doesn't make sense for me.
    Any sugguestion? Thanks.

    How did they create the disk group?
    How big are the devices/LUNs?
    are all of the LUNS the same size?
    Check the alert log for both the RDBMS and ASM.
    What redundancy did they use?
    in asmca, what is the total size of the disk group(s)? ( or sum total_mb from v$asm_diskgroup for each disk group)

  • How to Create a Windows 7 USB install disk

    If you want to install Windows from a USB drive, you'll need the Boot Camp Assistant (version 4.0.1) and a MacBook Air. I don't know why it won't let you do it on other Macs and MacBooks (the option still shows up, only it's greyed out) - if you made it work on anything other than a MacBook Air, let me know how you did it. So, besides that, you also need an empty USB drive and a genuine Windows ISO file.
    However, if in your case the Windows USB creation option is greyed out, this is what you can do:
    You create the Windows installation USB, using one of these two ways (I used the first one):
    http://technet.microsoft.com/en-us/magazine/dd535816.aspx
    http://www.microsoftstore.com/store/msstore/html/pbPage.Help_Win7_usbdvd_dwnTool
    You create the Windows partition with BCA.
    In System Settings, you choose the newly created BOOTCAMP partition as the startup disk and restart your Mac.
    Have your Windows USB inserted before your Mac restarts.
    As soon as your Mac boots from the BOOTCAMP partition, it should start loading Windows Setup from the USB drive.
    I have an early 2009 MacBook and these steps worked for me. It's a workaround... but it works. Let me know if it worked for you.
    * If none of this works for you, there is another workaround, using 3rd party software (rEFIt). However, I don't recommend using it, unless you know what you're doing.
    * Disclaimer - This info comes as is and I do not guarantee that it will work for you. Nor do I guarantee that it will not cause any malfunction to occur on your Mac computer.

    you restart your mac and as soon as it boots up (usually you hear the dvd making a noise, or the gong sound), you hold down the Alt key until you see a screen that shows you all the partitions/drives you can boot from. you select the boot camp one, while the windows usb installation disk is inserted and it should boot up from the usb. it worked for me, but I can't guarantee it will work for you too... depending on your model. mine is an early-2009 macbook.

  • Can we create new tablespace in Oracle Database 10g Express Edition?

    Hi,
    Can we create new tablespace in Oracle Database 10g Express Edition instead of using the default "users" tablespace provided?
    Please advise.
    Thank you.

    Correct. The sum of all user tablespaces is not allowed to exceed 4 GIG.
    You could try shrinking your tablespaces. Theres a script called maxshrink on http://asktom.oracle.com which is useful for this.
    You could compress your tables.
    If you are storing lobs, you could consider storing them as bfiles.
    Or upgrade to Oracle Standard Edition 1. Its not that expensive.

  • CJS-00091 Unable to create the tablespaces -R/3 4.7E installation

    Hi All,
    We are installing R/3 4.7 Enterprise  x200-SR1 release. While installing Database instance, SAPinst got terminated with the below error at tablespace creation step.
    CJS-00091  Unable to create the tablespaces. DIAGNOSIS: There is not enough free disk space: Mount point | space required | space available | SAPDATA directories
    /oracle/DCM/sapdata1   |   44891   |   10408.3   |   4,3,1,2
    . SOLUTION: Make more disk space available.
    We have 10GB,12GB,30GB,30GB available in sapdata1,sapdata2,sapdata3 and sapdata4 respectively. But why the installation is trying to load all the exports into sapdata1.
    If any one would have faced the similar kind of issues or know the solution please suggest me the solution.
    Best Regards,
    Ganesh.

    Hi,
    Have you distributed the sapdata files in the Installation Dialogue Box ? means Have you specified different directories for different sapdata files during Installation process ?
    Please re-distribute the sapdata files location by re-running the SAP Installation. As sapdata1 location is nt having the demanded space (44891 MB).
    Regards,
    Bhavik G. Shroff

  • Seagate external USB harddrive

    i just purchased a Seagate external USB harddrive. in the manual, they say they do not recommend using the HD "to share data between windows and macintosh operating systems". they say i should initialize it for a Mac OS.
    i did see a post here that said "If you want to use it on both Mac OS and Windows it needs to be formatted in FAT32 to allow reading and writing from both systems."
    has anyone had any experience with this situation? any comments or instructions are welcome
    ahmo1
    imac

    Welcome to the discussions!
    I looked at Seagate's site and couldn't find any reference to not being able to use a drive between Macs and PCs. I really cannot think of a reason why you can't, unless they just do not want to be responsible for supporting that type of use.

  • ITunes 7 and USB Harddrive issue

    Everytime I install the new version of iTunes, it drops my USB Harddrive from the computer. The system thinks the drive is empty, yet all my folders are there, just no files. I do a system restore and no iTunes, but I can then see everything on the harddrive. What is causing this? I get an error that says failed to write to drive G: after the install which G: is the USB harddrive. Never had this issue before the update, and can't get back to version 6 now. So of course I can't update my ipod now.

    Similar problem - when I upgraded to iTunes 7.0.2.16, my USB connected camera, my pen drives, and my iPod nano all stopped working.
    I don't want to re-install my OS there has to be a reason

  • Creating new Tablespace in 10g XE using Database Home Page

    How can I add a Tablespace using the "Database home Page" GUI? I've done this before, but now do not see a link for "Create Tablespace" under the Administration -> Storage icon. I'm logged in as sys.

    use sqlplus to create a new tablespace
    (set your XE environment first)
    (for Linux)
    the environment file envOraXEclient for example) -- modify for your env and different shell, and source the file
    export ORACLE_HOME=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server
    export TNS_ADMIN=/home/mytnsdirectory
    export TWO_TASK=XE
    export LD_LIBRARY_PATH=/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/lib
    export PATH=$ORACLE_HOME/bin:${PATH}
    by using sqlplus, create the tablespace (use different size if you want, up to 4gb, you can create smaller, more than one tablespace, etc - this is just an example)
    CREATE SMALLFILE
    TABLESPACE "MYTBLSPC1"
    DATAFILE '/usr/lib/oracle/xe/oradata/XE/mytblspc1.dbf'
    SIZE 2G REUSE AUTOEXTEND ON NEXT 10M MAXSIZE UNLIMITED
    LOGGING EXTENT MANAGEMENT LOCAL SEGMENT SPACE MANAGEMENT AUTO
    if you want, create a dedicated temporary tablespace for your user/s as well (here is an example)
    CREATE SMALLFILE TEMPORARY TABLESPACE "MYTEMP"
    TEMPFILE '/usr/lib/oracle/xe/oradata/XE/mytemp.dbf'
    SIZE 100M REUSE EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1024K
    turn the recyclebin off if you want/need to (I do ;)
    alter system set recyclebin=off;
    change the open_cursors if you want/need to (I do ;)
    ALTER SYSTEM SET open_cursors = 5000 SCOPE=MEMORY;
    ALTER SYSTEM SET open_cursors = 5000 SCOPE=SPFILE;
    ALTER SYSTEM SET session_cached_cursors = 50 SCOPE=SPFILE;
    create a specific user utilizing the tablespaces you created earlier
    CREATE USER "ZAFER" PROFILE "DEFAULT"
    IDENTIFIED BY "zafer" DEFAULT TABLESPACE "MYTBLSPC1"
    TEMPORARY TABLESPACE "MYTEMP"
    ACCOUNT UNLOCK;
    (grants are up to you - and your development / deployment environment)
    GRANT UNLIMITED TABLESPACE TO "ZAFER";
    GRANT "CONNECT" TO "ZAFER";
    GRANT "RESOURCE" TO "ZAFER";
    Edited by: zaferaktan on Sep 4, 2009 10:09 AM

  • When creating a tablespace why should we enable LOGGING when a database is already on ARCHIVE LOG mode

    Question :
    When creating a tablespace why should we enable LOGGING when a database is already on ARCHIVE LOG mode ?
    Example:
    Create Tablespace
    CREATE SMALLFILE TABLESPACE "TEST_DATA"
    LOGGING
    DATAFILE '+DG_TEST_DATA_01(DATAFILE)' SIZE 10G
    AUTOEXTEND ON NEXT  500K MAXSIZE 31000M
    EXTENT MANAGEMENT LOCAL
    SEGMENT SPACE MANAGEMENT AUTO;
    LOGGING: Generate redo logs for creation of tables, indexes and  partitions, and for subsequent inserts. Recoverable
    Are they not logged and not recoverable if we do not enable LOGGING? What is that ARCHIVELOG mode does?

    What is that ARCHIVELOG Mode Does?
    Whenever your database is in archive log mode , Oracle will backup the redo log files in the form of Archives so that we can recover the database to the consistent state in case of any failure.
    Archive logging is essential for production databases where the loss of a transaction might be fatal.
    Why Logging?
    Logging is safest method to ensure that all the changes made at the tablespace will be captured and available for recovery in the redo logs.
    It is just the level at which we defines:
    Force Logging at DB level
    Logging at Tablespace Level
    Logging at schema Level
    Before the existence of FORCE LOGGING, Oracle provided logging and nologging options. These two options have higher precedence at the schema object level than the tablespace level; therefore, it was possible to override the logging settings at the tablespace level with nologging setting at schema object level.

  • Is it possible to create Dictionary Tablespace creation in 10g database?

    Dear All,
    Is it possible to create Dictionary Tablespace creation in 10g database?
    regards,
    DB.

    Check this
    How To create dictionary managed system tablespace in 10g R2

Maybe you are looking for