Announcement

Collapse
No announcement yet.

Hard drive ignoring files!

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Hard drive ignoring files!

    This maybe a software/hardware problem. I was moving cables around in my computer. Once I rebooted as I expected something was inevitably wrong. My "storage" drive is 80GB. I am using 15GB of that, but the next sub-folder down says I'm only using 7GB. That's 8GB of "ignored" data. The weird thing is about 20% of my files still are visible. All the folders, sub-folders, and sub-sub-folders still exist. I've tried changing the permissions, viewing hidden files, and changing the configuration. Nothing is working.

    Please help!

    #2
    Re: Hard drive ignoring files!

    It's ext3. I don't understand how forcing an fsck would do anything.

    Comment


      #3
      Re: Hard drive ignoring files!

      If i suspect harware problems in the HD:

      I would check cables and then:

      Start with live CD
      Run in the konsole ( unmounted partition):
      Code:
      sudo fsck -v -f /dev/sda1    (2,3... sdb1,2...)
      or hda (hardware !).

      e2fsck - check a Linux ext2/ext3 file system
      -v Verbose mode
      -f Force checking even if the file system seems clean.
      man fsck
      FSCK(8) FSCK(8)

      NAME
      fsck - check and repair a Linux file system

      SYNOPSIS
      fsck [ -sAVRTNP ] [ -C [ fd ] ] [ -t fstype ] [filesys ... ] [--] [ fs-
      specific-options ]

      DESCRIPTION
      fsck is used to check and optionally repair one or more Linux file sys‐
      tems. filesys can be a device name (e.g. /dev/hdc1, /dev/sdb2), a
      mount point (e.g. /, /usr, /home), or an ext2 label or UUID specifier
      (e.g. UUID=8868abf6-88c5-4a83-98b8-bfc24057f7bd or LABEL=root). Nor‐
      mally, the fsck program will try to handle filesystems on different
      physical disk drives in parallel to reduce the total amount of time
      needed to check all of the filesystems.

      If i get errors with fcsk:
      I would install smartmontools ("virtual" installation with live CD):
      Code:
      sudo apt-get install smartmontools
      smartmontools - control and monitor storage systems using S.M.A.R.T.
      The smartmontools package contains two utility programs (smartctl and smartd)
      to control and monitor storage systems using the Self-Monitoring, Analysis and
      Reporting Technology System (S.M.A.R.T.) built into most modern ATA and SCSI
      hard disks. It is derived from the smartsuite package, and includes support
      for ATA/ATAPI-5 disks. It should run on any modern Linux system.
      Run in the konsole:
      (hdx)
      Code:
      sudo smartctl -a /dev/hda
      or
      (sdx)
      Code:
      sudo smartctl -d ata -a /dev/sda
      man smartctl
      SMARTCTL(8) 2006/12/20 SMARTCTL(8)

      NAME
      smartctl - Control and Monitor Utility for SMART Disks

      SYNOPSIS
      smartctl [options] device

      FULL PATH
      /usr/sbin/smartctl

      PACKAGE VERSION
      smartmontools-5.37 released 2006/12/20 at 20:37:59 UTC

      DESCRIPTION
      smartctl controls the Self-Monitoring, Analysis and Reporting Technol‐
      ogy (SMART) system built into many ATA-3 and later ATA, IDE and SCSI-3
      hard drives. The purpose of SMART is to monitor the reliability of the
      hard drive and predict drive failures, and to carry out different types
      of drive self-tests. This version of smartctl is compatible with
      ATA/ATAPI-7 and earlier standards (see REFERENCES below)

      smartctl is a command line utility designed to perform SMART tasks such...
      If there are errors: Topic: Need help recovering files from corrupted HD!
      http://kubuntuforums.net/forums/inde...opic=3089761.0


      If there are no errors (fsck/smart), i would mount harddrive (or start normal session) and check disk space and logs:

      FAQ: Free Disk Space
      http://kubuntuforums.net/forums/inde...opic=3086353.0

      LinuxLogFiles
      https://help.ubuntu.com/community/LinuxLogFiles

      Before you edit, BACKUP !

      Why there are dead links ?
      1. Thread: Please explain how to access old kubuntu forum posts
      2. Thread: Lost Information

      Comment


        #4
        Re: Hard drive ignoring files!

        I don't think it's hardwear. All this seems to be for a HD with an OS on it. This disk has no file system. It is strictly a storage drive.

        Comment


          #5
          Re: Hard drive ignoring files!

          OK, I ran fsck. I got this.
          fsck 1.40.2 (12-Jul-2007)
          e2fsck 1.40.2 (12-Jul-2007)
          Pass 1: Checking inodes, blocks, and sizes
          Pass 2: Checking directory structure
          Pass 3: Checking directory connectivity
          Pass 4: Checking reference counts
          Pass 5: Checking group summary information

          25063 inodes used (0.26%)
          466 non-contiguous inodes (1.9%)
          # of inodes with ind/dind/tind blocks: 20120/171/0
          3454931 blocks used (17.68%)
          0 bad blocks
          1 large file

          24101 regular files
          611 directories
          0 character device files
          0 block device files
          0 fifos
          0 links
          342 symbolic links (342 fast symbolic links)
          0 sockets
          --------
          25054 files

          Comment


            #6
            Re: Hard drive ignoring files!

            I found all the files. This is very bizarre. If I show the hidden files: /media/storage/.Trash-1000/files/<mount point>/ is where all my files are at, but the documents that are not "missing" are missing from this. That's why none of my files were actually gone, they just moved! I am assuming it's safe to move these file out of this spot?

            Comment


              #7
              Re: Hard drive ignoring files!

              /.Trash-1000 is part of Trash system:

              Trash is hiding in:
              /home/USER/.local/share/Trash/files/
              /home/USER/.local/share/Trash/info/

              USER is your log in name. You can remove file and info folders.

              If you have more than one linux partition:
              Look (if you have sda2 -> /media/sda2/.Trash-1000/)
              /.Trash-1000/files/
              /.Trash-1000/info/


              Topic: Emptying the Wastebin
              http://kubuntuforums.net/forums/inde...opic=3088094.0

              Topic: Disk shows 100G used but when I total up folders it should be <45G
              http://kubuntuforums.net/forums/inde...opic=3082439.0
              Before you edit, BACKUP !

              Why there are dead links ?
              1. Thread: Please explain how to access old kubuntu forum posts
              2. Thread: Lost Information

              Comment


                #8
                Re: Hard drive ignoring files!

                So, it magically moved all the files into the trash. They never showed up in the "trash can". Well, thanks!

                Comment

                Users Viewing This Topic

                Collapse

                There are 0 users viewing this topic.

                Working...
                X