|
I
have a problem with a HD intermittently failing and am about to replace it with
a brand new one. The dive in question is the secondary drive in the system My mounts
are setup thusly: /dev/root / ext2 rw 0 0 /proc /proc proc rw 0 0 usbdevfs
/proc/bus/usb usbdevfs rw 0 0 /dev/hdc1 /boot ext2 rw 0 0 /dev/hdd5 /home ext2 rw 0 0 /dev/hdd1 /usr ext2 rw 0 0 /dev/hdc7 /var ext2 rw 0 0 none
/dev/pts devpts rw 0 0 And
my partitions are: major
minor #blocks name rio
rmerge rsect ruse wio wmerge wsect
wuse running use aveq 22 0 6336225 hdc
5457 28766 68458 47870 25393 21487 93988 2442780 0 196590 2490710 22 1 56196 hdc1 319
1997 4632 5230 18 16 70 59830 0 35280 65060 22 2
1 hdc2 0 0 0 0 0 0 0 0 0 0 0 22 5 787153 hdc5 2 0 16 20
0 0 0 0
0 20 20 22 6 265041 hdc6 3625 18165
43580 22240 13134 4232 34938 1335990 0 65820 1358280 22 7 265041 hdc7 1506 8598
20208 20340 12241 17239 58980 1046960 0 176950 1067300 22 64 10022040 hdd
14454 117185 317746 557010 3237 2967 51164 7892630 0 583620 8520480 22 65 3461976 hdd1 12342 64302
206838 528420 2988 2946 49214 7387540 0 557290 7986800 22 66
1 hdd2 1 0 2 10 0 0 0
0 0 10 10 22 69 3461976 hdd5 2107 52877
110886 28520 249 21 1950 505090 0 47750 533610 My
idea is to replace the bad drive by: 1.
Install new HDD. 2.
Partition HDD to mirror current
bad drive. 3.
Copy w/ perms all filesystems to new drive. 4.
Shutdown, disable bad drive, palce new in it’s place and
reboot. All should be good at this point? If the above plan is a good one I need to know how to
copy a filesystem while retaining it’s
permissions. That’s where I’m stuck. |
BEGIN:VCARD VERSION:2.1 N:Stansfield;James FN:James Stansfield (jstansfield trader ca) ORG:Trader Media Corp. TITLE:Senior Web Developer TEL;WORK;VOICE:(416) 789-3311 x3249 TEL;CELL;VOICE:(416) 788-4941 TEL;PAGER;VOICE:(416) 374-4941 TEL;WORK;FAX:(416) 789-3717 ADR;WORK:;;21 Apex Road;Toronto;Ontario;M6A2V6;Canada LABEL;WORK;ENCODING=QUOTED-PRINTABLE:21 Apex Road=0D=0AToronto, Ontario M6A2V6=0D=0ACanada URL;WORK:http://www.trader.ca EMAIL;PREF;INTERNET:jstansfield trader ca REV:20010531T145719Z END:VCARD