Posts

[SOLVED] Input/output error when trying to access mountpoint - RHEL7/CentOS7

[SOLVED] Input/output error when trying to access mountpoint RHEL7/CentOS7. [SOLVED] Input/Output Errors During XFS Filesystem Access In RHEL7/CentOS7. This is due to accessible error for the mount point. Solution: Note: Please take a image level/snapshot backup before performing the steps. Step-1: Check the "/var/log/messages" for error No error Step-2: Unmount the mounted directory and mount it again. Command: # umount </mount-point> # mount <target>  /mount-point Example: # umount /mount-point # mount  /dev/sdb1   /mount-point Step-3: If still not working, reboot the server. # init 6 With Error: Check the "/var/log/messages" for error Jan 01 01:54:55 xxxxxxxx kernel: [<ffffffffc0489a78>] xfs_droplink+0x28/0x60 [xfs] Jan 01 01:54:55 xxxxxxxx kernel: [<ffffffffc048c6cd>] xfs_remove+0x20d/0x310 [xfs] Jan 01 01:54:55 xxxxxxxx kernel: [<ffffffffc0487897>] xfs_vn_unlink+0x57/0xa0 [xfs] Jan 01 01:54:55 xxxxxxxx kernel: XFS (dm-2): Interna...

[SOLVED] HTTPS Error 404 - Not Found Trying other mirror-RHEL7

HTTPS Error 404 - Not Found Trying other mirror-RHEL7 Error: This is the example for rt repository error . https://cdn.redhat.com/content/eus/rhel/server/7/7Server/x86_64/rt/debug/repodata/repomd.xml: [Errno 14] HTTPS Error 404 - Not Found Trying other mirror. Solution: This is due to some repository are disabled form Redhat and this needs to be disabled in our OS also using below command. Repository like beta, satellite, fastrack and Real Time are gives error. Use below command to disable them according to your error. Step1- Enable all repository # subscription-manager repos --enable="*" Step2- Disable repository which are giving error. # subscription-manager repos --disable="*beta*" # subscription-manager repos --disable="*satellite*" # subscription-manager repos --disable="*fastrack*" # subscription-manager repos --disable="*rt*" Step3-Clean yum repository. # mv /etc/yum.repos.d/* /tmp/ # yum clean all Step4- Check for packages #yum...

Install rpm packages in rescue mode[RHEL7/CentOS7]

  Install rpm packages in rescue mode[RHEL7/CentOS7]   Boot the machine to rescue mode  using rescue media (such as the Binary DVD or RHEL.iso) Find the location and how is CDROM is recognized by system (eg. /dev/sr0) Mount the CDROM to some temporary directory # mkdir /tmp/iso # mount /dev/sr0 /tmp/iso #cd /tmp/iso/Packages Find the package and try to install it manually using RPM. #ls /tmp/iso/Packages #rpm -ivh --root=/mnt/sysimage /tmp/iso/Packages/abc.rpm --replacepkgs --replacefiles   In case you are running Linux rescue mode with network support you will be able to download the packages from Customer Portal to another machine then copy them using your network instead mounting a CD:   # scp user@remote-machine-ip:/path/to/packages.rpm /tmp   First execute it in test mode, # rpm -ivh --root=/mnt/sysimage   --test --replacefiles --replacepkgs     abc.rpm ...