LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   CentOS (https://www.linuxquestions.org/questions/centos-111/)
-   -   Offline install xfsprogs? (https://www.linuxquestions.org/questions/centos-111/offline-install-xfsprogs-4175680159/)

kenw232 08-09-2020 05:26 PM

Offline install xfsprogs?
 
I have a CentOS 7 server that is offline. I want to check the XFS filesystem. how can I install xfsprogs manually?

Also can I do a xfs_check on a mounted filesystem?

jamison20000e 08-09-2020 06:51 PM

If you have that package on disk use:
Code:

man yum
otherwise both: https://yum-info.contradodigital.com...base/xfsprogs/ ;)

syg00 08-09-2020 07:14 PM

Offline as in not connected, or offline as in not working ?.
The only time I installed CentOS 7 it defaulted to XFS, so I find it odd that you have a system without it. If you mean you can't run xfs-repair because the filesystem is broken, the last thing you should be considering is attempting to install anything. Fire up a liveCD and do the repair from there.

kenw232 08-09-2020 07:45 PM

I am offline. I simply want to download the yum package in full and install it locally. I have no internet access. Is that a thing?

syg00 08-09-2020 08:17 PM

Nope, I misinterpreted your situation.

michaelk 08-09-2020 08:59 PM

xfs_check has been deprecated and replaced by xfs_repair.

As stated xfs is the default filesystem. xfs_repair should be installed by default and yes the file system needs to be unmounted.


All times are GMT -5. The time now is 08:50 AM.