Find the answer to your Linux question:
Results 1 to 5 of 5
I relatively new to Debian. I have a server with several hard drives, but one of the drives is acting up on me. I recently disconnected hdd1 to temporarily connect ...
  1. #1
    Just Joined! pianomatrix's Avatar
    Join Date
    May 2007
    Location
    Minnesota, USA
    Posts
    39

    Error mounting hdd1

    I relatively new to Debian. I have a server with several hard drives, but one of the drives is acting up on me. I recently disconnected hdd1 to temporarily connect a DVD drive, but when I connected it back, it wouldn't mount. I checked the /etc/fstab file, and everything seemed fine. I re-mounted it by doing sudo mount -t ntfs /dev/hdd1 /media/maxtor300 in the terminal (maxtor300 is the drive's name). When I type in fdisk -l, it shows the drive. However, every time I boot the system, there's a red line saying Unmount /dev/hdd1 (Maxtor 300) FAILED. What could be the problem?

  2. #2
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    I re-mounted it by doing sudo mount -t ntfs /dev/hdd1 /media/maxtor300 in the terminal (maxtor300 is the drive's name).
    did that work? if yes, then something wrong in /etc/fstab file. post the contents of /etc/fstab file and output of sudo fdisk -l command.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  3. #3
    Just Joined! pianomatrix's Avatar
    Join Date
    May 2007
    Location
    Minnesota, USA
    Posts
    39
    Remounting didn't work. On my other drives, after mount the system didn't let me into the corresponding folders until I restarted. However, restart seems to unmount the hdd1 drive. So it's a never-ending chain. Here's my fstab:


    # /etc/fstab: static file system information.
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    /dev/hda1 / ext3 defaults,errors=remount-ro 0 1
    /dev/hda5 none swap sw 0 0
    /dev/hdd /media/cdrom0 udf,iso9660 user,noauto 0 0
    /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
    /dev/hdb1 /media/seagate250 ntfs-3g defaults,unmask=0 0 0
    /dev/hdc1 /media/seagate250-2 ntfs-3g defaults,unmask=0 0 0
    /dev/hdd1 /media/maxtor300 ntfs-3g defaults,unmask=0 0 0

    Here's the sudo fdisk -l:


    Disk /dev/hda: 80.0 GB, 80026361856 bytes
    255 heads, 63 sectors/track, 9729 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hda1 * 1 9541 76638051 83 Linux
    /dev/hda2 9542 9729 1510110 5 Extended
    /dev/hda5 9542 9729 1510078+ 82 Linux swap / Solaris

    Disk /dev/hdb: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdb1 1 30401 244196001 7 HPFS/NTFS

    Disk /dev/hdc: 250.0 GB, 250059350016 bytes
    255 heads, 63 sectors/track, 30401 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdc1 1 30401 244196001 7 HPFS/NTFS

    Disk /dev/hdd: 300.0 GB, 300090728448 bytes
    255 heads, 63 sectors/track, 36483 cylinders
    Units = cylinders of 16065 * 512 = 8225280 bytes

    Device Boot Start End Blocks Id System
    /dev/hdd1 1 36483 293049666 7 HPFS/NTFS

    Could something be wrong with the hard drive itself?

  4. #4
    Super Moderator devils casper's Avatar
    Join Date
    Jun 2006
    Location
    Chandigarh, India
    Posts
    24,316
    did you create mount point? does maxtor300 folder exist in /media.
    create new mount point and try to mount partition again.
    Code:
    su
    mkdir /media/hdd1
    mount -t  ntfs-3g  /dev/hdd1  /media/hdd1 -o defaults,umask=0
    check /media/hdd1 folder.
    It is amazing what you can accomplish if you do not care who gets the credit.
    New Users: Read This First

  5. #5
    Just Joined! pianomatrix's Avatar
    Join Date
    May 2007
    Location
    Minnesota, USA
    Posts
    39
    Wow! I just did what you said and it worked. Maybe the maxtor300 folder was cursed or something...
    Thanks casper - you saved me twice already. I really appreciate it!

Posting Permissions

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