Can't remove directory

Issues related to applications and software problems and general support
Post Reply
jjrowan
Posts: 130
Joined: 2005/09/10 13:07:15
Contact:

Can't remove directory

Post by jjrowan » 2020/01/11 19:15:27

Had a problem on my server. Tried to rsync off the C 8 server to another device, that failed and ran the / volume out of disk space.
I cleaned up the disk problem.
Somehow the backup script created a folder off /mnt called ElmwoodPark but I can't access or remove it.
I tried rm -fr * from the /mnt directory, failed. I tried find . |xargs rm that failed as well.
Are there any other tools to remove this folder?
elmwood.jpg
elmwood.jpg (26.4 KiB) Viewed 536 times

alamahant
Posts: 3
Joined: 2020/01/13 13:47:35

Re: Can't remove directory

Post by alamahant » 2020/01/13 14:31:52

Hi
Please boot into a liveCD.
Mount the Centos8 root partition lets say in /mnt.
Then try:

Code: Select all

rm -rf /mnt/mnt/<name-of-your-dir>
:D

Post Reply

Return to “CentOS 8 - General Support”