format
cfgadm -la
cfgadm -f -c configure c3
cfgadm -f -c configure c5
format
[SKOL] / # svcs -a |egrep "md|meta"
disabled Sep_30 svc:/network/rpc/mdcomm:default
disabled Sep_30 svc:/network/rpc/metamed:default
disabled Sep_30 svc:/network/rpc/metamh:default
online Sep_30 svc:/system/metainit:default
online Sep_30 svc:/platform/sun4u/sckmd:default
online Sep_30 svc:/system/fmd:default
online Sep_30 svc:/network/rpc/meta:default
online Sep_30 svc:/system/mdmonitor:default
[SKOL] / #
[SKOL] / # svcadm enable svc:/network/rpc/metamh:default
[SKOL] / # svcadm enable svc:/network/rpc/metamed:default
[SKOL] / # svcs -a |egrep "md|meta"
disabled Sep_30 svc:/network/rpc/mdcomm:default
online Sep_30 svc:/system/metainit:default
online Sep_30 svc:/platform/sun4u/sckmd:default
online Sep_30 svc:/system/fmd:default
online Sep_30 svc:/network/rpc/meta:default
online Sep_30 svc:/system/mdmonitor:default
online 10:28:16 svc:/network/rpc/metamh:default
online 10:28:23 svc:/network/rpc/metamed:default
[SKOL] / #
[SKOL] / # metaset -s CONEJA -a -h SKOL
[SKOL] / # metaset -s CONEJA
Set name = CONEJA, Set number = 1
Host Owner
SKOL
[SKOL] / #
[SKOL] / # metaset -s CONEJA -a c10t6006016082811F00AA12BE1023ADDE11d0 c10t6006016082811F00AB12BE>
[SKOL] / # metaset -s CONEJA
Set name = CONEJA, Set number = 1
Host Owner
SKOL Yes
Drive Dbase
/dev/dsk/c10t6006016082811F00AA12BE1023ADDE11d0 Yes
/dev/dsk/c10t6006016082811F00AB12BE1023ADDE11d0 Yes
[SKOL] / #
[SKOL] / # metainit -s CONEJA d90 1 2 c10t6006016082811F00AA12BE1023ADDE11d0s0 c10t6006016082811F00AB12BE1023ADDE11d0s0
CONEJA/d90: Concat/Stripe is setup
[SKOL] / #
[SKOL] / # metainit -s CONEJA d91 -p d90 19g
d91: Soft Partition is setup
[SKOL] / # metainit -s CONEJA d92 -p d90 19g
d92: Soft Partition is setup
[SKOL] / #
[SKOL] / # newfs /dev/md/CONEJA/rdsk/d91
[SKOL] / # newfs /dev/md/CONEJA/rdsk/d92
[SKOL] / # mount /dev/md/CONEJA/dsk/d91 /TESTEO1
[SKOL] / # mount /dev/md/CONEJA/dsk/d92 /TESTEO2
[SKOL] / # df -h |grep TEST
/dev/md/CONEJA/dsk/d91 19G 19M 19G 1% /TESTEO1
/dev/md/CONEJA/dsk/d92 19G 19M 19G 1% /TESTEO2
[SKOL] / #
[SKOL] / # time ufsdump 0f - /dev/md/dsk/d70 | (cd /TESTEO2;ufsrestore xf -)
DUMP: Date of this level 0 dump: Wed Oct 07 11:20:32 2009
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/md/rdsk/d70 (SKOL:/ZONA1/u09) to standard output.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Writing 32 Kilobyte records
DUMP: Estimated 16418184 blocks (8016.69MB).
DUMP: Dumping (Pass III) [directories]
DUMP: Dumping (Pass IV) [regular files]
Warning: ./lost+found: File exists
DUMP: 16418174 blocks (8016.69MB) on 1 volume at 28466 KB/sec
DUMP: DUMP IS DONE
set owner/mode for '.'? [yn] y
Directories already exist, set modes anyway? [yn] y
real 5m16.59s
user 0m46.13s
sys 4m56.90s
[SKOL] / #
[SKOL] / # time ufsdump 0f - /dev/md/dsk/d69 | (cd /TESTEO1;ufsrestore xf -)
DUMP: Date of this level 0 dump: Wed Oct 07 11:19:58 2009
DUMP: Date of last level 0 dump: the epoch
DUMP: Dumping /dev/md/rdsk/d69 (SKOL:/ZONA1/u08) to standard output.
DUMP: Mapping (Pass I) [regular files]
DUMP: Mapping (Pass II) [directories]
DUMP: Writing 32 Kilobyte records
DUMP: Estimated 16418184 blocks (8016.69MB).
DUMP: Dumping (Pass III) [directories]
DUMP: Dumping (Pass IV) [regular files]
Warning: ./lost+found: File exists
Warning: ./oradata: File exists
Warning: ./oradata/odbprod: File exists
DUMP: 16418174 blocks (8016.69MB) on 1 volume at 28861 KB/sec
DUMP: DUMP IS DONE
set owner/mode for '.'? [yn] y
Directories already exist, set modes anyway? [yn] y
real 5m45.01s
user 0m45.88s
sys 5m6.26s
[SKOL] / #
PRUEBA
[SKOL] / # umount /TESTEO2
[SKOL] / # umount /TESTEO1
[SKOL] / # metaset -s CONEJA -C release
[SKOL] / # metaset -s CONEJA
Set name = CONEJA, Set number = 1
Host Owner
SKOL
Drive Dbase
/dev/dsk/c10t6006016082811F00AA12BE1023ADDE11d0 Yes
/dev/dsk/c10t6006016082811F00AB12BE1023ADDE11d0 Yes
[SKOL] / #
[SKOL] / # format
Searching for disks...done
AVAILABLE DISK SELECTIONS:
0. c0t8d0
/pci@bc,700000/pci@1/pci@1/scsi@2/sd@8,0
1. c0t9d0
/pci@bc,700000/pci@1/pci@1/scsi@2/sd@9,0
2. c1t10d0
/pci@dc,700000/pci@1/pci@1/scsi@2/sd@a,0
3. c1t11d0
/pci@dc,700000/pci@1/pci@1/scsi@2/sd@b,0
4. c10t6006016073811F00FA3FDF74D83BDE11d0
/scsi_vhci/ssd@g6006016073811f00fa3fdf74d83bde11
5. c10t6006016073811F00FB3FDF74D83BDE11d0
/scsi_vhci/ssd@g6006016073811f00fb3fdf74d83bde11
6. c10t6006016073811F001A82ACE5D83BDE11d0
/scsi_vhci/ssd@g6006016073811f001a82ace5d83bde11
7. c10t6006016073811F001B82ACE5D83BDE11d0
/scsi_vhci/ssd@g6006016073811f001b82ace5d83bde11
8. c10t6006016073811F00708F9007D93BDE11d0
/scsi_vhci/ssd@g6006016073811f00708f9007d93bde11
9. c10t6006016073811F00718F9007D93BDE11d0
/scsi_vhci/ssd@g6006016073811f00718f9007d93bde11
10. c10t6006016073811F0066982514D93BDE11d0
/scsi_vhci/ssd@g6006016073811f0066982514d93bde11
Specify disk (enter its number): ^D
[SKOL] / #
No hay comentarios:
Publicar un comentario