Usenet comp.unix.tru64 (2000-2013)
 help / color / mirror / Atom feed
* Re: replace hard disk
  2002-05-17  8:01 replace hard disk PM Wong
@ 2002-05-16 21:22 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 2002-05-16 21:22 UTC (permalink / raw)


In article <ac2ddi$r4e$1@net44p.hkbu.edu.hk>, s11976@net1.hkbu.edu.hk (PM Wong) writes:
>
>I'm about to replace an error-proned h/d
>The same rz# will remain
>Now what are the steps ?
>Do i still have to do the disklabel -rw
>(or is disklabel -z necessary too?)
>before  the newfs 

You're a little spare (very really) on details, but...

Since you say "rz#", I'll assume you're running V4 or earlier.  Since
you mentioned newfs, I'll assume you're using UFS for the file system.

1.  Verify or ensure you have a good backup.

2.  If you have to unterminate the SCSI bus to remove the disk,
    shutdown the system.  If you're using an enclosure that
    claims to support hot swap, then you can probably replace
    the disk without rebooting the system.

3.  Replace the disk.  If you didn't have to reboot, use scu(8)
    to scan the bus and verify it can see the disk.  You might
    want to run a simple I/O test to verify the new disk works.

4.  Label the disk.  It shouldn't be necessary to erase the old
    label (-z) because there shouldn't be an old label.  However,
    it depends on where the replacement came from.  You might
    simply want to run disklabel(8) without any options to see
    if there is one.  If so, see if serves your purpose.  If not,
    clear it and write a new one.

5.  Create the file system.

6.  Restore from the backup.

>

--
Alan Rollow		alan@nabeth.cxo.cpqcorp.net (previously .dec.com)



^ permalink raw reply	[flat|nested] 2+ messages in thread

* replace hard disk
@ 2002-05-17  8:01 PM Wong
  2002-05-16 21:22 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  0 siblings, 1 reply; 2+ messages in thread
From: PM Wong @ 2002-05-17  8:01 UTC (permalink / raw)


I'm about to replace an error-proned h/d
The same rz# will remain
Now what are the steps ?
Do i still have to do the disklabel -rw
(or is disklabel -z necessary too?)
before  the newfs 


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-05-17  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-05-17  8:01 replace hard disk PM Wong
2002-05-16 21:22 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox