1 Attachment(s)
cannot delete a file on remote HHD
Hi All
I am using Mint Mate 16
I cannot delete a file, as detailed in the attachment. The file 'archive' exist when I do an 'll' and yet advised that it does not exist,
I want to delete some of the contents. I tried using caja under root privellidges and the system advised input/output error.
I tried changing the permissions but couldnt as you can see.
Hope someone can help me
Graham
Re: cannot delete a file on remote HHD
Thread moved to the "Other OS/Distro Support" forum.
Re: cannot delete a file on remote HHD
Re: cannot delete a file on remote HHD
graham-Studio-1558 Seagate Expansion Drive # file archive
archive: ERROR: cannot open `archive' (No such file or directory)
graham-Studio-1558 Seagate Expansion Drive #
Thank you for your prompt response
The files I am trying to delete are archived from BIT back in time results and are mp3 files.
Many thanks
Re: cannot delete a file on remote HHD
This is odd. Are you definitely in the right directory? Can you do these commands and then post the output?
Code:
ls -al | grep archive
Re: cannot delete a file on remote HHD
graham-Studio-1558 Seagate Expansion Drive # ll
total 144
drwx------ 1 graham graham 0 Mar 15 11:48 .
drwxr-x---+ 3 root root 4096 Mar 17 14:44 ..
drwx------ 1 graham graham 0 Mar 16 16:32 archive
drwx------ 1 graham graham 143360 Mar 9 20:47 MyVideos
drwx------ 1 graham graham 0 Mar 15 12:27 recent back ups
drwx------ 1 graham graham 0 Nov 4 23:37 $RECYCLE.BIN
drwx------ 1 graham graham 0 Aug 25 2013 System Volume Information
drwx------ 1 graham graham 0 Nov 11 13:53 .Trash-1000
graham-Studio-1558 Seagate Expansion Drive # ls -al | grep archive
drwx------ 1 graham graham 0 Mar 16 16:32 archive
graham-Studio-1558 Seagate Expansion Drive # pwd
/media/graham/Seagate Expansion Drive
graham-Studio-1558 Seagate Expansion Drive #
Re: cannot delete a file on remote HHD
The simplest explanation would be that the directory name looks like archive but isn't (e.g it has a trailing space, or unicode characters). Assuming you've checked that (using tab completion for example) then the next question would be what is a "remote HHD" and how is it exported / mounted. If it's via nfs then there are a few possible gotchas (syncing? subtrees?). Or is it in fact a pluggable local drive (as suggested by the /media mountpoint)?
3 Attachment(s)
Re: cannot delete a file on remote HHD
Hi
Thx for your prompt response.
Apologies it is a local plugable HDD
I do not use tab completion as I usually use caja for file manipulation and not cli
I used caja to succesfully remove the other files in the archive directory, when I tried to remove the music files the system alarmed
'Error when getting information for file '/media/graham/Seagate Expansion Drive/archive /graham-Studio-1558/graham/3/new_snapshot/backup/home/graham/Music/Woody Herman': Input/output error'. See caja image attached and for results of 'df' and also reult using GPARTED
I hope this info helps to resolve the proble.
Many thanks for your time
Re: cannot delete a file on remote HHD
I'm not familiar with caja but 'Input/output error' in most contexts indicates a low-level read/write error (perhaps bad blocks on the disk... or the archive file is corrupted?)
Re: cannot delete a file on remote HHD
thanks for that, but can you offer a solution to the deleting problem using cli?