[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [seul-edu] Need help with dying SCSI drive
Jeff,
Thanks for the info I will
print it up and bring it to school Monday to complete the transfer.
Actually, the only partition that's going bad is /. There are separate
partitions for /boot, /usr, /usr/local, /opt, and /home so I don't need to worry
about them. I had no trouble making a swap partition and new file system on the
replacement drive. The main thing was that when trying to figure how to copy /
without copying them, I didn't think of just unmounting their partitions. The
simplest ideas are usually the best.
Something I'm trying to
understand: yesterday whern experimenting with this I made the new /dev/sdd2
partition mount as /newroot, then made a /newroot/etc and tried to copy
everything from the old /etc by using the command
cp -f
-R /etc/* /newroot/etc.
Everything copied, but very inefficiently. When I did a du on
the old /etc it was about 2700k, but a du on the /newroot/etc showed about
6100k. Do you know why the copies took up so much more space? It would make
sense under DOS with its inefficiencies, but Linux???
Thanks again,
On Fri, 02 Feb 2001, you
wrote:
>
> Anybody,
> The boot
drive on my classroom server, /dev/sda, is in the process of dying.
etc
>
Thanks,
> Dave Prentice
> prentice@instruction.com
Greetings!
This
happened to my IDE drive a couple of months ago at the University, and I
recently replaced the 10 gig with a 20 gig on my system at home.
Do all
of this in single user mode to keep things easy...
Ok, you've made your
partitions and done the mke2fs on them from what I understand. (If
not, after you partition, you need to "make" the file system
mke2fs /dev/sdd1
for each partition of Linux you are going to
transfer. The rest is easy.
Mount each partition in turn on a
temporary mount point (I call mine /transfer).
mount -t ext2 /dev/sdd1
/transfer
Then for every partition EXCEPT FOR / you can issue
cp -Rp
/usr/* /transfer
This copies all of the files and directories from /usr
to /transfer preserving
the structure and dates, etc.
etc.
This procedure has worked for me. Good luck.
--
jeff williams - cfiaime@nconnect.net
jeff.williams@cuw.edu
jbw9586@ksu.edu