Page 2 of 2 FirstFirst 12
Results 11 to 16 of 16

Thread: fixing superblock: running e2fsck on a mounted filesystem

  1. #11
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: fixing superblock: running e2fsck on a mounted filesystem


    Oh my!

    Found it.

    From your FIRST posting...

    > error on stat() /dev/disk/by-id/scsi-200d04b341e047a1c-part3: No such
    > file or directory
    > fsck.ext3: No such file or directoy while trying to open
    > /dev/disk/by-id/scsi-200d04b341e047a1c-part3
    > bootsplash: status on console 0 changed to on
    > The superblock could not be read or does not describe a correct ext2
    > filesystem.


    What device is that? Looks like a hard drive that WAS hooked up...

    And then we look at your fstab:

    >And here the results of '/etc/fstab':
    > /dev/disk/by-id/scsi-SATA_Hitachi_HDT7250_VFJ101R73GK09K-part4 swap
    > swap defaults 0 0
    > /dev/disk/by-id/scsi-SATA_Hitachi_HDT7250_VFJ101R73GK09K-part3 /
    > ext3 acl,user_xattr 1 1
    > proc /proc proc defaults 0 0
    > sysfs /sys sysfs noauto 0 0
    > debugfs /sys/kernel/debug debugfs noauto 0 0
    > usbfs /proc/bus/usb usbfs noauto 0 0
    > devpts /dev/pts devpts mode=0620,gid=5 0 0
    > /dev/disk/by-id/scsi-200d04b341e047a1c-part3 /local ext3
    > acl,user_xattr 1 2


    And WAAAAAY down at the bottom of the file.. you see a line trying to mounta
    drive / partition that doesn't EXIST!

    Delete that line. The one that says "scsi-200d04b..."

    You won't have a problem next boot.

    Loni

    --
    L R Nix
    lornix@lornix.com


  2. #12
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: fixing superblock: running e2fsck on a mounted filesystem


    Another thing I noticed:

    Based on your fstab you posted:

    > > /dev/disk/by-id/scsi-SATA_Hitachi_HDT7250_VFJ101R73GK09K-part4 swap
    > > swap defaults 0 0
    > > /dev/disk/by-id/scsi-SATA_Hitachi_HDT7250_VFJ101R73GK09K-part3 /
    > > ext3 acl,user_xattr 1 1


    You're using sda3 as your root/boot partition, that's good
    and using sda4 as your swap partition..

    except:

    from the 'fdisk -l' output from previous:

    > Device Boot Start End Blocks Id System
    > /dev/sda1 1 26 204819+ ee EFI GPT
    > /dev/sda2 26 15153 121503744 af Unknown
    > /dev/sda3 15153 29514 115354609 83 Linux
    > /dev/sda4 29514 30402 7135394+ b W95 FAT32


    You've got sda4 marked as W95 FAT32 type...

    If that partition IS being used as swap, you should change the partition type
    to type 82. the 't' command from 'fdisk /dev/sda'.

    If it's NOT supposed to be swap... something needs to change, as the data
    WILL be written over if your system runs low on physical ram.

    Loni

    --
    L R Nix
    lornix@lornix.com


  3. #13
    Join Date
    Aug 2008
    Location
    Seattle
    Posts
    80

    Default Re: fixing superblock: running e2fsck on a mounted filesyste

    So cool! I knock myself! It was staring me in the face and I went "Nah!". The scsi serial numbers. I could have recognized that the offending one was not the internal drive and I would have recognized the external Firewire drive I disconnected without unmounting.

    (I'm assuming if I unmounted it fstab would not have an entry for it. Am I correct in that assumption?)

    I don't know why fdisk gives 'sda4' the "W95 Fat32" type. In YaST2 > System -> Expert Partitioner it is marked as "Linux swap". And when I used "parted /dev/sda prin" it shows up as linux-swap. Is this another case of mistaken identity?

  4. #14
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: fixing superblock: running e2fsck on a mounted filesystem

    On Wed, 20 Aug 2008 18:46:03 GMT
    fogelfish <fogelfish@no-mx.forums.opensuse.org> wrote:

    >
    > So cool! I knock myself! It was staring me in the face and I went
    > "Nah!". The scsi serial numbers. I could have recognized that the
    > offending one was not the internal drive and I would have recognized
    > the external Firewire drive I disconnected without unmounting.
    >
    > (I'm assuming if I unmounted it fstab would not have an entry for it.
    > Am I correct in that assumption?)
    >
    > I don't know why fdisk gives 'sda4' the "W95 Fat32" type. In YaST2 >
    > System -> Expert Partitioner it is marked as "Linux swap". And when I
    > used "parted /dev/sda prin" it shows up as linux-swap. Is this another
    > case of mistaken identity?
    >
    >


    No idea, but I imagine the fact that you've got the funky weird GPT partition
    that confuses fdisk could be a factor.

    > WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util
    > fdisk doesn't support GPT. Use GNU Parted.


    I'd remove the fstab line for your external firewire drive.

    The firewire drive will be automounted when you plug it in, and removed when
    you remove it.

    Anything in /etc/fstab MUST be available at EVERY boot. So if you're not
    going to keep it plugged in, remove the fstab line and let the automounter do
    that for you.

    I've got four firewire and one usb hard drives which are always connected, so
    I have fstab entries for them... my usb flash drives are just automounted as
    needed since they aren't always plugged in.

    Loni

    --
    L R Nix
    lornix@lornix.com
    Yay! it's working!

  5. #15
    Join Date
    Aug 2008
    Location
    Seattle
    Posts
    80

    Default Re: fixing superblock: running e2fsck on a mounted filesyste

    I think that resolves it. I'll research GPT and fdisk and its probable mis-identification of swap partitions.

    And thank you once again for your expert help!

  6. #16
    Join Date
    Jun 2008
    Location
    Oklahoma, US
    Posts
    822

    Default Re: fixing superblock: running e2fsck on a mounted filesystem

    On Wed, 20 Aug 2008 22:46:03 GMT
    fogelfish <fogelfish@no-mx.forums.opensuse.org> wrote:

    >
    > I think that resolves it. I'll research GPT and fdisk and its probable
    > mis-identification of swap partitions.
    >
    > And thank you once again for your expert help!
    >
    >


    You're welcome.


    --
    L R Nix
    lornix@lornix.com


Page 2 of 2 FirstFirst 12

Posting Permissions

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