Oracle Linux 7 mounting SAN storage issue












0














I have a scenario where I am trying to mount SAN storage to my linux machine. My environment details are-




  1. Oracle VM manager for VM creation

  2. Fiber Channel HP3PAR SAN storage attached as physical disk to my VM

  3. Oracle Linux version -OEL 7.4


Below steps I have been doing as earlier worked smoothly but not now-




  1. Login as root user on VM Running


  2. fdisk utility to check attached disks



    fdisk -l



    It shows 2 disks /dev/xvdb & /dev/xvdc where /dev/xvdc appeared after attaching the SAN storage to VM.




  3. Applying mount command to mount /dec/xvdc on location
    /u01/oracle/config where /u01/oracle/config is empty



    mount /dev/xvdc /u01/oracle/config



  4. After this the command screen cursor just blinks and nothing
    happens.
    Further I have checked whether the mount was successful, no it is not. Running the command 'df -h' and 'mount' doesn't shows the storage was mounted to requested location.



Storage attached but not able to mount










share|improve this question
























  • Syslog is where you should look at for error messages (like I/O timeouts). Also it looks as if you are running in a Xen Paravirtualized machine using disks imported from the Xen host (/dev/xvd*). If so, you should look at the Xen host... Anyway you should describe your scenario better.
    – U. Windl
    Dec 19 '18 at 11:24












  • mount also has a --verbose option that may be helpful.
    – Haxiel
    Dec 19 '18 at 17:15


















0














I have a scenario where I am trying to mount SAN storage to my linux machine. My environment details are-




  1. Oracle VM manager for VM creation

  2. Fiber Channel HP3PAR SAN storage attached as physical disk to my VM

  3. Oracle Linux version -OEL 7.4


Below steps I have been doing as earlier worked smoothly but not now-




  1. Login as root user on VM Running


  2. fdisk utility to check attached disks



    fdisk -l



    It shows 2 disks /dev/xvdb & /dev/xvdc where /dev/xvdc appeared after attaching the SAN storage to VM.




  3. Applying mount command to mount /dec/xvdc on location
    /u01/oracle/config where /u01/oracle/config is empty



    mount /dev/xvdc /u01/oracle/config



  4. After this the command screen cursor just blinks and nothing
    happens.
    Further I have checked whether the mount was successful, no it is not. Running the command 'df -h' and 'mount' doesn't shows the storage was mounted to requested location.



Storage attached but not able to mount










share|improve this question
























  • Syslog is where you should look at for error messages (like I/O timeouts). Also it looks as if you are running in a Xen Paravirtualized machine using disks imported from the Xen host (/dev/xvd*). If so, you should look at the Xen host... Anyway you should describe your scenario better.
    – U. Windl
    Dec 19 '18 at 11:24












  • mount also has a --verbose option that may be helpful.
    – Haxiel
    Dec 19 '18 at 17:15
















0












0








0







I have a scenario where I am trying to mount SAN storage to my linux machine. My environment details are-




  1. Oracle VM manager for VM creation

  2. Fiber Channel HP3PAR SAN storage attached as physical disk to my VM

  3. Oracle Linux version -OEL 7.4


Below steps I have been doing as earlier worked smoothly but not now-




  1. Login as root user on VM Running


  2. fdisk utility to check attached disks



    fdisk -l



    It shows 2 disks /dev/xvdb & /dev/xvdc where /dev/xvdc appeared after attaching the SAN storage to VM.




  3. Applying mount command to mount /dec/xvdc on location
    /u01/oracle/config where /u01/oracle/config is empty



    mount /dev/xvdc /u01/oracle/config



  4. After this the command screen cursor just blinks and nothing
    happens.
    Further I have checked whether the mount was successful, no it is not. Running the command 'df -h' and 'mount' doesn't shows the storage was mounted to requested location.



Storage attached but not able to mount










share|improve this question















I have a scenario where I am trying to mount SAN storage to my linux machine. My environment details are-




  1. Oracle VM manager for VM creation

  2. Fiber Channel HP3PAR SAN storage attached as physical disk to my VM

  3. Oracle Linux version -OEL 7.4


Below steps I have been doing as earlier worked smoothly but not now-




  1. Login as root user on VM Running


  2. fdisk utility to check attached disks



    fdisk -l



    It shows 2 disks /dev/xvdb & /dev/xvdc where /dev/xvdc appeared after attaching the SAN storage to VM.




  3. Applying mount command to mount /dec/xvdc on location
    /u01/oracle/config where /u01/oracle/config is empty



    mount /dev/xvdc /u01/oracle/config



  4. After this the command screen cursor just blinks and nothing
    happens.
    Further I have checked whether the mount was successful, no it is not. Running the command 'df -h' and 'mount' doesn't shows the storage was mounted to requested location.



Storage attached but not able to mount







linux mount storage oracle san






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Dec 19 '18 at 11:29









Rui F Ribeiro

39k1479130




39k1479130










asked Dec 19 '18 at 11:09









k10gaurav

1063




1063












  • Syslog is where you should look at for error messages (like I/O timeouts). Also it looks as if you are running in a Xen Paravirtualized machine using disks imported from the Xen host (/dev/xvd*). If so, you should look at the Xen host... Anyway you should describe your scenario better.
    – U. Windl
    Dec 19 '18 at 11:24












  • mount also has a --verbose option that may be helpful.
    – Haxiel
    Dec 19 '18 at 17:15




















  • Syslog is where you should look at for error messages (like I/O timeouts). Also it looks as if you are running in a Xen Paravirtualized machine using disks imported from the Xen host (/dev/xvd*). If so, you should look at the Xen host... Anyway you should describe your scenario better.
    – U. Windl
    Dec 19 '18 at 11:24












  • mount also has a --verbose option that may be helpful.
    – Haxiel
    Dec 19 '18 at 17:15


















Syslog is where you should look at for error messages (like I/O timeouts). Also it looks as if you are running in a Xen Paravirtualized machine using disks imported from the Xen host (/dev/xvd*). If so, you should look at the Xen host... Anyway you should describe your scenario better.
– U. Windl
Dec 19 '18 at 11:24






Syslog is where you should look at for error messages (like I/O timeouts). Also it looks as if you are running in a Xen Paravirtualized machine using disks imported from the Xen host (/dev/xvd*). If so, you should look at the Xen host... Anyway you should describe your scenario better.
– U. Windl
Dec 19 '18 at 11:24














mount also has a --verbose option that may be helpful.
– Haxiel
Dec 19 '18 at 17:15






mount also has a --verbose option that may be helpful.
– Haxiel
Dec 19 '18 at 17:15












1 Answer
1






active

oldest

votes


















0














Problem solved. The issue was associated with disk log corruption.
So I tried to repair the disk using below steps-



xfs_repair /dev/xvdc 


a warning indicated as specified below



Phase 1 - find and verify superblock...



Phase 2 - using internal log



    - zero log...


ERROR: The filesystem has valuable metadata changes in a log which needs to
be replayed. Mount the filesystem to replay the log, and unmount it before
re-running xfs_repair. If you are unable to mount the filesystem, then use
the -L option to destroy the log and attempt a repair.
Note that destroying the log may cause corruption -- please attempt a mount
of the filesystem before doing this.



So further, I proceeded with below steps-



xfs_repair -L /dev/xvdc 

mount -t xfs /dev/xvdc /u01/oracle


This successfully mount disk /dev/xvdc to location /u01/oracle.



NOTE : I have formatted the disk using XFS file system earlier.






share|improve this answer





















    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "106"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489880%2foracle-linux-7-mounting-san-storage-issue%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    Problem solved. The issue was associated with disk log corruption.
    So I tried to repair the disk using below steps-



    xfs_repair /dev/xvdc 


    a warning indicated as specified below



    Phase 1 - find and verify superblock...



    Phase 2 - using internal log



        - zero log...


    ERROR: The filesystem has valuable metadata changes in a log which needs to
    be replayed. Mount the filesystem to replay the log, and unmount it before
    re-running xfs_repair. If you are unable to mount the filesystem, then use
    the -L option to destroy the log and attempt a repair.
    Note that destroying the log may cause corruption -- please attempt a mount
    of the filesystem before doing this.



    So further, I proceeded with below steps-



    xfs_repair -L /dev/xvdc 

    mount -t xfs /dev/xvdc /u01/oracle


    This successfully mount disk /dev/xvdc to location /u01/oracle.



    NOTE : I have formatted the disk using XFS file system earlier.






    share|improve this answer


























      0














      Problem solved. The issue was associated with disk log corruption.
      So I tried to repair the disk using below steps-



      xfs_repair /dev/xvdc 


      a warning indicated as specified below



      Phase 1 - find and verify superblock...



      Phase 2 - using internal log



          - zero log...


      ERROR: The filesystem has valuable metadata changes in a log which needs to
      be replayed. Mount the filesystem to replay the log, and unmount it before
      re-running xfs_repair. If you are unable to mount the filesystem, then use
      the -L option to destroy the log and attempt a repair.
      Note that destroying the log may cause corruption -- please attempt a mount
      of the filesystem before doing this.



      So further, I proceeded with below steps-



      xfs_repair -L /dev/xvdc 

      mount -t xfs /dev/xvdc /u01/oracle


      This successfully mount disk /dev/xvdc to location /u01/oracle.



      NOTE : I have formatted the disk using XFS file system earlier.






      share|improve this answer
























        0












        0








        0






        Problem solved. The issue was associated with disk log corruption.
        So I tried to repair the disk using below steps-



        xfs_repair /dev/xvdc 


        a warning indicated as specified below



        Phase 1 - find and verify superblock...



        Phase 2 - using internal log



            - zero log...


        ERROR: The filesystem has valuable metadata changes in a log which needs to
        be replayed. Mount the filesystem to replay the log, and unmount it before
        re-running xfs_repair. If you are unable to mount the filesystem, then use
        the -L option to destroy the log and attempt a repair.
        Note that destroying the log may cause corruption -- please attempt a mount
        of the filesystem before doing this.



        So further, I proceeded with below steps-



        xfs_repair -L /dev/xvdc 

        mount -t xfs /dev/xvdc /u01/oracle


        This successfully mount disk /dev/xvdc to location /u01/oracle.



        NOTE : I have formatted the disk using XFS file system earlier.






        share|improve this answer












        Problem solved. The issue was associated with disk log corruption.
        So I tried to repair the disk using below steps-



        xfs_repair /dev/xvdc 


        a warning indicated as specified below



        Phase 1 - find and verify superblock...



        Phase 2 - using internal log



            - zero log...


        ERROR: The filesystem has valuable metadata changes in a log which needs to
        be replayed. Mount the filesystem to replay the log, and unmount it before
        re-running xfs_repair. If you are unable to mount the filesystem, then use
        the -L option to destroy the log and attempt a repair.
        Note that destroying the log may cause corruption -- please attempt a mount
        of the filesystem before doing this.



        So further, I proceeded with below steps-



        xfs_repair -L /dev/xvdc 

        mount -t xfs /dev/xvdc /u01/oracle


        This successfully mount disk /dev/xvdc to location /u01/oracle.



        NOTE : I have formatted the disk using XFS file system earlier.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Dec 27 '18 at 11:05









        k10gaurav

        1063




        1063






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f489880%2foracle-linux-7-mounting-san-storage-issue%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Morgemoulin

            Scott Moir

            Souastre