Skip to contentSkip to conversation

cannot mount /dev/hdc1

DISCUSSION Ingo Rößler 3 participants 8 messages Feb 25, 2003 – Feb 28, 2003

lore
Share & tools
lore
#0 lore raw

Hello,

I hope You can help me!

I get at the reboot of my Suse7.1-Linux-server this message:

mount -t reiserfs /dev/hdc1 /home : mount: wrong fs type, bad option, bad superblock on /dev/hdc1, or too many mounted file systems

This is my home-directory - my live!

The harddisk is correct connected. It is a Western Digial 80 GB Harddisk with only this Partition hdc1.

elsa:~ # cat /etc/fstab

/dev/hda1       /windows        vfat            defaults                0 0
/dev/hda2       swap            swap            pri=42                  0 0
/dev/hda3       /               reiserfs        defaults                1 1
/dev/hdc1       /home           reiserfs        defaults                1 2
/dev/hda5       /home/backup          reiserfs        defaults
1 2
/dev/cdrom      /home/mount/cdrom       auto            ro,noauto,user,exec
0 0
/dev/dvd        /home/mount/dvd auto            ro,noauto,user,exec     0 0
/dev/fd0        /home/mount/floppy      auto            noauto,user,sync 0 0
proc            /proc           proc            defaults                0 0
devpts          /dev/pts        devpts          defaults                0 0

elsa:~ # reiserfsck --check /dev/hdc1 <-------------reiserfsck, 2001------------->
reiserfsprogs 3.x.0j
reiserfs_open: neither new nor old reiserfs format found on /dev/hdc1
reiserfsck: --rebuild-sb may restore reiserfs super block

Now I boot with a newer OS: Knoppix, a CDROM-Linux-Distri:

mount -t reiserfs /dev/hdc1 /mnt
read_super_block: can't find a reiserfs filesystem on (dev 16:01, block 128, size 512)
read_super_block: can't find a reiserfs filesystem on (dev 16:01, block 16, size 512)
mount : Falscher Dateisystemtyp, ungültige Optionen, der "Superblock" von /dev/hdc1 ist beschädigt oder es sind zu viele Dateisysteme eingehängt.

# reiserfsck --check /dev/hdc1
<-------------reiserfsck, 2002------------->
reiserfsprogs 3.6.3
reiserfs_open: neither new nor old reiserfs format found on /dev/hdc1
reiserfsck:  could not open filesystem on "/dev/hdc1"
Aborted

What can I do?
Can you help me?

Ciao Ingo

PS:
Excuse my bad english.
Excuse my using of OE - my Netscape is on /home/

#1 lore raw
Quoted 51 lines · Ingo Rößler

Hello,

I hope You can help me!

I get at the reboot of my Suse7.1-Linux-server this message:

mount -t reiserfs /dev/hdc1 /home : mount: wrong fs type, bad option, bad superblock on /dev/hdc1, or too many mounted file systems

This is my home-directory - my live!

The harddisk is correct connected. It is a Western Digial 80 GB Harddisk with only this Partition hdc1.

elsa:~ # cat /etc/fstab

/dev/hda1       /windows        vfat            defaults                0 0
/dev/hda2       swap            swap            pri=42                  0 0
/dev/hda3       /               reiserfs        defaults                1 1
/dev/hdc1       /home           reiserfs        defaults                1 2
/dev/hda5       /home/backup          reiserfs        defaults
1 2
/dev/cdrom      /home/mount/cdrom       auto            ro,noauto,user,exec
0 0
/dev/dvd        /home/mount/dvd auto            ro,noauto,user,exec     0 0
/dev/fd0        /home/mount/floppy      auto            noauto,user,sync 0 0
proc            /proc           proc            defaults                0 0
devpts          /dev/pts        devpts          defaults                0 0

elsa:~ # reiserfsck --check /dev/hdc1 <-------------reiserfsck, 2001------------->
reiserfsprogs 3.x.0j
reiserfs_open: neither new nor old reiserfs format found on /dev/hdc1
reiserfsck: --rebuild-sb may restore reiserfs super block

Now I boot with a newer OS: Knoppix, a CDROM-Linux-Distri:

mount -t reiserfs /dev/hdc1 /mnt
read_super_block: can't find a reiserfs filesystem on (dev 16:01, block 128, size 512)
read_super_block: can't find a reiserfs filesystem on (dev 16:01, block 16, size 512)
mount : Falscher Dateisystemtyp, ungültige Optionen, der "Superblock" von /dev/hdc1 ist beschädigt oder es sind zu viele Dateisysteme eingehängt.

# reiserfsck --check /dev/hdc1
<-------------reiserfsck, 2002------------->
reiserfsprogs 3.6.3
reiserfs_open: neither new nor old reiserfs format found on /dev/hdc1
reiserfsck:  could not open filesystem on "/dev/hdc1"
Aborted
Quoted 16 lines

What can I do?
Can you help me?

Ciao Ingo

PS:
Excuse my bad english.
Excuse my using of OE - my Netscape is on /home/

Well, you might try to rebuild super block. Backup your data first if it possible and run:
reiserfsck --rebuild-sb /dev/hdc1

What does it say?

Try also this command:
dd if=/dev/hdc1 of=/tmp/super bs=4096 count=1 skip=16

and send us /tmp/super file please.

#2 lore raw
In reply to Ingo Rößler

Hi,

Quoted 45 lines · Ingo Rößler

Hello,

I hope You can help me!

I get at the reboot of my Suse7.1-Linux-server this message:

mount -t reiserfs /dev/hdc1 /home : mount: wrong fs type, bad option, bad superblock on /dev/hdc1, or too many mounted file systems

This is my home-directory - my live!

The harddisk is correct connected. It is a Western Digial 80 GB Harddisk with only this Partition hdc1.

elsa:~ # cat /etc/fstab

/dev/hda1       /windows        vfat            defaults                0 0
/dev/hda2       swap            swap            pri=42                  0 0
/dev/hda3       /               reiserfs        defaults                1 1
/dev/hdc1       /home           reiserfs        defaults                1 2
/dev/hda5       /home/backup          reiserfs        defaults

1 2
/dev/cdrom /home/mount/cdrom auto ro,noauto,user,exec
0 0
/dev/dvd /home/mount/dvd auto ro,noauto,user,exec 0 0
/dev/fd0 /home/mount/floppy auto noauto,user,sync 0

0 proc            /proc           proc            defaults                0
0 devpts          /dev/pts        devpts          defaults                0

0

elsa:~ # reiserfsck --check /dev/hdc1 <-------------reiserfsck, 2001------------->
reiserfsprogs 3.x.0j
reiserfs_open: neither new nor old reiserfs format found on /dev/hdc1
reiserfsck: --rebuild-sb may restore reiserfs super block

Now I boot with a newer OS: Knoppix, a CDROM-Linux-Distri:

mount -t reiserfs /dev/hdc1 /mnt
read_super_block: can't find a reiserfs filesystem on (dev 16:01, block 128, size 512)
read_super_block: can't find a reiserfs filesystem on (dev 16:01, block 16, size 512)
mount : Falscher Dateisystemtyp, ungЭltige Optionen, der "Superblock" von /dev/hdc1 ist beschДdigt oder es sind zu viele Dateisysteme eingehДngt.

Quoted 6 lines
# reiserfsck --check /dev/hdc1
<-------------reiserfsck, 2002------------->
reiserfsprogs 3.6.3
reiserfs_open: neither new nor old reiserfs format found on /dev/hdc1
reiserfsck:  could not open filesystem on "/dev/hdc1"
Aborted

Do I understand correctly that you did not use any partitioner just before it happened? If so, you should run reiserfsck --rebuild-sb to rebuild the super block of your fs, then reiserfsck --check and do what it will say.

But you should update the reiserfsprogs version. 3.6.4 has one critical bug with rebuilding huge files, so you should use the latest pre version (3.6.5-pre2) from our ftp site (ftp.namesys.com/pub/reiserfsprogs/pre/).

Signature · 2 lines
Thanks,
Vitaly Fertman
#3 lore raw

Hi Vitaly and Yury!

Quoted 1 line

Do I understand correctly that you did not use any partitioner just before

it happened?
Yes!

But after hard reset, I have this dialog with my server:

elsa:~ # chmod 0777 -R /home/.../letters
chmod: getting attributes of `/home/.../letters/203.gif': Permission denied elsa:~ # rm /home/.../letters/203.gif
rm: cannot remove `/home/.../letters/203.gif': Permission denied elsa:~ # chown root -R /home/.../letters
chown: getting attributes of `/home/.../letters/203.gif': Permission denied

Today I am planing a backup and after this a format. But ...

Ok, tomorrow I do it:

Backup of /dev/hdc1
dd if=/dev/hdc1 of=/sicherung/home.img
(Today I have not a 80 GB backup medium)
Update the reiserfsprogs on version. 3.6.5-pre2

dd if=/dev/hdc1 of=/tmp/super bs=4096 count=1 skip=16 reiserfsck --rebuild-sb /dev/hdc1
reiserfsck --check

I hope, it is good. My hole life is on this disk!

The old Superblock I send to you Yury.

Ciao Ingo

#4 lore raw
Quoted 8 lines · Ingo Rößler

Hi Vitaly and Yury!

Quoted 2 lines

Do I understand correctly that you did not use any partitioner just before

it happened?
Yes!

Quoted 8 lines

But after hard reset, I have this dialog with my server:

elsa:~ # chmod 0777 -R /home/.../letters
chmod: getting attributes of `/home/.../letters/203.gif': Permission denied elsa:~ # rm /home/.../letters/203.gif
rm: cannot remove `/home/.../letters/203.gif': Permission denied elsa:~ # chown root -R /home/.../letters
chown: getting attributes of `/home/.../letters/203.gif': Permission denied

Do you mean that you get the partition mounted somehow? Or it could be mounted for some time after the reset, and smth happened again and it cannot be mounted anymore? Could you tell about it in more details please.

Could you also send what does fdisk -l /dev/hdc say?

Quoted 10 lines

Today I am planing a backup and after this a format. But ...

Ok, tomorrow I do it:

Backup of /dev/hdc1
dd if=/dev/hdc1 of=/sicherung/home.img
(Today I have not a 80 GB backup medium)
Update the reiserfsprogs on version. 3.6.5-pre2

Quoted 5 lines

dd if=/dev/hdc1 of=/tmp/super bs=4096 count=1 skip=16 reiserfsck --rebuild-sb /dev/hdc1
reiserfsck --check

I hope, it is good. My hole life is on this disk!

so do not miss the backup step.

Quoted 1 line

The old Superblock I send to you Yury.

Yura is waiting for it.

Signature · 2 lines
Thanks,
Vitaly Fertman
#5 lore raw

Hi Vitaly,

Quoted 3 lines · Ingo Rößler

Do you mean that you get the partition mounted somehow? Or it could be

mounted

Quoted 1 line

for some time after the reset, and smth happened again and it cannot be

mounted

Quoted 1 line

anymore? Could you tell about it in more details please.

The hardreset was a few days ago.
The partition could be mounted.

But yesterday night I have the crash. Yet I cannot mount the partition.

Quoted 1 line

Could you also send what does fdisk -l /dev/hdc say?

Platte /dev/hdc: 80.0 GByte, 80026361856 Byte 255 Köpfe, 63 Sektoren/Spuren, 9729 Zylinder Einheiten = Zylinder von 16065 * 512 = 8225280 Bytes
Gerät boot. Anfang Ende Blöcke ld Dateisystemtyp
/dev/hdc1 1 9729 78148161 83 Linux

Is it a problem?

Ciao Ingo

#6 lore raw
Quoted 24 lines · Ingo Rößler

Hi Vitaly,

Quoted 3 lines · Ingo Rц╤ц÷ler

Do you mean that you get the partition mounted somehow? Or it could be

mounted

Quoted 1 line

for some time after the reset, and smth happened again and it cannot be

mounted

Quoted 1 line

anymore? Could you tell about it in more details please.

The hardreset was a few days ago.
The partition could be mounted.

But yesterday night I have the crash. Yet I cannot mount the partition.

Quoted 1 line

Could you also send what does fdisk -l /dev/hdc say?

Platte /dev/hdc: 80.0 GByte, 80026361856 Byte 255 Kц╤pfe, 63 Sektoren/Spuren, 9729 Zylinder Einheiten = Zylinder von 16065 * 512 = 8225280 Bytes

Quoted 6 lines
Gerц╓t    boot.    Anfang    Ende    Blц╤cke        ld    Dateisystemtyp
/dev/hdc1            1            9729    78148161    83    Linux

Is it a problem?

Ciao Ingo

No, it is not. Looks as it should be. But your superblock looks wiped out. (At least there is no correct magic) And probably smth else also. Ok, make a backup and go on with rebuild-sb, etc.

Signature · 2 lines
Thanks,
Vitaly Fertman
#7 lore raw

Hi Vitaly and Jury,

the same Partition is repaired!

Many test have no Mistakes produce!

Many Thanks to you!

Ciao Ingo