Re: Question on changing hard drive - Red Hat
- From: amerar@xxxxxxx
- Date: 5 Jun 2006 12:43:29 -0700
John-Paul Stewart wrote:
amerar@xxxxxxx wrote:
John-Paul Stewart wrote:
amerar@xxxxxxx wrote:
I do not know a lot about Linux, so I'm not sure what is involved inRead the "Hard Disk Upgrade HOWTO" from the Linux Documentation Project
swapping the drives. I'd appreciate it if someone could help me
out.......
at http://www.tldp.org/HOWTO/Hard-Disk-Upgrade/index.html.
IMHO, it is best to create partitions on the new disk, create
filesystems, and then copy over data.
You could use some utility to "clone" the whole disk and then resize the
filesystems to take advantage of the new disk space. But generally, I'd
try to avoid resizing a filesystem if possible, and it's easy to just
create filesystems of the appropriate size before you start copying data
to the new disk.
It's just that I've never really done this before. And, I've changed a
lot of config files and such and I'm worried about losing changes.
I've changed the SSHD config file, the Apache config file, the Postfix
configurations, etc.....I'm not even sure what else I've changed.
Sure. My suggestion was to create filesystems and copy everything from
the old to the new. You'll keep all your data and configuration info.
I'm not advocating re-installing.
All you need to do is use fdisk to create partitions on the new disk,
then use mkfs to make filesystems, copy everything one filesystem at a
time (using tar or cp or rsync or ...) to the new disk.
It's all described in the HOWTO.
That is a decent HOWTO. However, a few things it does not cover, and
please excuse my ignorance, as I'm shallow with Linux. But, what is
the best way to partition the disk? One huge 250GB partition? Easy
enough to manage? In terms of file systems, what if I make one too
small and another too large, is it easy to resize?
Also, it refers to LILO. I do not think I use LILO.......no biggie
there??
.
- Follow-Ups:
- Re: Question on changing hard drive - Red Hat
- From: Andrew Gideon
- Re: Question on changing hard drive - Red Hat
- From: joseph2k
- Re: Question on changing hard drive - Red Hat
- References:
- Question on changing hard drive - Red Hat
- From: amerar
- Re: Question on changing hard drive - Red Hat
- From: John-Paul Stewart
- Re: Question on changing hard drive - Red Hat
- From: amerar
- Re: Question on changing hard drive - Red Hat
- From: John-Paul Stewart
- Question on changing hard drive - Red Hat
- Prev by Date: Re: (another) serial port qusetion.
- Next by Date: Good optical mouse?
- Previous by thread: Re: Question on changing hard drive - Red Hat
- Next by thread: Re: Question on changing hard drive - Red Hat
- Index(es):
Relevant Pages
|