public inbox for speakup@linux-speakup.org
 help / color / mirror / Atom feed
From: "Joseph C. Lininger" <jbahm@pcdesk.net>
To: "Speakup is a screen review system for Linux." <speakup@braille.uwo.ca>
Subject: Re: crashing hard drive
Date: Sat, 10 Jun 2006 21:20:07 -0600 (Mountain Daylight Time)	[thread overview]
Message-ID: <Pine.WNT.4.64.0606102114320.3816@merlin> (raw)
In-Reply-To: <20060610201425.GA7137@asmodean.asmotec.com>

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,
To answer your question, most likely you can just use tar to backup the
system and then use it again on the new drive. Don't do this while the
system is running though or weird things will happen. There are two
cases when you won't be able to simply use tar:

1. If you are using extended attributes/acl's on the filesystem, or
2. If you are using some sort of program that uses inode numbers for
accessing stuff. (mail system would be the culprit here if anything)

In either case, you wanna use something like dump or xfsdump or similar
tools that will preserve that stuff. But most likely you can just tar
with the understanding that you may have to fix up your mail queue
afterwords. No matter how you do it, make sure to use a cd to do it. Do
not tar up or dump a running system.

- --
It's not one damn thing after another, it's the same damn thing over and
over. (History repeats itself)
Joseph C. Lininger
Oh alright, here's the *actual* signature...

And so it came to pass that on Sat, 10 Jun 2006, Raul A. Gallegos said

> Hi gang. Currently I'm running FC3 on a machine which has 2 hard
drives.
> Both are 40gb. the first hd is the root /usr/local and /var partitions
> while the second one is all 40gb of /home.
>
> It appears that the hard drive is about to crash because I'm starting
to
> get unreadable hda errors some give a sector it cannot read others say
> unknown errors. In any case the system is not acting right and the hdd
> is kind of old.
>
> So now to my question. If I get another 40gb hdd which I do have one
of.
> Can I simply transfer the stuff from the one to the other either by
> using tar saving all permissions? Or should I reinstall the os on the
> new hdd and just redo all my settings.
>
> Right now the mail system I use is vpostmaster which is a combo of
> postgres for the mail, spam, user accounts, passwords, etc and it puts
> all it's maildir mail in /var/spool/vpostmaster. If I reinstall the
> whole os I can easily save that directory not losing mail but I'd have
> to recreate the accounts after reinstalling vpostmaster.
>
> I'm fine in doing this because if I needed to I could use another os
or
> a new Fedora. But in case I do stick with FC3 will simply transferring
> all the hard drive stuff work?
>
> Thanks.
>
>


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (MingW32)

iD8DBQFEi4vqJ6dqn0mqPbARAgLsAKCEQ4u9DsPGALk2GCiZDH4ajN5SoACgw6CV
FQLmSeOQ13VPPWaZMPHDq6c=
=Sjs1
-----END PGP SIGNATURE-----


  reply	other threads:[~ UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
 Raul A. Gallegos
 ` Joseph C. Lininger [this message]
   ` Marcel Oats

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.WNT.4.64.0606102114320.3816@merlin \
    --to=jbahm@pcdesk.net \
    --cc=speakup@braille.uwo.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).