-->

DEVOPSZONES

  • Recent blogs

    mount: /dev/mapper/STORBCK-backup already mounted or /STORBCK busy?

    Error:

    mount: /dev/mapper/STORBCK-backup already mounted or /STORBCK busy?

    Diagnostic:

    When we try to mount the /STORBCK FS we are getting above mentioned Error.

    Resolution:

    1. As the Other FS was became read-only, i've stop/start the iscsi service. it successfully logged into the Device.
     /etc/init.d/iscsi stop
    /etc/init.d/iscsi start
    2. Checked the open files for /dev/mapper/STORBCK-backup and /STORBCK , but nothing found.

    3. Then checked the Major & minor Number of /dev/mapper/STORBCK-backup.

    [root@exampledb /]# dmsetup ls | grep -i STORBCK
    STORBCK-backup  (252, 75)

    4. Then checked the open files for Major & minor Number.
    [root@exampledb ~]# lsof | grep -i 252,75
    screen    44131    oracle  cwd       DIR             252,75      4096            323747843 /oracle/ori4n/temp_mv_from_u00_local
    bash      44134    oracle  cwd       DIR             252,75      4096            323747843 /oracle/ori4n/temp_mv_from_u00_local

    5. Found Out that its been accessed by a file. Checked that file and that does not exist any more.
    [root@exampledb ~]# ll /oracle/ori4n/temp_mv_from_u00_local
    ls: /oracle/ori4n/temp_mv_from_u00_local: No such file or directory

    6. Checked both the PID's accessing it and killed them.
    [root@exampledb ~]# ps aux | grep -i 44131
    oracle   44131  0.0  0.0  76848   324 ?        Ss   Apr23   0:00 SCREEN
    root     45564  0.0  0.0  61240   740 pts/0    R+   13:41   0:00 grep -i 44131
    [root@exampledb ~]#

    [root@exampledb ~]# ps aux | grep -i 44134
    oracle   44134  0.0  0.0  66264   656 pts/6    Ss+  Apr23   0:00 /bin/bash
    root     46956  0.0  0.0  61240   740 pts/0    S+   13:41   0:00 grep -i 44134
    [root@exampledb ~]#
    [root@exampledb ~]# kill -9 44131 44134
    [root@exampledb ~]#


    7. Mounted the File system.
    [root@exampledb ~]#
    [root@exampledb ~]# mount -a
    [root@exampledb ~]#
    [root@exampledb ~]#
    [root@exampledb ~]# df -h /STORBCK
    Filesystem            Size  Used Avail Use% Mounted on
    /dev/mapper/STORBCK-backup
                          5.0T  1.6T  3.2T  34% /STORBCK
    [root@exampledb ~]#

    Interesting Articles on Kubernetes:

    Kubernetes : Kubernetes Node Management, Maintenance, Delete
    How to add a  New Worker Node to a existing kubernetes Cluster
    MinIO Client Installation and Quickstart
    PLEG is not healthy: Kubernetes Worker Node is in "NotReady" state
    Backup MySQL databases in Kubernetes
    How to Run Automated Tasks in Kubernetes with a cronjob
    How to Completely remove Kubernetes



    1 comment: