[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cannot rename with mv - SOLVED



On Tue, January 17, 2017 12:39 am, Reco wrote:

> EBUSY  The  rename  fails  because  oldpath  or newpath is a directory
> that is in use by some process (perhaps as current working directory, or as
> root directory, or because it was open for reading) or is in use by the
> system (for example as mount point), while the system considers this an
> error.

/backup is a directory in / and "lsof | grep /backup" returns nothing.



> So, since nothing is using the directory in your case, this means
> either that /backup is a mounted filesystem, or your root filesystem
> suffers severe damage.

I do not suspect damage of the root filesystem, because the machine was
booted only a few hours ago.

But "cat /etc/mtab" prints the line:

/dev/sdb3 /backup ext4 rw,relativetime,data=ordered 0 0

so you have diagnosed the problem, and I thank you!

RH







Reply to: