Autor |
Nachricht |
|
Titel: superblock corrupt
Verfasst am: 18.10.2006, 02:42 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
Have run into a prob with my hdb drive. Divided into three partitions (have checked with powermax (maxtor drive) and the drive is fine. At the start of boot I get an error. 'Buffer i/o error on device hdb, logical block 0'. And then farther down I get a series of errors that says 'fsck.ex3: No such file or directory while trying to open/dev/hdb1', 'Buffer i/o error on device hdb, logical block 0'. And then farther down I get a series of errors that says 'fsck.ex3: No such file or directory while trying to open/dev/hdb2', 'Buffer i/o error on device hdb, logical block 0'. And then farther down I get a series of errors that says 'fsck.ex3: No such file or directory while trying to open/dev/hdb3'. I also have a warning that dma on hard drive is turned off.
On those partitions I have /home/, /etc/, and /var/ (I believe). I do have root control but how much more I do not know. Is there anything I can do to fix prob by command line, or can I do something using liveCD, or by hooking it to another box? And what will I have to go through to fix things up? |
|
|
|
|
 |
|
Titel: superblock corrupt
Verfasst am: 18.10.2006, 09:33 Uhr
|
|
Team Member


Anmeldung: 06. Mai 2005
Beiträge: 3087
Wohnort: berlin
|
|
this sounds like your filesystem is corrupt (ext3) with bad superblock. you need to fix this from the live-cd using the command esfsck. you might want to read up on it before by giving: man e2fsck in a konsole or look for a howto.
greetz
devil |
_________________ <<We are Xorg - resistance is futile - you will be axximilated>>
Host/Kernel/OS "devilsbox" running[2.6.19-rc1-git5-kanotix-1KANOTIX-2006-01-RC4 ]
CPU Info AMD Athlon 64 3000+ clocked at [ 803.744 MHz ]
|
|
|
|
 |
|
Titel: RE: superblock corrupt
Verfasst am: 18.10.2006, 12:57 Uhr
|
|
Anmeldung: 21. Apr 2006
Beiträge: 152
Wohnort: Ice and Snow
|
|
I have it back running. The next question I have is,is there a way to make a backup of the hd partitions so that I can reformat a HD or plug in a new HD with a different file system (I believe fstab would have to be changed also)? Is there a howto somewhere that shows you how to do that? |
|
|
|
|
 |
|
Titel: RE: superblock corrupt
Verfasst am: 18.10.2006, 16:14 Uhr
|
|

Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
LRC, this isn't difficult. First, you have to boot your computer off the LiveCD. This is much simpler than backing up a running system. Then you can either backup entire partitions with partimage (man partimage) or copy all files from one partition to another with cp -av /media/source_partition /media/destination_partition. If you use cp, make sure that the partition you copy the data to has a Linux file system such as etx3 or reiserfs. Otherwise file attributes will not be preserved, and you will not be able to restore your system.
If you want to move data to another hard drive, cp -av is the best way to do it. You can keep things simple by using a similar partition layout, i.e. keeping the drive labels for root and swap (e.g., if root is located on partition hda1 on the old drive, copy all files to partition hda1 on the new drive). Don't forget to switch master and slave drive when you're done copying. Before you can boot off the new drive, you have to (re)install grub to the MBR of the new drive.
The methods I described require some effort, but you can also learn more about Kanotix. If you want a more comfortable solution, download and run h2's backup script. |
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
 |
|
Titel: RE: superblock corrupt
Verfasst am: 18.10.2006, 18:24 Uhr
|
|

Anmeldung: 10. Dez 2004
Beiträge: 489
Wohnort: Stuttgart / Kulmbach
|
|
i think for backing up system partitions you need "-x", so cp will stay on the same system (follow no links etc.)
cp -avx |
|
|
|
|
 |
|
Titel: RE: superblock corrupt
Verfasst am: 18.10.2006, 18:36 Uhr
|
|

Anmeldung: 25. Mar 2005
Beiträge: 2133
|
|
Interesting point, John. But you're just copying files from one partition to another, and mount points in /hdxy/media are empty directories because you booted the system off the LiveCD. |
_________________ And I ain't got no worries 'cause I ain't in no hurry at all (Doobie Brothers, "Black Water").
|
|
|
|
 |
|