LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Cannot mount reformatted partition (https://www.linuxquestions.org/questions/linux-newbie-8/cannot-mount-reformatted-partition-862991/)

shimonl 02-16-2011 02:22 AM

Cannot mount reformatted partition
 
Hi,
I wasn't sure what would be the best forum for this, but seeing
how inexperienced I am, I stuck with 'Newbie'.

Running PCLinuxOS 2009.
I had a partition formatted with ReiserFS.
I was trying to create a large file (a clone of a VirtualBox
.vdi file) and it kept stopping me at 2GB,
so I decided to reformat with ext3.

a) I deleted or moved all data
b) sudo mkfs -V -t ext3 /dev/sda11
c) sudo e2label /dev/sda11 VDIBKP

This appeared to have worked:
$ sudo blkid /dev/sda11
/dev/sda11: LABEL="VDIBKP" UUID="f80616fa-147b-4810-aa6d-3b7c236a4cfb" SEC_TYPE="ext2" TYPE="ext3"

However, when I try to mount the disk in konqueror,
I get this pop up message:
mount: wrong fs type, bad option, bad superblock on /dev/sda11, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so

Here is output from dmesg:
ReiserFS: sda11: found reiserfs format "3.5" with standard journal
ReiserFS: sda11: using ordered data mode
ReiserFS: sda11: journal params: device sda11, size 8192, journal first block 18, max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: sda11: checking transaction log (sda11)
ReiserFS: sda11: Using r5 hash to sort names
ReiserFS: sda11: using 3.5.x disk format
ReiserFS: sda11: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on sda11
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda11, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ReiserFS: sda11: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on sda11
ReiserFS: sda11: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on sda11
ReiserFS: sda11: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on sda11
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda11, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ReiserFS: sda11: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on sda11
ReiserFS: sda11: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on sda11
kjournald starting. Commit interval 5 seconds
EXT3 FS on sda11, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
ReiserFS: sda11: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on sda11

Something seems to still think there is ReiserFS on that disk!
But why?

In cli I can only mount as root, but that DOES seem to work:
$ mount /dev/sda11 /mnt/temp
mount: only root can do that
$ sudo mount /dev/sda11 /mnt/temp
$ mount
<snip other disks>
/dev/sda11 on /mnt/temp type ext3 (rw)

I hope I have put enough information for someone to see what my mistake is! :-)

Thanks,
Shimon

druuna 02-16-2011 02:26 AM

Hi,

What is the output of the following command: grep sda11 /etc/fstab

I'm assuming it still points to reiserfs instead of ext3.

Hope this helps.

shimonl 02-16-2011 01:18 PM

I also thought that might have been the problem, but it turns out
that I had removed this partition from the fstab, (and commented out its lines)
*months* ago, when I moved my personal data to a different partition.
(At the time I also changed all of the mounts to be UUID based).

$ grep sda11 /etc/fstab
# Entry for /home/shimon - /dev/sda11 :
# /dev/sda11 /home/shimon reiserfs defaults 0 0

$ ls -al /etc/fstab
-rw-r--r-- 1 root root 1582 Dec 30 17:23 /etc/fstab

Thank you for the suggestion!
Shimon

druuna 02-16-2011 01:39 PM

Hi,

There should be a line like the following in your /etc/fstab:

/dev/sda11 /mount/point ext3 noauto,rw,user 0 0

The above will identify sda11 as being a ext3 fs and it makes it mountable (read and write) to all users. The noauto will not mount it when booting. If you do want to mount it at booting change the line to:

/dev/sda11 /mount/point ext3 defaults 0 0

Do change /mount/point to the correct mount point.

Hope this helps.

shimonl 02-16-2011 02:22 PM

druuna,
I thank you for your time and help.

I did update my fstab, and something is different,
but this has not solved the problem.

I still get the same pop up message:
mount: wrong fs type, bad option, bad superblock on /dev/sda11, missing codepage or helper program, or other error In some cases useful info is found in syslog - try dmesg | tail or so

but now, there is a lot less stuff in dmesg. Just one line:
ReiserFS: sda11: warning: sh-2021: reiserfs_fill_super: can not find reiserfs on sda11

So, it STILL is looking for ReiserFS.
I am also not really happy at defining a mount point in fstab. Until now,
I had fstab entries ONLY for disks mounted at boot, none of my 20 or so other
partitions were listed there. They still mounted perfectly when I double-clicked them
on the "Storage Media" page in konqueror.

Thank you,
Shimon

druuna 02-16-2011 02:47 PM

Hi,

I'm guessing that this problem might be Konqueror related (which I don't use myself).

An internet search comes up with this problem a lot (terms used: konqueror mount wrong fs type), maybe you need to dive into those (I didn't find a solution, but I only scanned 3 hits).


All times are GMT -5. The time now is 10:27 PM.