Converting data volume type from LINK to FILE on a Linux OS

Dear experts,
I am currently running MaxDB 7.7.04.29 on Red Hat Linux 5.1.  The file types for the data volumes were
initially configured as type LINK and correspondingly made links at the OS level via "ln -s" command. 
Now (at the OS level) we have replaced the link with the actual file and brought up MaxDB.  The system
comes up fine without problems but I have a two part question:
1) What are the ramifications if MaxDB thinks the data volumes are links when in reality they are files.
    (might we encounter a performance problem).
2) In MaxDB, what is the best way to convert a data volume from type LINK to type FILE?
Your feedback is greatly appreciated.
--Erick

> 1) What are the ramifications if MaxDB thinks the data volumes are links when in reality they are files.
>     (might we encounter a performance problem).
Never saw any problems, but since I don't have a linux system at hand I cannot tell you for sure.
Maybe it's about how to open a file with special options like DirectIO if it's a link...
> 2) In MaxDB, what is the best way to convert a data volume from type LINK to type FILE?
There's no 'converting'.
Shutdown the database to offline.
Now logon to dbmcli and list all parameters there are.
You'll get three to four parameters per data volume, one of them called
DATA_VOLUME_TYPE_0001
where 0001 is the number of the volume.
open a parameter session and change the value for the parameters from 'L' to 'F':
param_startsession
param_put DATA_VOLUME_TYPE_0001 F
param_put DATA_VOLUME_TYPE_0002 F
param_put DATA_VOLUME_TYPE_0003 F
param_checkall
param_commitsession
After that the volumes are recognizes as files.
regards,
Lars
Edited by: Lars Breddemann on Apr 28, 2009 2:53 AM

Similar Messages

  • Reading a PublicKey \ PrivateKey type from a txt file

    Hi,
    i want to read a PublicKey \ PrivateKey type from a txt file and input it into a method.
    How can i read the data from the file while keeping or converting back to PublicKey \ PrivateKey type?
    I'm working with the following:
    generate = KeyPairGenerator.getInstance("ECDSA", "FlexiEC");                              
    generate.initialize(ecParams, new SecureRandom());
    KeyPair keyPair = generate.generateKeyPair();
    ............continues
    **and then i write the keys to the a simple txt file.**
    thanks!
    Edited by: sk16 on Apr 8, 2010 10:03 PM

    So, if i work with the two above is it ok, like:
    generate = KeyPairGenerator.getInstance("ECDSA", "FlexiEC");
                   generate.initialize(ecParams, new SecureRandom());
                   KeyPair keyPair = generate.generateKeyPair();
                   // Pub. and Priv. key objects.
                   PublicKey publicKey = keyPair.getPublic();
                   PrivateKey privateKey = keyPair.getPrivate();
                   // Write keys to separate files.
                   FileOutputStream fos = new FileOutputStream(publicKeyFile);
                   fos.write(publicKey.getEncoded());
                   fos.close();
                   FileOutputStream fos1 = new FileOutputStream(privateKeyFile);
                   fos1.write(privateKey.getEncoded());
                   fos1.close();
    and then for example>>>
    DataInputStream in = new DataInputStream(
              new FileInputStream("publicKeyFile.txt"));
              byte[] encodedPublicKey = new byte[1024];
              in.read(encodedPublicKey);
              in.close();
              X509EncodedKeySpec encodedPublicKeySpec = new X509EncodedKeySpec(encodedPublicKey);
              KeyFactory keyFactory = KeyFactory.getInstance("ECDSA", "FlexiEC");
              publicKey = keyFactory.generatePublic(encodedPublicKeySpec);

  • Acrobat X 10.02 crashes when converting Word 2007 document wiht linked Visio file.

    Acrobat X 10.02 crashes when converting Word 2007 document with linked Visio file and causes a C++ runtime error in Word and crashes Word.
    To see the behavior create a short Word 2007 document with a linked Visio file (e.g., create a Visio file with one box and text and insert it as a link into a Word docx).
    No problem in Acrobat 9

    There may be some of an issue with AA X on this, but part of the blame probably goes to MS also. I would suggest you simply clip the graphic from VISIO as a vector graphic (EMF will be used by default) and not do the link and do not embed the VISIO object. The linking and use of embedded objects in WORD 2007 seems to have been a major problem and is mostly a MS issue.

  • Any solution for preventing converted data (to excel) from crashing?

    Any solution for preventing converted data (to excel) from crashing - file crashes on a consistent basis.

    Hi Shrinivas,
    LabVIEW is getting bug fixes and new features with each version step.
    But new features also can bring new bugs - and not all bugs from older versions are fixed by now…
    The MixedSignalGraph is a beast of it's own and known to have bugs inside. The one you noticed now is probably one of those.
    So it's not your fault your VI terminates rather "unhappy", but most probably NI's fault. You can have a workaround as described in the last post.
    If I have to take same data from wire as you mentioned, I need to save the data in some variable
    No, you don't need any "variable"! THINK DATAFLOW: the wire is the variable!
    I have to write the data to excel file using report generation tool kit or some other way. … Please let me know if I can do it in some other easy methods. 
    It all depends on the datatype of your data. There are functions to save to spreadsheet files. You can save in binary files. You can create TDMS files , which can be read by Excel too. All those functions are really easy to use - you just have to look at the example VIs coming with LabVIEW!
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How can I convert the volume directory into a single file installer?

    How can I convert the volume directory into a single file installer? I would like to hide all the miscillaneous files that I don't care for and be able to have the installer double click a single file and have it automatically install.

    On the second prompt screen when prompted 'What kind of self-extracting Zip file file do you want to make?'
    Are you choosing the second option (self-extracting Zip file for software installation)?
    I have a word file that I created to help me remember - is there anyway to email it to you?

  • Unable to Initialize Volume Manager from a Configuration File

    I'd like to reattach a D1000 to a rebuilt system. The array contains a raid 5 partition that was built with Solaris Volume Manager (Solaris 9). Since it is the same system all controller/target/slice ids have not changed. I was able to restore the Volume Manager configuration files (/etc/lvm) from a tape backup and followed the instructions provided in the Solaris Volume Manager Administration Guide: How to Initialize Solaris Volume Manager from a Configuration File <http://docs.sun.com/db/doc/816-4519/6manoju60?a=view>.
    All of the state database replicas for this partition are contained on the disks within the array so I began by creating new database replicas on a local disk.
    I then copied the /etc/md.cf file to /etc/md.tab
    # more /etc/lvm/md.tab
    # metadevice configuration file
    # do not hand edit
    d0 -r c1t10d0s0 c1t11d0s0 c1t12d0s0 c1t8d0s0 c1t9d0s0 c2t10d0s0 c2t11d0s0 c2t12d0s0 c2t8d0s0 c2t9d0s0 -k -i 32b -h hsp000
    hsp000 c1t13d0s0 c2t13d0s0
    I then tested the syntax of the md.tab file (this output is actually from my secomd attempt).
    # /sbin/metainit -n -a
    d0: RAID is setup
    metainit: <hostname>: /etc/lvm/md.tab line 4: hsp000: hotspare pool is already setup
    Not seeing any problems I then attempted to recreate the d0 volume, but it fails with the error below:
    # /sbin/metainit -a
    metainit: <hostname>: /etc/lvm/md.tab line 3: d0: devices were not RAIDed previously or are specified in the wrong order
    metainit: <hostname>: /etc/lvm/md.tab line 4: hsp000: hotspare pool is already setup
    Any suggestions on how to reinitialize this volume would be appreciated.
    Thanks, Doug

    You have UserPrincipalName column heading in the csv file so this should be your cmdlet.
    import-csv C:\temp\sharedMailboxCreationTest.csv | ForEach-Object {New-Mailbox -shared  -Name $_.Name  -Alias $_.Alias  -OrganizationalUnit $_.OrganizationalUnit -UserPrincipalName $_.UserPrincipalName -Database $_.Database}
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • How to bulk import data into CQ5 from MySQL and file system

    Is there an easy way to bulk import data into CQ5 from MySQL and file system?  Some of the files are ~50MB each (instrument files).  There are a total of ~1,500 records spread over about 5 tables.
    Thanks

    What problem are you having writing it to a file?
    You can't use FORALL to write the data out to a file, you can only loop through the entries in the collection 1 by 1 and write them out to the file like that.
    FORALL can only be used for SQL statements.

  • Function Module to convert date to week from Sunday to Saturday

    Hi,
    In BW the convertion date to week always give week from Monday(1) to Sunday(7)
    I'm looking for a function module to convert date to week from Sunday(1) to Saturday(7)
    Thanks
    Sebastien

    Hi,
    I think this SAP standardized. Maybe you need to create custom FM.
    You can copy SAP FM DATE_GET_WEEK. in the FORM FIRSTWEEK, I see below case,
    CASE start_weekday.
        WHEN if_calendar_definition=>c_monday.
          start_weekday_number = 1.
        WHEN if_calendar_definition=>c_tuesday.
          start_weekday_number = 2.
        WHEN if_calendar_definition=>c_wednesday.
          start_weekday_number = 3.
        WHEN if_calendar_definition=>c_thursday.
          start_weekday_number = 4.
        WHEN if_calendar_definition=>c_friday.
          start_weekday_number = 5.
        WHEN if_calendar_definition=>c_saturday.
          start_weekday_number = 6.
        WHEN if_calendar_definition=>c_sunday.
          start_weekday_number = 7.
      ENDCASE.
    Maybe you can play something here.

  • How can I convert date in FOX (from DEC to date[DEC])

    Hi everyone!
    In my planning layout I have a field called "MYDATE" of the date-type "DEC: Calculation or amount field with comma and +/- sign" (-> BPS does not allow using DATS as date-type).
    Since I import that date from a different system, I have to use a temporary workaround field "WADATE" (WorkaroundDate) of type DEC (alternatively integer or float) which contains the date in a format YYYYMMDD (e.g. 20070604).
    How can I transfer the date from WADATE to MYDATE? I tried using FOX, but for some reason it does not work. When I use the following function, MYDATE remains empty:
    DATA TMPDATE TYPE F.
    DATA MYPROJECTS TYPE B906_PROJ.
    FOREACH MYPROJECTS.
    "MYDATE" is the field I want my date in
    "WADATE" is my workaround field that contains the date
    TMPDATE = {WADATE,000,0000000001,0000000001,001}.
    BREAK-POINT.
    {MYDATE,000,0000000001,0000000001,001} = TMPDATE.
    ENDFOR.
    Is it possible to solve my problem with FOX? Or do I have to work with an EXIT function?
    Best regards, Daniel

    Daniel,
    The better approach is the one Marc said but if you have tomake a work around work, I think you might need to try and define your temporary date variable as String and another for the converted date as of type of the final date.  I would not define any date type as float unless you can have part days and it is very important to have part days, integer might work by I would try String first myself.
    It has been a while but on a BW 3.5 project I had to do some manipulation to read the attribute value of material master data to get the launch date and use it to derive the start period (definited as type 0FISCPER) and proportion of month based on number of days remaining after launch date vs the # of days for the month.  I think I used string type function in FOX to derive some of the component...
    Hope this helps,
    mary

  • How do I remove certain data being imported from a php file

    I have data being loaded from a php into an xml class.
    My host (which is free for testing purposes) keeps adding data to the php file which causes errors.  I need to know how I can delete this extra text before I put the data into an XML class so I do not get the error.  I did a trace of the data and this is what comes up below.  I need everything below the </data> tag to be removed but do not know how to do this.  Can someone please help me.
    <?xml version='1.0' encoding='UTF-8'?><data>
        <google rate='21' />
        <yahoo rate='3' />
        <msn rate='2' />
        <tv rate='10' />
        <diger rate='4' />
    </data>
    <!-- www.000webhost.com Analytics Code -->
    <script type="text/javascript" src="http://analytics.hosting24.com/count.php"></script>
    <noscript><a href="http://www.hosting24.com/"><img src="http://analytics.hosting24.com/count.php" alt="web hosting" /></a></noscript>
    <!-- End Of Analytics Code -->
    Thanks,
    Jason

    in your load complete function:
    var s:String=e.target.data;
    var xml:XML=XML(s.split("<!-- www.000")[0]));

  • How to remove noisy data points read from a text file

    Reading data measurements taken in from a txt file.  How do I get rid of noise aside from going into the text file and deciding point by point what to delete.

    Well going in point by point and deleting is certainly one way of going about it. Of course that would defeat the entire purpose of having this great programming enviroment that is capable of doing that kind of thing for us.
    Is your text file small enough to upload? Obviously you know what the criteria are for judging whether or not a data point is acceptable so it should be simple enough to program. Give us a bit more information and I can assure you there will be a race between LabVIEW experts to see who can post the cleanest, simplest, and fastest piece of code that will do what you need. My wager is on altenbach, but there are a few others here that are almost as impressive.

  • Font colors missing from linked ai files (cs4)

    so i have an indesign document with a bunch linked AI files all of which have the same fonts in the same colors (white and light yellow) over the same color backgrounds.
    earlier this week i printed without a problem. since then i've added a few notes here and there and i printed again and now most of the white text doens't show up on the print, some shows up barely, and some looks embossed into the background color. the yellow text printed purple. if i outline the text it prints fine.
    the text that weent wrong, i didn't change from before when it printed fine. my coworker had also printed a copy from a pdf i made from indesign with the same results.
    can anyone help?
    this is on indesign cs4 with linked ai cs4 files on mac os x lion.

    If the yellow text printed purple then perhaps the yellow text has been set to overprint.
    Similarly - it seems like the text for the white has been set to overprint.

  • Import data into oracle from a text file?

    hi guys,
    How can we import data into oracle9i release 1 from a text file with comma seperated or tab seperated delimeters?
    please help,
    Imran

    table is already created, just have to populate data into table through a dat or text file. As suggested, you would either:
    1). use SQL*Loader to load the data into this table.
    2). create external table on that data file and then do:
    INSERT INTO your_real_table
    SELECT * FROM that_external_table ;

  • Getting the file type from a placed file

    Hi
    I am trying to get the file type from items placed on a page. I know the types available has one of the three interfaces "IImageAttributes", "IEPSAttributes" or "IPDFAttributes", but how can i test whether the placed image is a TIF, JPG ... Of course i could test on the suffix or the file type (mac), but that isnt "secure" enough, since InDesign can place files with no filetype or extension, if they are in an importable format.
    What I want in short, is to read the filetype shown in the Info palette, any one knows how to do this?
    Jon

    Thanks, I did take a look in these interfaces, but that didnt solve the problem for eps, pdf and other none raster types.
    Instead I found the:
    IDataLink->GetNameInfo()
    Which gives me the string from the Info palette.

  • Convert Data encryption code from VB to Java.

    Can anyone help me in converting the following code from VB to Java?
    'Purpose: This function decrypts the password of the user in the database so that
    ' it can be matched accurately with the inputted password of the user in
    ' the Log-In form (Case-sensitive)
    'Function to decrypt password
    Public Function Decrypt(ByVal Encrypted As String)
    On Error GoTo ErrorRoutine
    For intEncryptDecrypt = 1 To Len(Encrypted)
    strLetter = Mid(Encrypted, intEncryptDecrypt, 1)
    Mid(Encrypted, intEncryptDecrypt, 1) = Chr(Asc(strLetter) - 1)
    Next
    Decrypt = Encrypted
    Exit Function
    ErrorRoutine:
    Err.Raise Err.Number, , Err.Description
    Exit Function
    End Function

    hi,
    try this
    public String decrypt(String a){
        for(int i=0;i<a.length();i++){
          char c=a.charAt(i);
          c--;
          a=a.substring(0,i)+c+a.substring(i+1);
      return a;
    }regards

Maybe you are looking for

  • Issues with Exchange Account and Q10

    Well, I hate to be writing this, but I'm hoping that there might be someone out there that can help get past some first day issues I am experiencing. The background: I have a long history with legacy BlackBerry devices, and almost as much history wit

  • External Hard Drives: One for backup and one for storage

    Is it possible to have two external hard drives, one firewire and the other usb, using one as an additional hard drive, and the other as the backup drive, and backup from the external that is the additional hard drive to the the other which is the ex

  • In the market for a new laptop..

    Hi everyone, i am currently in the market for a new laptop and seeking some advice. I am debating between getting a basic rMBR 15' 2.4 GhZ 8/256 model and MBR 2.3 GhZ 4/500. The price for the basic rMBR 15' 2.4 GhZ 8/256 model is 1,867 euros with App

  • BAdi: Construct ID from Components in Bar Code

    Has anyone used this BAdI in Aii 7.1?  Trying to find where this BAdI is called.  Looking for a method to convert between various barcode data, e.g. (01) (21) (10) (17) (30), and either parse out the AI data not contained in the GS1_SER ID or convert

  • Problems with Photoshop cs4 for the Mac

    I am having all kinds of problems with Photoshop CS4 for the Mac.  When I boot the software it seems to work for a while then, I am unable to open upf a file in Photoshop.  I drag a photoshop file over the application icon, the whole screen flickers