How to check if a file system in global zone is shared on zones

Hello,
Would you by any chance know how to detect if a file system in the global zone is shared with any zones created from the global zone (either shared with readonly or read-write)?
Thanks in advance.
Regards
Frank

Usually they're shared via lofs. So try 'df -kZ -F lofs'.
Darren

Similar Messages

  • JavaScript: How to check if a file exists.

    Hello Everybody,
    Can you tell me how to check if a file exists using JavaScript and Internet Explorer.
    Browsing on this website I could read about the command "f.exists()" and it was necessary to include "java.io.*".
    Should I use this same command and should I include the same files? Or are there other files and other commands?
    Thanks in advance.

    sorry ya. there is no command to check whether a file exists using javascript. The following code says the object name and value. But it can't say whether the file exists in the harddisk or .. Javascript cannot access database and system resources. If the file exists or not can be checked through the application (ASP, CFML, ..) you are using.

  • How to store preferences in file system on Windows?

    I have 2 questions related to preferences using.
    1. How to store preferences in file system (not in registry) on Windows? I see file system implementation of Preferences (java.util.prefs.FileSystemPreferences). But this implementation is linux-specific (use native methods). Does universal implementation exist?
    2. How to store custom files in preferences? I need to store some user-specific files (XML files, for example) somewhere. These files are naturally user preferences. So my idea is to store it using Preferences. But it seems like there is no such posibility in standard preferences. I believe many peoples have the same problem. Does anyone have solution?
    Please help me!
    Thank you in advance.

    Preferences is supposed to keep all this data
    handling away from you, so you shouldn't bother. If
    you'd like to write a file, just write a file. You
    could create a "Settings" object and serialize it.I understand your reasonings. But unfortunately I have requirements to use file system preferences both on Linux and Windows. My bosses think there are many problems because of registry. Don't ask what problems, they didn't say. I cannot change their requirements. I must to implement it.
    Maybe somebody already solved this proplem. I will very grateful for help.
    Once again: simply write and read a custom file. Why
    do you use Preferences at all costs when they don't
    do what you want to?I have requirements to implement saving of files in the same manner as saving of preferences. It may be different code from Preferences. But it will be the best to have the same code if it possible.
    Any way I believe the need to save user-specific files as preferences is quite widespread.

  • How to check & unzip zip file using java

    Dear friends
    How to check & unzip zip file using java, I have some files which are pkzip or some other zip I want to find out the type of ZIp & then I want to unzip these files, pls guide me
    thanks

    How to check & unzip zip file using java, I have
    ve some files which are pkzip or some other zip I
    want to find out the type of ZIp & then I want to
    unzip these files, pls guide meWhat do you mean "other zip"? Either they're zip archives or not, there are no different types.

  • How to check Whether the File is in Progress or used by some other resource

    Hi All,
    I am retrieving a file from the FTP server using Apache commons FTP.
    I need to check whether the file is fully retrieved or in progress.
    for now i can able to use the file which is partially retrieved. it is not throwing any file sharing exception or i am unable to find whether it is in progress.
    How to check whether the file is in progress ? or The file is accessed by some other resource ?
    Pls Help me.
    Thanks,
    J.Kathir

    Hi Vamsi,
    Explicitly such kind of requirement has not been catered and i dont think you would face a problem because any application that is writing to a file will open the file in the read only mode to any other simultaneous applications so i think your concerns although valid are already taken care off .
    In the remote case you still face a problem then as a work around. Tell the FTP administrator to set the property to maximum connections that can be made to ftp as one. I wonder if you have heard of the concept of FTP handle , basically the above workaround is based on that concept itself. This way only one application will be able to write.
    The file adapter will wait for its turn and then write the files.
    Regards
    joel
    Edited by: joel trinidade on Jun 26, 2009 11:06 AM

  • How can I transfer my files/system in VAIO laptop (w/ S400 Firewire port) to my New Macbook Pro?

    How can I transfer my files/system in VAIO laptop (w/ S400 Firewire port) to my New Macbook Pro?
    Do I need to buy an adapter? How do I setup the software to make these two system connected?

    r95941081 wrote:
    Thanks for your answering. But the issue is that I'll often transfer a large amount files from PCs to the Macbook, and I'm explring the way to use firewire since there is indeed an i-S400 port in the VAIO laptop, and it's much faster.
    USB 2 is faster than Firewire 400 and USB 3 is faster than Firewire 800
    If it was another Mac you were transferring from then you could use Firewire Target Disk Mode which makes the boot drive of the old Mac appear on the desktop of the new Mac to rapidly copy files, but you have a Windows PC with no FWTDM capability.
    So to connect the two machines requires a network be setup over Ethernet and mucking around with the complexities of all that and it still takes awhile to finish. One can't setup a network with a PC over USB or Firewire, only Firewire with another Mac.
    You get a external USB drive, USB 3,2,1 is fine and just drag and drop copy, the machine does all the work and you go do something else until it's finished, then repeat the same with the Mac.
    Fast simple and effective, let it copy overnight if you have too.
    I routinely clone my entire hard drive via USB 2 and it only takes a hour and a half for 350GB.
    By the time you figure out how to network a Mac and a PC over Ethernet and getting it work to transfer files, you could be done already via USB.

  • How to check whether a file exist in the program folder or not?

    Hi guys,
    how to check whether a file exist in the program folder or not? Let is say i recieve a file name from user then i want to know if the file is there not and act on that base.
    abdul

    Look at the class java.io.File and the .exists() method:
    http://java.sun.com/j2se/1.4/docs/api/java/io/File.html

  • How to check-in multiple files with same name having different revision num

    Hi
    Can anyone please tell me, how to check-in multiple files with the same name with different revision number using RIDC API.
    For eg:
    First I will check-in a file(TestFile.txt) into a content server with revision number 1 using RIDC API in ADF application. Then after some time, will modify the same file(TestFile.txt) and check-in again. I tried to check-in same file multiple times, however first time its checking-in correctly into server showing revision as 1, while checking-in same file again, its not giving any errror message, and also its not reflecting in server. Only one file(TestFile.txt) is reflecting in server.
    How to implement this functinality using RIDC API? Any suggestions would be helpful.
    Regards
    Raj
    Edited by: 887680 on Mar 6, 2013 10:48 AM

    Hi Srinath
    Thanks for your response. Its not cloning, its like check-in file first, then check-out the file and do some editing and then again upload the same file with different revision number using RIDC. I got the solution now.
    Regards
    Raj

  • How to check-in the files checked out by another user

    Hi All,
    We are using NWDI for checking out and checking in the code.one of the developers checked out some files and left the company.so when I am trying to change the same files it says files are already checked out by another user and we dont have any idea of his  password or his system where he has done the changes .
    how do we check in his files and start working on the same files without any problem
    Thanks
    Bala Duvvuri

    Thanks. Solved the problem.
    Check out this Article:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/70ee5ab2-8d7a-2c10-d88b-dbe2fdf666e7?quicklink=index&overridelayout=true
    Check NWDI/JDI System Copy Prerequisites
    Step 3 tells you how to handle the activities.
    Regards,
    Vijay.

  • How to recover from readonly file system?

    hi
    we are using EBS R12 RUP 6.is it possible to recover one of our instance from read only file system partition?
    scenario is :
    Had a conference with customer and found the below :
    Unable to start/run any "AD" scripts under $ADMIN_SCRIPTS_HOME". For example : Unable to start the concurrent manager using adcmctl.sh script. Below error can be seen :
    Permission denied: Could write in "adcmctl.txt" : read only file system.
    We have tried to change the permission but the same "read only file system was coming". To confirm the issue we tried to create a directory or file using "mkdir" and "touch" command respectively but got the same error. Customer has confirmed that it was 15 days back they found it working after that its not working.
    Explained to customer that the issue is not with EBS but with some other operating system related. Please check with your OS administrator and make sure that this read only file system error will not come.
    Action Plan
    ================
    1.) Check with your OS administrator and resolve the "Read only file system error". It is a OS permission error. Update the SR once it got resolved.rgrds

    new2appsdba wrote:
    what do you suggest certain and immediate disaster recovery option (till date work and setup + data) in EBS R12 ??
    bsically asking it for future planing ....Working, well-tested, and frequently-tested backups. :-)
    Sorry to be glib, but there's a lot we don't know about the architecture of your system, which makes it difficult to provide specific advice. You haven't indicated how much of your system is hosted on the filesystem that has been set readonly. Is it just the INST_TOP? Full applications techstack? Database? I'm guessing not the database, or you wouldn't be asking about starting apps tier components, you'd be asking about database recovery, and the problem wouldn't have gone unnoticed for 15 days. If you're just looking at the apps tier filesystem, or a portion of it (such as INST_TOP, which is sometimes separated from the rest of the apps install), you need to decide if you want to:
    1) Roll back your entire system to the point when the filesystem was set readonly, or
    2) Accept the loss of log files, etc. on the apps tier side, decide that what's in the database is more valuable, and move on from there. Assuming the fsck and subsequent filesystem repair is successful, of course. ;-)
    These posts from Steven Chan might help you to plan DR and availability for EBS:
    Maximum Availability Architecture: Oracle E-Business Suite Release 12
    Maximum Availability Architectures and the E-Business Suite
    Regards,
    John P.
    http://only4left.jpiwowar.com

  • How to check OS trace file

    Hi,
    How to check server performance trace file in Unix level what is directory structure and file name ? also please what is Tcode for that in SAP level....
    Thanks

    Hi
    You can see the OS log in ST06 / Details / Message Alert or something like this, I don't remember exactly, and unfortunately I don´t have a SAP system to see.
    Hope this help you

  • How to check wwheter two files are the same?

    Hi,
    I need to check wheter two files are the same. Their names and paths may be different. How to do that? Do u have any links / examples?
    Important notice: Files used in the application will be big (ie 1, 2gb)

    Comparing a hash, if you have to calculate it each
    time, is bound to be slower than a byte by byte, or
    character by character compare.
    This kind of comparison is used mostly in things like
    content management systems, when a new file of data
    is checked to see if it's identical to a file already
    entered, hash values being stored for each file
    already in the system.
    And comparing the hashes can only prove the files are
    different, if the hashes are equal that doesn't
    absolutely guarantee that the files are the same.
    Normally you'd confirm a matching hash by actually
    comparing file content.Depends on how good your hash is..but in general...yes. I was only saying that it's faster if you're always maintaining a has of the file.

  • How to check whether a file is present in the UNIX directory of app. server

    Hi,
            I am creating files in the UNIX directory in the application server using :
                       CONCATENATE '/sapmnt/RD1/interfaces/client670/'
                       p_fname '.CSV' INTO w_filename.
               OPEN DATASET w_filename FOR OUTPUT IN TEXT MODE.
              LOOP AT t_output1.
                      TRANSFER t_output1 TO w_filename.
              ENDLOOP.
             CLOSE DATASET w_filename.
    I am unable to check whether a file with the same name exists or not. How to check the duplicate state of the file.

    You can use the following fm
    RZL_READ_FILE
    or
    use OPEN DATASET FOR INPUT.

  • How to check if a file is being read by another program?

    Hey all,
    I just have a few question for a project I am doing:
    How do I check if a file is being read by another program?
    How do I check how many lines it read?
    How do I get Keyboard input from the user when he is using another program other than mine? Ex: Pressing Ctrl-G to take a screenshot.
    How can I halt another program from reading a file when it already opened it? Ex: The other program opened a file and began reading. Now it is at line 2 and I want to make it skip 10 lines and contontinue.
    Thanks,
    Bluelikeu

    How do I check if a file is being read by another
    program?This is about the only partially sensible question you asked. But the answer is that unless you use some native code, you can't.
    How do I check how many lines it read?It doesn't even make sense to ask this question. First of all, what's a "line" anyway? Files are just sequences of bytes. A "line" is only in the interpretation of those bytes, such as if it contains <cr><lf> sequences an application may choose to render the contents of those bytes as logical "lines" of string sequences. Second of all, why the heck would it matter to you how many bytes have already been read by some other process(es)?
    How do I get Keyboard input from the user when he is
    using another program other than mine? Ex: Pressing
    Ctrl-G to take a screenshot.You want to spy on other applications? Shame on you, Mr. Spyware creator.
    How can I halt another program from reading a file
    when it already opened it? Ex: The other program
    opened a file and began reading. Now it is at line 2
    and I want to make it skip 10 lines and contontinue.Shame on you Mr. Spyware creator.

  • How do you install a file system on an empty partition?

    Hi. I'm running 10.3.9 on a B&W G3. I've formatted a 100Gb drive with a 40Gb partition on which Panther is installed (and which is running even as I type) and several empty partitions. I was going to install OS 9 on one of the empty partitions, but Disk Utility doesn't seem to want to let me do install a file system on an empty partition. Hence, the OS 9 installer can't find the empty partitions, and therefore can't install.
    Is there another way to put a file system on an empty partition?
    MTIA, Matt
    PowerBook Titanium G4   Mac OS X (10.4)   Also PowerBook G3, eMac, and misc elderly models

    Matt--
    One suggestion: if you can't figure out how to put a file system on the empty space, you could clone your current partition to an external drive, re-partition the internal drive drive and then clone the external back. Like John, I've heard of utilities that can re-partition a drive without erasing your data, but I just can't imagine using one if I didn't have a clone anyway. So that's what I've done when I want to change a partition size.
    charlie

Maybe you are looking for

  • HT1408 how do I transfer drivers from a disc on my pc to my mac mini?

    I could REALLY use some help here.... I'm trying to transfer my "mobile pre" installer disc from my pc to mac but the migration assistance will only tranfer emails, contacts etc. I need the drivers in order to run my pro tools.

  • What is the latest Mac OS X I can download from apple for the eMac?

    I want to update the OS X on my eMac, but can not afford OS X 10.5.8. I currently have OS X 10.4.11. I am looking for the latest OS X I can download for free from apple or any other website that will carry a newer OS X for my eMac. I did find a disk

  • How Do I set the "Record" settings in Sound booth.

    How Do I set the "Record" bit settings in Sound Booth, i.e. the 16 bit rate so that the wav files will burn to a music CD. (the default 48 will dot burn to a CD). Thanks Marv.

  • DBM Error return code -11 in LC10 Administration in SCM System Live Cache

    Hello, We have installed SCM 4.1 on Solaris on one box and LC 7.5 on another solaris box. For kernel upgrade, we shut down Live Cache using LC10>administration on SCM server. After kernel patch, other patches for ABAP stack, we upgraded LC to SP11 bu

  • Partner function addition

    Hi ! I have an existing customer defined as a Ship-to-Party( account group-0002). Now I want to define this customer as a Sold-to-Party(account group 0001). I tried the same by adding the Sold-to-party in the partner functions tab under Sales Area ta