01.05.2025, 19:40 UhrDeutsch | English
Hallo Gast [ Registrierung | Anmelden ]

Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
Autor Nachricht
LRC
Titel: superblock corrupt  BeitragVerfasst 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?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
devil
Titel: superblock corrupt  BeitragVerfasst am: 18.10.2006, 09:33 Uhr
Team Member
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 ]
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
LRC
Titel: RE: superblock corrupt  BeitragVerfasst 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?
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
ockham23
Titel: RE: superblock corrupt  BeitragVerfasst 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").
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
John
Titel: RE: superblock corrupt  BeitragVerfasst 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
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
ockham23
Titel: RE: superblock corrupt  BeitragVerfasst 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").
 
 Benutzer-Profile anzeigen Private Nachricht senden  
Antworten mit Zitat Nach oben
Beiträge vom vorherigen Thema anzeigen:     
Gehe zu:  
Alle Zeiten sind GMT + 1 Stunde
Neues Thema eröffnen   Neue Antwort erstellen
Vorheriges Thema anzeigen Druckerfreundliche Version Einloggen, um private Nachrichten zu lesen Nächstes Thema anzeigen
PNphpBB2 © 2003-2007 
 
Deutsch | English
Logos and trademarks are the property of their respective owners, comments are property of their posters, the rest is © 2004 - 2006 by Jörg Schirottke (Kano).
Consult Impressum and Legal Terms for details. Kanotix is Free Software released under the GNU/GPL license.
This CMS is powered by PostNuke, all themes used at this site are released under the GNU/GPL license. designed and hosted by w3you. Our web server is running on Kanotix64-2006.