Re: cannot mount /dev/hdc1

2003-02-25 Thread Yury Umanets
Ingo Rößler wrote:

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   /windowsvfatdefaults0 0
/dev/hda2   swapswappri=42  0 0
/dev/hda3   /   reiserfsdefaults1 1
/dev/hdc1   /home   reiserfsdefaults1 2
/dev/hda5   /home/backup  reiserfsdefaults
1 2
/dev/cdrom  /home/mount/cdrom   autoro,noauto,user,exec
0 0
/dev/dvd/home/mount/dvd autoro,noauto,user,exec 0 0
/dev/fd0/home/mount/floppy  autonoauto,user,sync 0 0
proc/proc   procdefaults0 0
devpts  /dev/ptsdevpts  defaults0 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/




 

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.




Re: cannot mount /dev/hdc1

2003-02-25 Thread Vitaly Fertman

Hi, 

On Tuesday 25 February 2003 18:06, Ingo Rler wrote:
 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   /windowsvfatdefaults0 0
 /dev/hda2   swapswappri=42  0 0
 /dev/hda3   /   reiserfsdefaults1 1
 /dev/hdc1   /home   reiserfsdefaults1 2
 /dev/hda5   /home/backup  reiserfsdefaults
 1 2
 /dev/cdrom  /home/mount/cdrom   autoro,noauto,user,exec
 0 0
 /dev/dvd/home/mount/dvd autoro,noauto,user,exec 0 0
 /dev/fd0/home/mount/floppy  autonoauto,user,sync 0
 0 proc/proc   procdefaults0
 0 devpts  /dev/ptsdevpts  defaults0
 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, ungltige Optionen, der Superblock von
 /dev/hdc1 ist beschdigt oder es sind zu viele Dateisysteme eingehngt.

 # 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/).

-- 

Thanks,
Vitaly Fertman


Re: cannot mount /dev/hdc1

2003-02-25 Thread Ingo Rler
Hi Vitaly and Yury!

 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



Re: cannot mount /dev/hdc1

2003-02-25 Thread Vitaly Fertman
On Tuesday 25 February 2003 21:30, Ingo Rler wrote:
 Hi Vitaly and Yury!

  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

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?

 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!

so do not miss the backup step.

 The old Superblock I send to you Yury.

Yura is waiting for it. 

-- 

Thanks,
Vitaly Fertman


Re: cannot mount /dev/hdc1

2003-02-25 Thread Ingo Rler
Hi Vitaly,

 On Tuesday 25 February 2003 21:30, Ingo Rler wrote:

 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.

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.

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

Platte /dev/hdc: 80.0 GByte, 80026361856 Byte
255 Kpfe, 63 Sektoren/Spuren, 9729 Zylinder
Einheiten = Zylinder von 16065 * 512 = 8225280 Bytes
Gertboot.AnfangEndeBlckeldDateisystemtyp
/dev/hdc1197297814816183Linux

Is it a problem?

Ciao Ingo



Re: cannot mount /dev/hdc1

2003-02-25 Thread Vitaly Fertman
On Tuesday 25 February 2003 22:14, Ingo Rler wrote:
 Hi Vitaly,

  On Tuesday 25 February 2003 21:30, Ingo Rler wrote:
 
  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.

 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.

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

 Platte /dev/hdc: 80.0 GByte, 80026361856 Byte
 255 Kpfe, 63 Sektoren/Spuren, 9729 Zylinder
 Einheiten = Zylinder von 16065 * 512 = 8225280 Bytes
 Gertboot.AnfangEndeBlckeldDateisystemtyp
 /dev/hdc1197297814816183Linux

 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.

-- 

Thanks,
Vitaly Fertman