Results 1 to 8 of 8

Thread: Mount kicks in when fsck on usb

  1. #1
    Join Date
    Jan 2011
    Beans
    193

    [solved?]Mount kicks in when fsck on usb

    When I try to fsck an usb drive, ( no automatic fsck is run when mounted ), fsck starts but at some point for an unkown reason to me, the drive is mounted.
    Which causes fsck to fail. This is very unpleasend.
    I already edited fstab to block the mount by normal user because mount cannot be run then. ( Needs to umount first , and as root )

    When I run fsck on /dev/sdh1 then the mounted disk when fsck is running on it, becomes /dev/sdi1. ( funny is it ? )

    How can I solve this beeing able to run fsck in orderly manner?
    Last edited by kuifje09; December 16th, 2012 at 01:59 PM.

  2. #2
    dino99's Avatar
    dino99 is offline Ubuntu addict and loving it
    Join Date
    Jun 2006
    Location
    Nux Jam
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

  3. #3
    Join Date
    Nov 2009
    Beans
    Hidden!

    Re: Mount kicks in when fsck on usb

    Maybe it errors out, disconnects the drive and then reconnects. The system detects the reconnect and mounts it as it thinks a new different device has been mounted.

    I think this is the case since it shows up as another device under /dev.

    Could you try to fsck the device and post the output of:

    Code:
    sudo dmesg | tail -n30
    Maybe you have USB issue's...
    linux-git/fs/super.c: "Self-destruct in 5 seconds. Have a nice day...\n",

  4. #4
    Join Date
    Jan 2011
    Beans
    193

    Re: Mount kicks in when fsck on usb

    Hey Rexilion, you are me just a step ahead.
    I was doing the fsck on the console now, and I had the error you just presumed.

    So this is the problem:

    [..] Buffer I/O error on device sd[hi]* , logical block ...

    Indeed immediatly thereafter the disk is remounted.

    Wow, could this be solved? Usb problem or Disk problem....

    Just tested: Disk is not SMART enabled.
    Last edited by kuifje09; December 15th, 2012 at 09:22 PM. Reason: just tested:

  5. #5
    Join Date
    Nov 2009
    Beans
    Hidden!

    Re: Mount kicks in when fsck on usb

    Don't know. Try another USB stick to check which one of the two is the culprit.

    Where there any more messages? The above command should have given you about 30 lines or so...
    linux-git/fs/super.c: "Self-destruct in 5 seconds. Have a nice day...\n",

  6. #6
    Join Date
    Jan 2011
    Beans
    193

    Re: Mount kicks in when fsck on usb

    Okay, this is not as good as I hoped for.
    It seems to be a problem with my usb ports. Some 1.1, some 2.0
    It looks very strange to me but I checked it all over again, and connected the usb disk to a usb 2.0 port, then checked again. Now the disk , as fsck -p says, has no errors.
    Although lots of pictures cannot be seen/opened. Remain whole or partial grey.
    Maybe It is caused when writing to the disk? I do not know. But very sad, ans lucky...
    The original pictures are kept save elswhere, so I can repair the content of the disk.

    Afterall, I am not shure what has happend. I think 2 partitions where writen via usb 2 and 1 partition was written via usb1.1 port? Only 1 partition had problems and when connected to a truly usb2 port the disk could be checked, altough the contend has some errors.

    Even more strange, I made several backups on the (defect) partition with dump/(restore) which was always okay!

    Thank for your help and ideas.

  7. #7
    Join Date
    Nov 2009
    Beans
    Hidden!

    Re: Mount kicks in when fsck on usb

    How old are the USB ports and the USB disk? Could be that their time has come...

    On one of my parents PC's, the USB2.0 adapter died after 2 years! The box itself is still functioning after 9+ years.
    linux-git/fs/super.c: "Self-destruct in 5 seconds. Have a nice day...\n",

  8. #8
    Join Date
    Jan 2011
    Beans
    193

    Re: Mount kicks in when fsck on usb

    Hi, No it is not a problem of age or some defect.
    There must be some issue using an usb2 device on a usb1.1 port.
    Which is in fact stupid to do so... But nothing keeps you for doing so.
    Now I know I have been faked, expected 4 usb2 and 2 usb1.1 ports but
    I tested them out because of these problems and now I see I have 2 usb2.0 and 4 usb1.1
    port. ( older MSI-Mobo but still okay. )
    Even a pci board with 2 usb ports should be usb 2.0 but is tested as usb1.1
    Don't know the make or type, not on the board visible...
    ( but this is going off topic, although in line of the problem )

    But I have recreated a filesystem , and no more problems.

Tags for this Thread

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
  •