Mounting directory to a file system

hello,
i am trying to figure out how to use filesystemlistener to mount a new directory to the filesystem. if someone point me in the right direction that would be great.
Thanks
regards

i am trying to figure out how to use filesystemlistener to mount a new directory to the filesystemGiven that "filesystemlistener" does not exist in the standard java apis, I have no clue. What is the fully qualified name of the class you are using?

Similar Messages

  • Solaris 10:unable to mount a solaris root file system

    Hi All,
    I am trying to install Solaris 10 X86 on a Proliant DL385 Server it has a Smart array 6i, I have download the driver from the HP web site, on booting up the installation CD 1, adding the device driver, it sees the device but now says it can���t mount the device. Any clues what I need to do?
    Screen Output:
    Unable to mount a Solaris root file system from the device
    DISK: Target 0, Bios primary drive - device 0x80
    on Smart Array 6i Controller on Board PCI bus 2, at Dev 4
    Error message from mount::
    /pci@0,0/pci1022,7450@7/pcie11,4091@4/cmdk@0,0:a: can't open - no vtoc
    any assistence would be appreciated.

    Hi,
    I read the Message 591 (Agu 2003) and the problem is quite the same. A brief description: I have aLaptop ASUS with HDD1 60GB and a USB storage HDD (in next HDD2) 100GB. I installed Solaris 10 x86 on HDD2 (partition c2t0d0s0). At the end of installation I removed the DVD and using BIOS features I switched the boot to HDD2. All ok; I received the SUN Blue Screen and I choose the active Solaris option; but at the beginning of the boot I received the following error message
    Screen Output:
    Unable to mount a Solaris root file system from the device
    DISK: Target 0: IC25N060 ATMR04-0 on Board ....
    Error message from mount::
    /pci@0,0/pci-ide2,5/ide@1/cmdk@0,0:a: can't open
    any assistence would be appreciated.
    Regards

  • CREATE DIRECTORY Does not Create Any Directory in My File System Hard Disk

    create or replace directory emp_dir
    as 'D:\emp_direc';
    Main Question:
    *1. Transaction succeeded, but i have not seen emp_direc created in my D: drive. I'm running Vista Home Edition x32. Any idea why directory does not show up?*
    Optional:
    Extra info:
    after creating a directory i did: - avoid comment sign
    --create table oldemp ( fname char(25), lname char(25) )
    --organization external
    --(type oracle_loader
    -- default directory emp_dir
    -- access parameters
    -- ( records delimited by newline
    -- nobadfile
    -- nologfile
    -- fields terminated by ','
    -- (fname position(1:20) char,
    -- lname position(22:41) char)
    -- location ('emp.dat')
    --parallel 5
    --reject limit 200;
    Table created successfully, then I did
    describe oldemp;
    Name NULL Type
    FNAME CHAR(25)
    LNAME CHAR(25)
    2 rows selected
    Extra questions:
    *2. emp.dat carries all the table data which can make data more portable to different oracle servers. However, it is one time operation, once table is populated, i can not update, insert, delete any rows. Thats what i know, if i'm wrong please let me know. If what i said is true, just confirm it if you don't mind...*
    *3. Parallel 5, allows five oracle servers to deal with the emp.dat file at the same time. So won't there be any conflict! Maybe one server wants to read a certain data while the other server wants to delete it. Can you clarify please....*

    user11164565 wrote:
    create or replace directory emp_dir
    as 'D:\emp_direc';
    Main Question:
    *1. Transaction succeeded, but i have not seen emp_direc created in my D: drive. I'm running Vista Home Edition x32. Any idea why directory does not show up?*
    <snip>
    From the fine SQL Reference Manual found a tahiti.oracle.com, in the prerequisites for the CREATE DIRECTORY command:
    For file storage, you must also create a corresponding operating system directory, an ASM disk group, or a directory within an ASM disk group.
    Your system or database administrator must ensure that the operating system directory has the correct read and write permissions for Oracle Database processes.
    Privileges granted for the directory are created independently of the permissions defined for the operating system directory, and
    the two may or may not correspond exactly. For example, an error occurs if sample user hr is granted READ privilege on the directory object but
    the corresponding operating system directory does not have READ permission defined for Oracle Database processes.

  • How to set a particular icon for a directory in the file system?

    Hello
    I'd like to know if it is possible, when creating a directory using file.mkdir(), to define a particular icon instead of the default system icon?
    If yes how to proceed?
    Thanks for your answer.
    David

    For XP you are going to have to dummy up one of these files:
    Desktop.ini
    I have no idea what some of the entries mean, but placing the file in the directory seems to do the trick
    [.ShellClassInfo]
    IconFile=%SystemDrive%\Downloads\IconSets\00946_tux\Tux Folder\Tux.ico
    IconIndex=0
    [{BE098140-A513-11D0-A3A4-00C04FD706EC}]
    Attributes=1
    IconArea_Image=%SystemDrive%\Pictures\cassie_0069.jpgThe file should be easy to write using Java , but what exact entries you need... try searching microsift ..........

  • UFS file system mount options

    I'm doing some performance tuning on a database server. In mounting a particular UFS file system, I need to enable the "forcedirectio" option. However, the "logging" option is already specified. Is there any problem mounting this file system with BOTH "logging" and "forcedirectio" at the same time? I can do it and the system boots just fine but I'm not sure if it's a good idea or not. Anybody know?

    Direct IO bypasses the page cache. Hence the name "direct".
    Thus, for large-block streaming operations that do not access the same data more than once, direct IO will improve performance while reducing memory usage - often significantly.
    IO operations that access data that could otherwise be cached can go MUCH slower with direct IO, especially small ones.

  • Problems mounting global file system

    Hello all.
    I have setup a Cluster using two Ultra10 machines called medusa & ultra10 (not very original I know) using Sun Cluster 3.1 with a Cluster patch bundle installed.
    When one of the Ultra10 machines boots it complains about being unable to mount the global file system and for some reason tries to mount the node@1 file system when it is actually node 2.
    on booting I receive the message on the macine ultra10
    Type control-d to proceed with normal startup,
    (or give root password for system maintenance): resuming boot
    If I use control D to continue then the following happens:
    ultra10:
    ultra10:/ $ cat /etc/cluster/nodeid
    2
    ultra10:/ $ grep global /etc/vfstab
    /dev/md/dsk/d32 /dev/md/rdsk/d32 /global/.devices/node@2 ufs 2 no global
    ultra10:/ $ df -k | grep global
    /dev/md/dsk/d32 493527 4803 439372 2% /global/.devices/node@1
    medusa:
    medusa:/ $ cat /etc/cluster/nodeid
    1
    medusa:/ $ grep global /etc/vfstab
    /dev/md/dsk/d32 /dev/md/rdsk/d32 /global/.devices/node@1 ufs 2 no global
    medusa:/ $ df -k | grep global
    /dev/md/dsk/d32 493527 4803 439372 2% /global/.devices/node@1
    Does anyone have any idea why the machine called ultra10 of node ID 2 is trying to mount the node ID 1 global file system when the correct entry is within the /etc/vfstab file?
    Many thanks for any assistance.

    Hmm, so for arguments sake, if I tried to mount both /dev/md/dsk/d50 devices to the same point in the filesystem for both nodes, it would mount OK?
    I assumed the problem was because the device being used has the same name, and was confusing the Solaris OS when both nodes tried to mount it. Maybe some examples will help...
    My cluster consists of two nodes, Helene and Dione. There is fibre-attached storage used for quorum, and website content. The output from scdidadm -L is:
    1 helene:/dev/rdsk/c0t0d0 /dev/did/rdsk/d1
    2 helene:/dev/rdsk/c0t1d0 /dev/did/rdsk/d2
    3 helene:/dev/rdsk/c4t50002AC0001202D9d0 /dev/did/rdsk/d3
    3 dione:/dev/rdsk/c4t50002AC0001202D9d0 /dev/did/rdsk/d3
    4 dione:/dev/rdsk/c0t0d0 /dev/did/rdsk/d4
    5 dione:/dev/rdsk/c0t1d0 /dev/did/rdsk/d5
    This allows me to have identical entries in both host's /etc/vfstab files. There are also shared devices under /dev/global that can be accessed by both nodes. But the RAID devices are not referenced by anything from these directories (i.e. there's no /dev/global/md/dsk/50). I just thought it would make sense to have the option of global meta devices, but maybe that's just me!
    Thanks again Tim! :D
    Pete

  • Error in configuring Windows File System Repository

    Hi All,
    While trying to configure Windows File system repository we are getting the following error
    1. Getting this error when we give
    <ip address>\<shared folder name>
    Startup Error:  The localroot does not exist:
    10.1.100.44\Shared_folder
    2. Getting this error when we give
    <ip address>
    Startup Error:  host is unkown in file path '
    10.1.100.44' - invalid network path:
    10.1.100.44
    Could any one help in solving this issue.
    Regards,
    Sravanthi

    Hi Chiluveru Sravanthi
    According to the documentation, there is a difference between the path syntax for the repository manager and the network path. Did you pay attention to this difference when doing your configurations?
    Network paths (Network Path)
    Specifies the path to the Windows remote server.
    The path consists of the IP address of the Windows remote server, and a path specification.
    For example,
    192.168.0.1share
    Alternatively, you can enter the UNC name and path of the server, for example,
    servershare.
    SAP recommends that you specify the IP address, since you can then check the availability of the server more easily, using the ping command.
    Note: It is not sufficient to enter the server name alone. Specifications in the form of c$ cannot be resolved either.
    http://help.sap.com/saphelp_nw70/helpdata/EN/63/7f283ac3d7c54b94964931fa1b4ed9/frameset.htm
    File System Repository Manager (Root Directory)
    This denotes the path to the root directory in the file system to which the repository manager is assigned.
    If you want to integrate documents from a Windows system, this can be a drive letter (followed by a colon) or directory path on the local server or a remote server share (for example, //myserver/myshare/somedir).
    If you are running your portal on UNIX and want to access the file system on another UNIX host, you must mount the required directory on the portal server.
    Example path when using a UNIX system:
    /usr/company/share
    The repository manager is responsible for the specified directory and all its subdirectories.
    Note that multiple repository manager configurations are not allowed to have the same subpath in their Localroot parameter.
    http://help.sap.com/saphelp_nw70/helpdata/EN/e3/92322ab24e11d5993800508b6b8b11/frameset.htm
    Best regards,
    Martin Søgaard

  • Oracle VM Server 2.2.1 FIle System Type

    I have installed VM server 2.2.1, but i recently ran into disk size problems and want to resize. I have no space on the / partition and all my space on the /var/ovs/mount/"randomnumber". When i used the parted command "print" to see my partitions, the /var partition has no file system type such as ext3 or ext2. The / partition has ext3. Does anyone know why the /var/ovs/mount/"randomnumber" has no file system type because without this I can not resize the partition. Let me also say that when i installed VM server i pretty much took all the defaults so the partitions were created this way by default.
    Thanks

    Paul_RealityTech wrote:
    I have installed VM server 2.2.1, but i recently ran into disk size problems and want to resize. I have no space on the / partition and all my space on the /var/ovs/mount/"randomnumber". When i used the parted command "print" to see my partitions, the /var partition has no file system type such as ext3 or ext2. The / partition has ext3. Does anyone know why the /var/ovs/mount/"randomnumber" has no file system type because without this I can not resize the partition. Let me also say that when i installed VM server i pretty much took all the defaults so the partitions were created this way by default./var/ovs/mount/UUID is ocfs2 and cannot be shrunk in size.

  • File System repository error in component monitor

    Hi,
    I created a file system repository in our portal server which will connect to windows file system and display the folder structure.
    I created a File system repository manager with the following properties mentioned below
    Prefix (must start with /): /FMICDelaers 
    Lookup mode: caseless
    Root Directory:
    fendercorp\FMICDelaers 
    Repository Services:   
    Property Search Manager:  
    Security Manager: W2kSecurityManager
    ACL Manager Cache:ca_rsrc_acl
    Windows Landscape System: B2B_Windows 
    I have given full acees to everyone for FMICDealers folder on fendercorp server.
    We have created a networkpath called B2B_windows as mentioned below
    jCIFS Protocol: yes  
    Description:   
    Network Path:
    fendercorp\FMICDelaers  
    Password:xxxxx   
    User: insidefender\ssayneni
    When i am checking the repository in component monitor i am getting the below error
    Startup Error:  The localroot does not exist: /usr/sap/EPD/JC61/j2ee/cluster/server0/
    fendercorp\FMICDealers
    Thanks
    Sushanth

    Hi
    A general recommendation would be to use small letters in all ID's regardring network drives, repositories etc. See https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/002fb447-d670-2910-67a5-bfbbf0bb287d for advice on how to optimize performance of KM.
    Other than that, you could check the documentation mentioned here:
    https://www.sdn.sap.com/irj/sdn/message?messageID=6398301#6398301
    It seems as the root directory in your File System Repository Manager is not defined correctly. It should be forward slash instead of backslash.
    Go through the settings again and see if the startup error changes or disappears. The startup error indecated that it is a configuration error.
    Best regards,
    Martin Søgaard

  • How to get homedirectory of local file system?

    how to get home directory of local file system?
    What code i have to write?

    String homeDirectory = System.getProperty("user.home");

  • STUFFS - a Semantically-Tagged, Unorganized, Future File-System

    Hey everybody,
    I've been a long time Arch user (but not a bbs poster), and the community has always had a few people willing to try something new...
    ... and so I present STUFFS: a Semantically-Tagged, Unorganized, Future File-System.
    I've put it up on the AUR: https://aur.archlinux.org/packages/stuffs-git/
    and you can find the code on GitHub: https://github.com/aaronlaursen/STUFFS
    This experimental file-system does away with the old hierarchal model in favor of a dynamic, tag-based scheme. However, it also strives to ease the transition through full backwards compatibility.
    I've been working on it for a little while. It's now stable and functional and I would love to get some feedback.
    Find out more below, or in the README
    How it works
    Files and tags are stored in a SQLite database, with a schema similar to what might be used for storing posts and tags on a blog, etc. Thanks to some fuse magic, this gets mounted as a virtual file-system and dynamically generates "directories" based on tags and the files tagged as such.
    How to install it
    If you use yaourt, it's as simple as:
    yaourt -S stuffs-git
    otherwise, you can find it on the AUR using your favorite method.
    you will also need some requirements:
    extra/python
    extra/sqlite
    community/python-sqlalchemy
    aur/python-fusepy-git
    How to run it
    STUFFS.py <mountpoint> [database_file]
    How you use it
    tags are created with `mkdir`
    tags are added to a file with `mv`
    searching by tag is accomplished via `ls`
    actual output from a user session:
    [aaron@eustathios2 STUFFS]$ STUFFS.py mnt/ fs.db &
    [1] 4406
    [aaron@eustathios2 STUFFS]$ cd mnt
    [aaron@eustathios2 mnt]$ ls
    [aaron@eustathios2 mnt]$ mkdir tag1 tag2 tag3
    [aaron@eustathios2 mnt]$ ls
    tag1%1% tag2%2% tag3%3%
    [aaron@eustathios2 mnt]$ touch file1 file2 file3
    [aaron@eustathios2 mnt]$ ls
    file1@1@ file2@2@ file3@3@ tag1%1% tag2%2% tag3%3%
    [aaron@eustathios2 mnt]$ echo "foo">file1
    [aaron@eustathios2 mnt]$ cat file1
    foo
    [aaron@eustathios2 mnt]$ cat file1@1@
    foo
    [aaron@eustathios2 mnt]$ cp file1 file2
    [aaron@eustathios2 mnt]$ ls
    file1@1@ file2@2@ file3@3@ tag1%1% tag2%2% tag3%3%
    [aaron@eustathios2 mnt]$ cat file2
    foo
    [aaron@eustathios2 mnt]$ mv file1 tag1
    [aaron@eustathios2 mnt]$ ls
    file1@1@ file2@2@ file3@3@ tag1%1% tag2%2% tag3%3%
    [aaron@eustathios2 mnt]$ ls tag1
    file1@1@
    [aaron@eustathios2 mnt]$ ls tag2
    [aaron@eustathios2 mnt]$ mv file1 tag2/tag3
    [aaron@eustathios2 mnt]$ ls
    file1@1@ file2@2@ file3@3@ tag1%1% tag2%2% tag3%3%
    [aaron@eustathios2 mnt]$ ls tag1
    file1@1@ tag2%2% tag3%3%
    [aaron@eustathios2 mnt]$ ls tag2
    file1@1@ tag1%1% tag3%3%
    [aaron@eustathios2 mnt]$ ls tag3
    file1@1@ tag1%1% tag2%2%
    [aaron@eustathios2 mnt]$ ls tag3/tag1
    file1@1@ tag2%2%
    [aaron@eustathios2 mnt]$ ls
    file1@1@ file2@2@ file3@3@ tag1%1% tag2%2% tag3%3%
    [aaron@eustathios2 mnt]$ fg
    STUFFS.py mnt/ fs.db (wd: ~/proj/STUFFS)
    ^C[aaron@eustathios2 mnt]$
    Some things to note
    Files and tags get unique names, so
    mkdir mytag; ls
    may output
    mytag%9876%
    where "9876" is an internal ID, and
    touch myfile;ls
    may output
    myfile@8360@
    However, referencing just the file or tag name (not the ID) should work as expected, assuming there are no duplicates. ie.
    cat myfile
    On the plus side, this means that you don't need the full path, so
    /tag1%907%/tag2%5267%/tag3%83%/file@47@
    /tag1%907%/file@47@
    /file@47@
    /someTagThatDoesntEvenExist/file@47@
    all point to the same "file@47@"
    This also means that something pointing to "/file@47@" will always point to "file@47@" regardless of what you tag it as...

    HalosGhost wrote:IYou mentioned that you assign tags using `mv`, would the same be true of `cp`? To be more clear, if I have file "pacman.conf" tagged to "/etc/" and I wanted it to also be tagged "/configs/", would I `mv /pacman.conf /configs/`
    Yup, that would do it.
    `cp` actually copies the files as one might expect.
    so `cp /pacman.conf /configs/` would result in a different "pacman.conf" tagged "configs" (with a different ID and everything)

  • File system: UFS2 end ZFS

    I wanted to know if there is a way to mount a read-write file system ZFS and USF2.
    Commercial solutions are also fine.
    Thanks

    At one point Apple was going to switch over from HFS+ to zfs but it didn't happen. There was a zfs project, so there might be some utilities specific to that. If not, I would use NFS, which doesn't give a rat's patootie about the file system. You have to have the same uid number on both for write access.

  • Creation of oracle directory structure on mounted file system in linux

    Hi,
    I need to use datapump utility for which directory structure would be required. since my dump files are stored another system i usually mount the file system, can i create oracle directory structure on mounted filesystem in linux? do suggest urgently. thanks in advance.

    Yes you can why not

  • Mounting the Root File System into RAM

    Hi,
    I had been wondering, recently, how can one copy the entire root hierarchy, or wanted parts of it, into RAM, mount it at startup, and use it as the root itself.  At shutdown, the modified files and directories would be synchronized back to the non-volatile storage. This synchronization could also be performed manually, before shutting down.
    I have now succeeded, at least it seems, in performing such a task. There are still some issues.
    For anyone interested, I will be describing how I have done it, and I will provide the files that I have worked with.
    A custom kernel hook is used to (overall):
    Mount the non-volatile root in a mountpoint in the initramfs. I used /root_source
    Mount the volatile ramdisk in a mountpoint in the initramfs. I used /root_ram
    Copy the non-volatile content into the ramdisk.
    Remount by binding each of these two mountpoints in the new root, so that we can have access to both volumes in the new ramdisk root itself once the root is changed, to synchronize back any modified RAM content to the non-volatile storage medium: /rootfs/rootfs_{source,ram}
    A mount handler is set (mount_handler) to a custom function, which mounts, by binding, the new ramdisk root into a root that will be switched to by the kernel.
    To integrate this hook into a initramfs, a preset is needed.
    I added this hook (named "ram") as the last one in mkinitcpio.conf. -- Adding it before some other hooks did not seem to work; and even now, it sometimes does not detect the physical disk.
    The kernel needs to be passed some custom arguments; at a minimum, these are required: ram=1
    When shutting down, the ramdisk contents is synchronized back with the source root, by the means of a bash script. This script can be run manually to save one's work before/without shutting down. For this (shutdown) event, I made a custom systemd service file.
    I chose to use unison to synchronize between the volatile and the non-volatile mediums. When synchronizing, nothing in the directory structure should be modified, because unison will not synchronize those changes in the end; it will complain, and exit with an error, although it will still synchronize the rest. Thus, I recommend that if you synch manually (by running /root/Documents/rootfs/unmount-root-fs.sh, for example), do not execute any other command before synchronization has completed, because ~/.bash_history, for example, would be updated, and unison would not update this file.
    Some prerequisites exist (by default):
        Packages: unison(, cp), find, cpio, rsync and, of course, any any other packages which you can mount your root file system (type) with. I have included these: mount.{,cifs,fuse,ntfs,ntfs-3g,lowntfs-3g,nfs,nfs4}, so you may need to install ntfs-3g the nfs-related packages (nfs-utils?), or remove the unwanted "mount.+" entires from /etc/initcpio/install/ram.
        Referencing paths:
            The variables:
                source=
                temporary=
            ...should have the same value in all of these files:
                "/etc/initcpio/hooks/ram"
                "/root/Documents/rootfs/unmount-root-fs.sh"
                "/root/.rsync/exclude.txt"    -- Should correspond.
            This is needed to sync the RAM disk back to the hard disk.
        I think that it is required to have the old root and the new root mountpoints directly residing at the root / of the initramfs, from what I have noticed. For example, "/new_root" and "/old_root".
    Here are all the accepted and used parameters:
        Parameter                       Allowed Values                                          Default Value        Considered Values                         Description
        root                                 Default (UUID=+,/dev/disk/by-*/*)            None                     Any string                                      The source root
        rootfstype                       Default of "-t <types>" of "mount"           "auto"                    Any string                                      The FS type of the source root.
        rootflags                         Default of "-o <options>" of "mount"        None                     Any string                                      Options when mounting the source root.
        ram                                 Any string                                                  None                     "1"                                                  If this hook sould be run.
        ramfstype                       Default of "-t <types>" of "mount"           "auto"                     Any string                                      The FS type of the RAM disk.
        ramflags                         Default of "-o <options>" of "mount"        "size=50%"           Any string                                       Options when mounting the RAM disk.
        ramcleanup                    Any string                                                   None                     "0"                                                  If any left-overs should be cleaned.
        ramcleanup_source       Any string                                                   None                     "1"                                                  If the source root should be unmounted.
        ram_transfer_tool          cp,find,cpio,rsync,unison                            unison                   cp,find,cpio,rsync                           What tool to use to transfer the root into RAM.
        ram_unison_fastcheck   true,false,default,yes,no,auto                    "default"                true,false,default,yes,no,auto        Argument to unison's "fastcheck" parameter. Relevant if ram_transfer_tool=unison.
        ramdisk_cache_use        0,1                                                              None                    0                                                      If unison should use any available cache. Relevant if ram_transfer_tool=unison.
        ramdisk_cache_update   0,1                                                              None                    0                                                     If unison should copy the cache to the RAM disk. Relevant if ram_transfer_tool=unison.
    This is the basic setup.
    Optionally:
        I disabled /tmp as a tmpfs mountpoint: "systemctl mask tmp.mount" which executes "ln -s '/dev/null' '/etc/systemd/system/tmp.mount' ". I have included "/etc/systemd/system/tmp.mount" amongst the files.
        I unmount /dev/shm at each startup, using ExecStart from "/etc/systemd/system/ram.service".
    Here are the updated (version 3) files, archived: Root_RAM_FS.tar (I did not find a way to attach files -- does Arch forums allow attachments?)
    I decided to separate the functionalities "mounting from various sources", and "mounting the root into RAM". Currently, I am working only on mounting the root into RAM. This is why the names of some files changed.
    Of course, use what you need from the provided files.
    Here are the values for the time spend copying during startup for each transfer tool. The size of the entire root FS was 1.2 GB:
        find+cpio:  2:10s (2:12s on slower hardware)
        unison:      3:10s - 4:00s
        cp:             4 minutes (31 minutes on slower hardware)
        rsync:        4:40s (55 minutes on slower hardware)
        Beware that the find/cpio option is currently broken; it is available to be selected, but it will not work when being used.
    These are the remaining issues:
        find+cpio option does not create any destination files.
        (On some older hardware) When booting up, the source disk is not always detected.
        When booting up, the custom initramfs is not detected, after it has been updated from the RAM disk. I think this represents an issue with synchronizing back to the source root.
    Inconveniences:
        Unison needs to perform an update detection at each startup.
        initramfs' ash does not parse wild characters to use "cp".
    That's about what I can think of for now.
    I will gladly try to answer any questions.
    I don't consider myself a UNIX expert, so I would like to know your suggestions for improvement, especially from who consider themselves so.
    Last edited by AGT (2014-05-20 23:21:45)

    How did you use/test unison? In my case, unison, of course, is used in the cpio image, where there are no cache files, because unison has not been run yet in the initcpio image, before it had a chance to be used during boot time, to generate them; and during start up is when it is used; when it creates the archives. ...a circular dependency. Yet, files changed by the user would still need to be traversed to detect changes. So, I think that even providing pre-made cache files would not guarantee that they would be valid at start up, for all configurations of installation. -- I think, though, that these cache files could be copied/saved from the initcpio image to the root (disk and RAM), after they have been created, and used next time by copying them in the initcpio image during each start up. I think $HOME would need to be set.
    Unison was not using any cache previously anyway. I was aware of that, but I wanted to prove it by deleting any cache files remaining.
    Unison, actually, was slower (4 minutes) the first time it ran in the VM, compared to the physical hardware (3:10s). I have not measured the time for its subsequent runs, but It seemed that it was faster after the first run. The VM was hosted on a newer machine than what I have used so far: the VM host has an i3-3227U at 1.9 GHz CPU with 2 cores/4 threads and 8 GB of RAM (4 GB ware dedicated to the VM); my hardware has a Pentium B940 at 2 GHz CPU with 2 cores/2 threads and 4 GB of RAM.
    I could see that, in the VM, rsync and cp were copying faster than on my hardware; they were scrolling quicker.
    Grub, initially complains that there is no image, and shows a "Press any key to continue" message; if you continue, the kernel panics.
    I'll try using "poll_device()". What arguments does it need? More than just the device; also the number of seconds to wait?
    Last edited by AGT (2014-05-20 16:49:35)

  • ZFS file system mount in solaris 11

    Create a ZFS file system for the package repository in the root pool:
    # zfs create rpool/export/repoSolaris11
    # zfs list
    The atime property controls whether the access time for files is updated when the files are read.
    Turning this property off avoids producing write traffic when reading files.
    # zfs set atime=off rpool/export/repoSolaris11
    Create the required pkg repository infrastructure so that you can copy the repository
    # pkgrepo create /export/repoSolaris11
    # cat sol-11-1111-repo-full.iso-a sol-11-1111-repo-full.iso-b > \
    sol-11-1111-repo-full.iso
    # mount -F hsfs /export/repoSolaris11/sol-11-1111-repo-full.iso /mnt
    # ls /mnt
    # df -k /mnt
    Using the tar command as shown in the following example can be a faster way to move the
    repository from the mounted file system to the repository ZFS file system.
    # cd /mnt/repo; tar cf - . | (cd /export/repoSolaris11; tar xfp -)
    # cd /export/repoSolaris11
    # ls /export/repoSolaris11
       pkg5.repository README
       publisher sol-11-1111-repo-full.iso
    # df -k /export/repoSolaris11
    # umount /mnt
    # pkgrepo -s /export/repoSolaris11 refresh
    =============================================
    # zfs create -o mountpoint=/export/repoSolaris11 rpool/repoSolaris11
    ==============================================I am trying to reconfigure the package repository with above steps. when reached the below step
    # zfs create -o mountpoint=/export/repoSolaris11 rpool/repoSolaris11
    created the mount point but not mounted giving the error message
    cannot mount ,directory not empty When restarted the box, threw service adm screen with error message
    not able to mount all pointsPlease advise and Thanks in advance.

    Hi.
    Don't mix content of directory as mountpoint and what you see after FS was mounted.
    On othet ZFS - mount point also clear. You see contetn of ZFS file system.
    For check you can unmount any other ZFS and see that mountpoint also clear.
    Regards.

Maybe you are looking for

  • CUCM 5.1.3 to 8.6.2 upgrade

    Hello, I have to do an upgrade of a 3-node cluster CUCM 5.1.3d (5.1.3.5000-3) to 8.6.2. Hardware will remain the same. The servers support 8.6.2. I have two questions: - The upgrade path that I've chosen is: 5.1.3d (5.1.3.5000-3) -> 6.1.4a (6.1.4.200

  • Agent Determination for Service Entry

    Hi Guys, I created a workflow based on BO BUS2901 to send approval notification to an approver and I am having an issue with the agent determination. I am using the cost centre owner from the PR associated with the PO for the service entry as the app

  • Satellite M30X-111 screen doesn't display anything but external monitor works

    My laptop screen just doesn't display anything (look like when the computer is off) but when I connect the external monitor, then the desktop will be displayed on that monitor. I tried to recover the laptop using the recovery disk and it worked again

  • If your Send / button icons are missing in new messages in Mail, do this

    I was mystified as to why the button icons (for Send, Attach, etc) were suddenly missing from my "new message" email windows. The text descriptions were still there, so i could use the functions, but they were in tiny text, more difficult to click on

  • Using Clobs As An XML Datagrid Source (extjs)

    I'm still playing around with the extjs library and have decided to try an xml-grid next. I know I can call an application process for a URL so I was thinking I'd probably use that to get the resulting XML. I also know I can create an application pro