[SLUG] upgrading my harddisk and filesystem

From: Russell Hires (rhires@earthlink.net)
Date: Sun Mar 14 2004 - 15:52:28 EST


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

Hello All...

It's been a long time that I've been away, but I'm back!

Here's my problem: Debian sarge, kernel 2.4.25 currently rests on a 4 GB hard
drive, is split into 5 linux partitions, / /usr /home /tmp /var. I'm doing
two things at once. I'm going to move each of these partitions to a larger
disk (80 GB), and the filesystem is going to be xfs. The partitions are going
to be the same as the smaller disk. At some point, the larger disk is going
to do everything, and the smaller disk will be reassigned some new duty.

How do I move everything over from each partition on the smaller disk to each
partition on the larger disk?

I've tried various things, such as cp -ax / /mnt/ (for example), and then
reboot, and I'm told that there are some read only stuff that should be
read-write. I can't use dd, since that take the ext2 filesystem on the
smaller disk to the larger disk. I've tried rsync as well, but I don't
understand that enough to actually do it right. I've also had concerns with
mtab, since it doesn't seem to reflect fstab when I boot with the new /.
Also, every bit of advice that I've seen on the net talks about not
copying /proc over to the new device, since...something bad will happen, but
I don't know what. Then I get a message about there being nothing in /proc.
This just tells me that I don't know what I'm doing... ;-)

So...pointers? Answers? Help?

Russell
- --
Linux -- the OS for the Renaissance Man
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAVMYPAqKGrvVshJQRAk2iAKDG3pv26WOiMhUtsin1Yt+T5nqSZQCg3fRp
Dvc2nAoXi1LgL3d6mVVtYSU=
=NS2i
-----END PGP SIGNATURE-----

-----------------------------------------------------------------------
This list is provided as an unmoderated internet service by Networked
Knowledge Systems (NKS). Views and opinions expressed in messages
posted are those of the author and do not necessarily reflect the
official policy or position of NKS or any of its employees.



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 19:19:09 EDT