Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: cannot delete a file on remote HHD

  1. #1
    Join Date
    Aug 2008
    Beans
    113

    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
    Attached Images Attached Images

  2. #2
    Join Date
    Oct 2006
    Beans
    58,282

    Re: cannot delete a file on remote HHD

    Thread moved to the "Other OS/Distro Support" forum.

  3. #3
    Join Date
    Jul 2006
    Location
    UK
    Beans
    195
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: cannot delete a file on remote HHD

    What does this return?

    Code:
    file archive
    Registered Linux User #426227

  4. #4
    Join Date
    Aug 2008
    Beans
    113

    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
    Last edited by capo1949; March 17th, 2014 at 12:23 PM.

  5. #5
    Join Date
    Jul 2006
    Location
    UK
    Beans
    195
    Distro
    Ubuntu 18.04 Bionic Beaver

    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:
    pwd
    Code:
    ls -al | grep archive
    Registered Linux User #426227

  6. #6
    Join Date
    Aug 2008
    Beans
    113

    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 #

  7. #7
    Join Date
    Apr 2012
    Beans
    7,256

    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)?

  8. #8
    Join Date
    Aug 2008
    Beans
    113

    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
    Attached Images Attached Images

  9. #9
    Join Date
    Apr 2012
    Beans
    7,256

    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?)

  10. #10
    Join Date
    Aug 2008
    Beans
    113

    Re: cannot delete a file on remote HHD

    thanks for that, but can you offer a solution to the deleting problem using cli?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •