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?

Post result of from a terminal

cat /etc/fstab

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

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

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

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.

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= DST= 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 :slight_smile:

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.

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

Good news!:slight_smile: