All of lore.kernel.org
 help / color / mirror / Atom feed
* 3 corruptions found which can only be corrected via --rebuild-tree...
@ 2002-07-18 15:20 Moritz Angermann
  2002-07-18 15:34 ` Kuba Ober
  0 siblings, 1 reply; 6+ messages in thread
From: Moritz Angermann @ 2002-07-18 15:20 UTC (permalink / raw)
  To: reiserfs-list

... so or a lil' bit different was
the line reiserfsck told me.
so can anyone give me a hand a 
reach me a step-by-step tutorial how
to reiserfsck a root partition ?
( how to create a rescue disk i.e. - w/e is needed)

thanks
-moritz

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 3 corruptions found which can only be corrected via --rebuild-tree...
  2002-07-18 15:20 3 corruptions found which can only be corrected via --rebuild-tree Moritz Angermann
@ 2002-07-18 15:34 ` Kuba Ober
  2002-07-18 15:35   ` Moritz Angermann
  2002-07-18 15:42   ` Philippe Gramoullé
  0 siblings, 2 replies; 6+ messages in thread
From: Kuba Ober @ 2002-07-18 15:34 UTC (permalink / raw)
  To: Moritz Angermann; +Cc: reiserfs-list

On czwartek 18 lipiec 2002 11:20 am, Moritz Angermann wrote:
> ... so or a lil' bit different was
> the line reiserfsck told me.
> so can anyone give me a hand a
> reach me a step-by-step tutorial how
> to reiserfsck a root partition ?
> ( how to create a rescue disk i.e. - w/e is needed)

easiest way?

dd your partition to an empty one
boot to the copy
repair the main root
boot to the repaired root

I usually keep root small (3gigs or so), so it's quite doable then.

Kuba

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 3 corruptions found which can only be corrected via --rebuild-tree...
  2002-07-18 15:34 ` Kuba Ober
@ 2002-07-18 15:35   ` Moritz Angermann
  2002-07-18 16:31     ` Kuba Ober
  2002-07-18 15:42   ` Philippe Gramoullé
  1 sibling, 1 reply; 6+ messages in thread
From: Moritz Angermann @ 2002-07-18 15:35 UTC (permalink / raw)
  To: Kuba Ober; +Cc: reiserfs-list

nice idea, so here is what my partition layout looks like:
could you now tell me what commands i shall run exactly ?

[17:25][cone@prototype:~]$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/hda6             4.7G  3.6G  1.1G  77% /
/dev/hda1              28M   11M   16M  40% /boot
/dev/hda7             4.7G  3.5G  1.2G  75% /home
/dev/hda8              14G   14G  2.0M 100% /media/music
/dev/hda9              14G  2.1G   12G  15% /media/movie
/dev/hda10             19G  9.9G  8.3G  55% /backup
/dev/hdb5              19G  5.9G   13G  32% /media/disk0
/dev/hdb6              19G  8.6G   11G  46% /media/disk1
/dev/hdb7              19G  7.8G   11G  42% /media/disk2

Am Don, 2002-07-18 um 17.34 schrieb Kuba Ober:
> On czwartek 18 lipiec 2002 11:20 am, Moritz Angermann wrote:
> > ... so or a lil' bit different was
> > the line reiserfsck told me.
> > so can anyone give me a hand a
> > reach me a step-by-step tutorial how
> > to reiserfsck a root partition ?
> > ( how to create a rescue disk i.e. - w/e is needed)
> 
> easiest way?
> 
> dd your partition to an empty one
> boot to the copy
> repair the main root
> boot to the repaired root
> 
> I usually keep root small (3gigs or so), so it's quite doable then.
> 
> Kuba
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 3 corruptions found which can only be corrected via --rebuild-tree...
  2002-07-18 15:34 ` Kuba Ober
  2002-07-18 15:35   ` Moritz Angermann
@ 2002-07-18 15:42   ` Philippe Gramoullé
  1 sibling, 0 replies; 6+ messages in thread
From: Philippe Gramoullé @ 2002-07-18 15:42 UTC (permalink / raw)
  To: reiserfs-list

On Thu, 18 Jul 2002 11:34:01 -0400
Kuba Ober <kuba@mareimbrium.org> wrote:

  |  I usually keep root small (3gigs or so), so it's quite doable then.

To me a / over 500 Mo is way overkill. ( we use this setup for workstations
up to 4 way servers quite happily)

All the more that you have then save your / on a CD ( uncompressed)

I personnally tend to have a small / ( ~400Mo ) and a ~2Go /usr partition,
and i can assure you that it saved me lots of times ;o)

Thanks,

Philippe.
Lycos Europe NOC

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 3 corruptions found which can only be corrected via --rebuild-tree...
  2002-07-18 15:35   ` Moritz Angermann
@ 2002-07-18 16:31     ` Kuba Ober
  2002-07-18 19:36       ` Moritz Angermann
  0 siblings, 1 reply; 6+ messages in thread
From: Kuba Ober @ 2002-07-18 16:31 UTC (permalink / raw)
  To: Moritz Angermann; +Cc: reiserfs-list

On czwartek 18 lipiec 2002 11:35 am, you wrote:
> nice idea, so here is what my partition layout looks like:
> could you now tell me what commands i shall run exactly ?
More-or-less exactly. I suggest you buy a linux/unix book. You *need* to know 
and understand what you are doing.

> [17:25][cone@prototype:~]$ df -h
> Filesystem            Size  Used Avail Use% Mounted on
> /dev/hda6             4.7G  3.6G  1.1G  77% /
> /dev/hda1              28M   11M   16M  40% /boot
> /dev/hda7             4.7G  3.5G  1.2G  75% /home
> /dev/hda8              14G   14G  2.0M 100% /media/music
> /dev/hda9              14G  2.1G   12G  15% /media/movie
> /dev/hda10             19G  9.9G  8.3G  55% /backup
> /dev/hdb5              19G  5.9G   13G  32% /media/disk0
> /dev/hdb6              19G  8.6G   11G  46% /media/disk1
> /dev/hdb7              19G  7.8G   11G  42% /media/disk2

1. Get rid of /home - dump it somewhere
2. Copy the boot partition
# telinit 1
# sync; sleep 10; dd if=/dev/hda6 of=/dev/hda7
3. Edit your bootloader so that the kernel knows that the root is /dev/hda7 
# vi /etc/grub.conf or /etc/lilo.conf
4. Reboot
5. Fix and restore
# reiserfsck -V
Make sure it's 3.6.2 or newer
# reiserfsck --rebuild-tree /dev/hda6
# vi /etc/grub.conf or /etc/lilo.conf
-- restore the kernel's root
6. Reboot
7. Redo filesystem on home
# mkreiserfs /dev/hda7
7. Restore your /home partition

Cheers, Kuba Ober

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: 3 corruptions found which can only be corrected via --rebuild-tree...
  2002-07-18 16:31     ` Kuba Ober
@ 2002-07-18 19:36       ` Moritz Angermann
  0 siblings, 0 replies; 6+ messages in thread
From: Moritz Angermann @ 2002-07-18 19:36 UTC (permalink / raw)
  To: Kuba Ober; +Cc: reiserfs-list

well this is what i was going to do, sorry for my sounding like an
idiote and total newbee.
there are 2 reasons i'm so over careing.
#1 once i did --rebuild-tree, it f***ed my whole system
#2 i don't want to destroy anything, and therof want to get 100% sure ;)
so i hope you get what i mean ;)

i got an idea which i had in mind at first.
but i don't know reiserfs in detail and i don't know 
so much about FS's 
but wouldn't it be cool, just to mark that 2 files as 'dead'
like 'deleting' them ? and though just overwriting the part of the disk
? or handling it as 'free' ? s.th. like reiserfsdel <file>
or some thing that like.

regards -moritz

Am Don, 2002-07-18 um 18.31 schrieb Kuba Ober:
> On czwartek 18 lipiec 2002 11:35 am, you wrote:
> > nice idea, so here is what my partition layout looks like:
> > could you now tell me what commands i shall run exactly ?
> More-or-less exactly. I suggest you buy a linux/unix book. You *need* to know 
> and understand what you are doing.
> 
> > [17:25][cone@prototype:~]$ df -h
> > Filesystem            Size  Used Avail Use% Mounted on
> > /dev/hda6             4.7G  3.6G  1.1G  77% /
> > /dev/hda1              28M   11M   16M  40% /boot
> > /dev/hda7             4.7G  3.5G  1.2G  75% /home
> > /dev/hda8              14G   14G  2.0M 100% /media/music
> > /dev/hda9              14G  2.1G   12G  15% /media/movie
> > /dev/hda10             19G  9.9G  8.3G  55% /backup
> > /dev/hdb5              19G  5.9G   13G  32% /media/disk0
> > /dev/hdb6              19G  8.6G   11G  46% /media/disk1
> > /dev/hdb7              19G  7.8G   11G  42% /media/disk2
> 
> 1. Get rid of /home - dump it somewhere
> 2. Copy the boot partition
> # telinit 1
> # sync; sleep 10; dd if=/dev/hda6 of=/dev/hda7
> 3. Edit your bootloader so that the kernel knows that the root is /dev/hda7 
> # vi /etc/grub.conf or /etc/lilo.conf
> 4. Reboot
> 5. Fix and restore
> # reiserfsck -V
> Make sure it's 3.6.2 or newer
> # reiserfsck --rebuild-tree /dev/hda6
> # vi /etc/grub.conf or /etc/lilo.conf
> -- restore the kernel's root
> 6. Reboot
> 7. Redo filesystem on home
> # mkreiserfs /dev/hda7
> 7. Restore your /home partition
> 
> Cheers, Kuba Ober
> 


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2002-07-18 19:36 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-07-18 15:20 3 corruptions found which can only be corrected via --rebuild-tree Moritz Angermann
2002-07-18 15:34 ` Kuba Ober
2002-07-18 15:35   ` Moritz Angermann
2002-07-18 16:31     ` Kuba Ober
2002-07-18 19:36       ` Moritz Angermann
2002-07-18 15:42   ` Philippe Gramoullé

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.