Beruflich Dokumente
Kultur Dokumente
/cdrom/sol_8_100_sparc_2/Solaris_8/EA/products/DiskSuite_4.2.1/sparc/Pa
ckages #pkgadd –d .
1. slice s0 = / # ls -l /dev/rdsk/c0t1d0s0
lrwxrwxrwx 1 root root 50 Aug 1 10:48 /dev/rdsk/c0t1d0s0 ->
# metainit -f d10 1 1 c0t0d0s0 ../../devices/pci@1f,0/pci@1,1/ide@3/dad@1,0:a,raw
# metainit d20 1 1 c0t1d0s0 OK> show-disks
# metainit d0 -m d10 OK> nvalias root-mirror pci@1f,0/pci@1,1/ide@3/dad@1,0:a,raw
# metainit hsp001
# lockfs -fa
# init 6
Online Recovering Failure Disk (Fibre) Online Recovering Failure Disk (SCSI)
WARNING! Please ensure that no filesystems are mounted on these device(s). All Physically remove disk and insert new disk
data on these devices should have been backed up.
# cfgadm –c configure c::dsk/c0t1d0
The list of devices which will be removed is :
# dd if=/dev/rdsk/c0t1d0s2 of=/dev/rdsk/c0t1d0s2 count=16
1 : Device name : /dev/rdsk/c0t1d0s2
Node WWN : 21000000871b1226 # metainit d21 1 1 c0t1d0s0
Device Type : Disk device # metattach d0 d21
Device Path : /dev/rdsk/c0t1d0s2
Recovering State Database Replicas
Please verify the above list of devices and then enter ‘c’ or <CR> to Continue or ‘q’ to
Quit. [Default: c] : <ENTER> Insufficient metadevice database replicas located. Use metadb to delete
databases which are broken. Ignore any “Read-only system” error
Stopping : /dev/rdsk/c0t1d0s2 …… DONE
messages. Reboor the system when finished to reload the metadevice
Offlining : /dev/rdsk/c0t1d0s2 …… DONE
database. After reboot, replicas which were deleted.
**Physically remove the disk
Type Ctrl-d to proceed with normal startup,
(or give root password for system maintenance):
# devfsadm –C
# metadb -d -f c0t1d0s7
# luxadm insert_device
# init 6
Please hit <RETURN> when you have finished adding Fibre Channel Enclosure(s) / # prtvtoc /dev/rdsk/c0t0d0s2 | fmthard -s - /dev/rdsk/c0t1d0s2
Device(s) : # metadb -f -a c0t1d0s7
# metareplace -e d0 c0t1d0s0
**Physically insert the disk then press <ENTER>