Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 01-12-2014, 09:00 AM   #1
Donny Bahama
Registered: Aug 2009
Location: Southern AZ
Distribution: Ubuntu
Posts: 48

Rep: Reputation: 1
mv: inter-device move failed

When I try to move a directory from one drive to another, (using "mv Lossy /media/500tmp") I'm getting a message that says:
mv: inter-device move failed: 'Lossy' to '/media/500tmp/Lossy'; unable to remove target: ls a directory

I don't understand this. The same command works with other directories!?
Old 01-12-2014, 11:47 AM   #2
Cristiano Urban
Registered: Jul 2013
Location: Gonars (UD), Italy
Distribution: Slackware 14.2 x86_64
Posts: 53

Rep: Reputation: 4
maybe this link could help you
Old 01-12-2014, 12:27 PM   #3
Donny Bahama
Registered: Aug 2009
Location: Southern AZ
Distribution: Ubuntu
Posts: 48

Original Poster
Rep: Reputation: 1
Thanks for the response. I actually read that before posting and it didn't clarify anything for me.
I don't understand this statement:
This happens when mv has to actually move your data to another device, but cannot remove the inode/pointer, because if it did then there will be no data to fall back to, and if it didn’t then mv operation is not really complete because we will end up with data in source.
but the author goes on to say (basically) that you have to use cp instead of mv, them remove the source directory with rm -rf.

That seems preposterous. What's the point of having a move command if you're just going to copy then delete the source?

Interestingly enough, since posting the original message, I've found that if I issue the mv command and the destination directory does NOT already have a directory with the specified name, the mv command works fine.
1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] device-mapper: remove ioctl on failed: Device or resource busy jheengut Linux - Kernel 1 10-23-2013 08:38 AM
[SOLVED] Inter process and inter computer communication jthjth Linux - Newbie 1 12-27-2011 03:53 PM
Command failed: device-mapper: reload ioctl failed: Invalid argument azza Programming 2 01-10-2011 03:16 AM
issue with mv: "inter-device move failed, unable to remove target: Is a directory " Xeratul Debian 3 12-06-2010 02:46 AM
Issue with "mv: inter-device move failed: " frenchn00b Debian 3 12-04-2010 07:27 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration