Results 1 to 8 of 8

Thread: Wrong fs type and partition label

  1. #1

    Default Wrong fs type and partition label

    I divided an external hard drive into 3 partitions. All of them with ntfs. However, I formatted the second partition first with reiserfs, and named it "ext4-test". Later, with ntfs, I gave it a different name

    The problem is that under openSUSE 11.1 the second partition is now wrongly recognized to have still a reiserfs partition (and is shown in dolphin or the device manager with the old name "ext4-test") and hence cannot be mounted automatically. The error message is: wrong fs type, bad option, bad superblock...

    I can mount the partition manually with mount -t ntfs /dev/sdb2 /mnt/external, and it is mounted automatically from a liveCD and in Windows

    What's wrong here?

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: Wrong fs type and partition label

    Post result of from a terminal

    Code:
    cat /etc/fstab
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3

    Default Re: Wrong fs type and partition label

    But no removable drive shows up in fstab. Anyway here it is.

    Code:
    cat /etc/fstab
    # /etc/fstab: static file system information.
    #
    # <file system> <mount point>   <type>  <options>       <dump>  <pass>
    
    devpts  /dev/pts        devpts  mode=0620,gid=5 0       0
    proc    /proc   proc    defaults        0       0
    usbfs   /proc/bus/usb   usbfs   noauto  0       0
    /dev/disk/by-id/ata-ST9160827AS_5RF1QZH2-part4  /       reiserfs        data=writeback,acl,relatime     1       1
    /dev/disk/by-id/ata-ST9160827AS_5RF1QZH2-part6  /X-home reiserfs        data=writeback,acl,relatime     1       2
    /dev/disk/by-id/ata-ST9160827AS_5RF1QZH2-part5  /winDAT ntfs-3g defaults,noatime,users,locale=en_US.UTF-8       0       0
    /dev/disk/by-id/ata-ST9160827AS_5RF1QZH2-part1  /winXP  ntfs-3g ro,noatime,users,locale=en_US.UTF-8     0       0
    /dev/disk/by-id/ata-ST9160827AS_5RF1QZH2-part3  swap    swap    default 0       0
    Thanks for the help

  4. #4
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: Wrong fs type and partition label

    The above fstab info shows partitions mounted at boot.

    Now you need to open a terminal and become su and do:

    fdisk -l

    This will list all your partitions, mounted or not.
    You need to identify between the two sets of info (fstab and fdisk), what is different in fstab, compared to what you actually have in fdisk

    Then edit fstab.
    FSTAB - Editing Manually - openSUSE Forums
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  5. #5

    Default Re: Wrong fs type and partition label

    Well, I knew this, but isn't it just a workaround?
    I think there is something fundamentally wrong. Why does every other OS except the openSUSE installation mount all partitions on the removable hd correctly and automatically whithout any fstab entries. The openSUSE installation is capable of mounting partition 1 and 3 but not 2 when the hd is plugged in, although all three are ntfs partitions.
    Why does openSUSE remember the second partition to have still its former filesystem and label? I changed both.
    Code:
    dmesg | tail
    REISERFS (device sdb2): found reiserfs format "3.6" with standard journal
    REISERFS (device sdb2): using ordered data mode
    reiserfs: using flush barriers
    REISERFS warning (device sdb2): sh-462 check_advise_trans_params: bad transaction max size (1627389951). FSCK?
    REISERFS warning (device sdb2): sh-2022 reiserfs_fill_super: unable to initialize journal space
    SFW2-OUT-ERROR IN= OUT=eth0 SRC=192.168.2.5 DST=220.253.215.173 LEN=52 TOS=0x00 PREC=0x00 TTL=64 ID=12703 DF PROTO=TCP SPT=49055 DPT=24257 WINDOW=108 RES=0x00 ACK FIN URGP=0 OPT (0101080A0015B0DD001DCD31)
    Thanks for your quick help

  6. #6
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: Wrong fs type and partition label

    OK. Forgive me. fstab is not involved in External drives.
    If it were me I would format the partition again with something like parted magic, making sure to assign a volume label. ntfs should just work, it does for me.
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

  7. #7

    Default Re: Wrong fs type and partition label

    Thanks for your help.
    I formatted the second partition again with gparted live cd and now it works perfectly.
    Greetings

  8. #8
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,723
    Blog Entries
    20

    Default Re: Wrong fs type and partition label

    Quote Originally Posted by gubu1353 View Post
    Thanks for your help.
    I formatted the second partition again with gparted live cd and now it works perfectly.
    Greetings
    Good news!
    Leap 15_KDE
    My Articles Was I any help? If yes: Click the star below

Tags for this Thread

Posting Permissions

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