BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡

±Û¾´ÀÌ: ½ã [º£¸®Å¸½º]º¼·ý¸Å´ÏÁ®¸¦ ÀÌ¿ëÇÑ º¼·ý±¸¼º Á¶È¸¼ö: 9005


Veritas Volume Manager(ver 4.1) ÀÌ¿ëÇÑ Volume ±¸¼º
- º¼·ý ¸Å´ÏÁ® 4.0 ÀÌ»óºÎÅÍ´Â rootdg ¿µ¿ªÀÌ ÇÊ¿ä°¡ ¾øÀÌ ±¸¼º°¡´É.


1. µð½ºÅ©¸¦ VMÀ¸·Î ÃʱâÈ­
- µð½ºÅ©¸¦ VMÀ¸·Î ÃʱâÈ­ÇÏ¿© FDP(free Disk Pool) ¿µ¿ª¿¡ ³Ö´Â´Ù.
#vxdisk list
( µð½ºÅ© Á¤º¸ È®ÀÎ )
ex> c2t0d0s2 auto:cdsdisk - - online invalid
c2t3d0s2 auto:cdsdisk - - online invalid
c2t6d0s2 auto:cdsdisk - - online invalid
c2t7d0s2 auto:cdsdisk - - online invalid

#vxdisksetup -i c2t0d0
#vxdisksetup -i c2t3d0
#vxdisksetup -i c2t6d0
#vxdisksetup -i c2t7d0
#vxdisk list
ex> c2t0d0s2 auto:cdsdisk - - online
c2t3d0s2 auto:cdsdisk - - online
c2t6d0s2 auto:cdsdisk - - online
c2t7d0s2 auto:cdsdisk - - online


2. Disk group »ý¼º
#vxdg init ntechdg disk1=c2t0d0
#vxdg -g ntechdg adddisk disk2=c2t3d0
( Disk group¿¡ µð½ºÅ© Ãß°¡)
#vxdg -g ntechdg adddisk disk3=c2t6d0
#vxdg -g ntechdg adddisk disk3=c2t7d0
#vxdisk list
ex> c2t0d0s2 auto:cdsdisk disk1 ntechdg online
c2t3d0s2 auto:cdsdisk disk2 ntechdg online
c2t6d0s2 auto:cdsdisk disk3 ntechdg online
c2t7d0s2 auto:cdsdisk disk4 ntechdg online
3. Volume »ý¼º

1> mirror-concatenate volume »ý¼º
# vxassist -g aquadg make vol1 5g layout=mirror-concat disk1 disk2
#vxtask list
( back ground ÁøÇà»çÇ× È®ÀÎ )
#vxprint -hrt vol1
ex> v vol1 - ENABLED ACTIVE 10485760 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 10485760 CONCAT - RW
sd disk1-01 vol1-01 disk1 0 10485760 0 c2t0d0 ENA
pl vol1-02 vol1 ENABLED ACTIVE 10485760 CONCAT - RW
sd disk2-01 vol1-01 disk2 0 10485760 0 c2t3d0 ENA

2> mirror-stripe volume »ý¼º(ÃÖ¼Ò 4°³ µð½ºÅ©)
#vxassist -g ntechdg make vol1 135g layout=mirror-stripe ncol=2 disk1 disk2 disk3 disk4
#vxtask list
( back ground ÁøÇà»çÇ× È®ÀÎ )
#vxprint -hrt vol1
ex> v vol1 - ENABLED ACTIVE 286693376 SELECT - fsgen
pl vol1-01 vol1 ENABLED ACTIVE 286693376 STRIPE - RW
sd disk1-01 vol1-01 disk1 0 143346688 0/0 c2t0d0 ENA
sd disk2-01 vol1-01 disk2 0 143346688 1/0 c2t3d0 ENA
pl vol1-02 vol1 ENABLED ACTIVE 286693376 STRIPE - RW
sd disk3-01 vol1-01 disk3 0 143346688 0 c2t6d0 ENA
sd disk4-01 vol1-01 disk4 0 143346688 1/0 c2t7d0 ENA

3> Raid5 º¼·ý»ý¼º (ÃÖ¼Ò 3°³ µð½ºÅ©)
#vxassist -g ntechdg make vol1 30g layout=raid5 disk1 disk2 disk3 disk4
#vxtask list
( back ground ÁøÇà»çÇ× È®ÀÎ )
#vxprint -hrt vol1
ex> v hts_vol - ENABLED ACTIVE 111816800 RAID - raid5
pl hts_vol-01 hts_vol ENABLED ACTIVE 111816800 RAID 6/32 RW
sd disk1-01 hts_vol-01 disk1 13002368 22363360 0/0 c2t0d0 ENA
sd disk2-01 hts_vol-01 disk2 13002368 22363360 1/0 c2t3d0 ENA
sd disk3-01 hts_vol-01 disk3 13002368 22363360 2/0 c2t6d0 ENA
sd disk4-03 hts_vol-01 disk4 13002368 22363360 3/0 c2t7d0 ENA

4. Volume size grow up
#vxassist -g ntechdg maxsize layout=raid5
( »ç¿ë °¡´ÉÇÑ º¼·ý »çÀÌÁî È®ÀÎ )
#vxresize -g ntechdg vol1 +2g
( Volume resize )

5. Volume ¹× group Á¦°ÅÇϱâ
#vxvol -g ntechdg stop vol1
#vxedit -g ntechdg -rf rm vol1
( Volume Á¦°Å )
#vxdg -g ntechdg rmdisk disk4
#vxdg -g ntechdg rmdisk disk3
#vxdg -g ntechdg rmdisk disk2
#vxdg destroy ntechdg
( Volume group Á¦°Å )
#vxdisk list
ex> c2t0d0s2 auto:cdsdisk - - online
c2t3d0s2 auto:cdsdisk - - online
c2t6d0s2 auto:cdsdisk - - online
c2t7d0s2 auto:cdsdisk - - online

6. µð½ºÅ©¸¦ VMÀ¸·Î ÃʱâÈ­ÇÏ¿© FDP(free Disk Pool) ¿µ¿ª¿¡¼­ Á¦°ÅÇϱâ
#vxdiskunsetup -c c2t0d0
#vxdiskunsetup -c c2t3d0
#vxdiskunsetup -c c2t6d0
#vxdiskunsetup -c c2t7d0
#vxdisk list
ex> c2t0d0s2 auto:cdsdisk - - online invalid
c2t3d0s2 auto:cdsdisk - - online invalid
c2t6d0s2 auto:cdsdisk - - online invalid
c2t7d0s2 auto:cdsdisk - - online invalid



7. A5xxx Array µð½ºÅ© ±³Ã¼ ¹× º¼·ý º¹±¸ ¹æ¹ý
#vxdiskadm
ex>
Volume Manager Support Operations
Menu: VolumeManager/Disk
1 Add or initialize one or more disks
2 Encapsulate one or more disks
3 Remove a disk
4 Remove a disk for replacement
5 Replace a failed or removed disk
6 Mirror volumes on a disk
7 Move volumes from a disk
8 Enable access to (import) a disk group
9 Remove access to (deport) a disk group
10 Enable (online) a disk device
11 Disable (offline) a disk device
12 Mark a disk as a spare for a disk group
13 Turn off the spare flag on a disk
14 Unrelocate subdisks back to a disk
15 Exclude a disk from hot-relocation use
16 Make a disk available for hot-relocation use
17 Prevent multipathing/Suppress devices from VxVM's view
18 Allow multipathing/Unsuppress devices from VxVM's view
19 List currently suppressed/non-multipathed devices
20 Change the disk naming scheme
21 Get the newly connected/zoned disks in VxVM view
list List disk information

? Display help about menu
?? Display help about the menuing system
q Exit from menus

Select an operation to perform: 4


Remove a disk for replacement
Menu: VolumeManager/Disk/RemoveForReplace

Use this menu operation to remove a physical disk from a disk
group, while retaining the disk name. This changes the state
for the disk name to a "removed" disk. If there are any
initialized disks that are not part of a disk group, you will be
given the option of using one of these disks as a replacement.

Enter disk name [<disk>,list,q,?] list

Disk group: aquadg

DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE

dm disk1 c2t0d0s2 auto:cdsdisk 10175 143328960 -
dm disk2 c2t3d0s2 auto:cdsdisk 10175 143328960 -
dm disk3 c2t6d0s2 auto:cdsdisk 3590 17674902 -
dm disk4 c2t7d0s2 auto:cdsdisk 3590 17674902 -

Enter disk name [<disk>,list,q,?] disk2

The following volumes are in use, and will be disabled as a result
of this operation:

vol1

Any applications using these volumes will fail future accesses.
These volumes will require restoration from backup.
Are you sure you want do do this? [y,n,q,?] (default: n) y

The requested operation is to remove disk esmdg05 from disk group
esmdg. The disk name will be kept, along with any volumes using
the disk, allowing replacement of the disk.

Select "Replace a failed or removed disk" from the main menu
when you wish to replace the disk.

Continue with operation? [y,n,q,?] (default: y) y

Removal of disk esmdg05 completed successfully.

Remove another disk? [y,n,q,?] (default: n)

#vxdiskadm
ex>
Volume Manager Support Operations
Menu: VolumeManager/Disk
1 Add or initialize one or more disks
2 Encapsulate one or more disks
3 Remove a disk
4 Remove a disk for replacement
5 Replace a failed or removed disk
6 Mirror volumes on a disk
7 Move volumes from a disk
8 Enable access to (import) a disk group
9 Remove access to (deport) a disk group
10 Enable (online) a disk device
11 Disable (offline) a disk device
12 Mark a disk as a spare for a disk group
13 Turn off the spare flag on a disk
14 Unrelocate subdisks back to a disk
15 Exclude a disk from hot-relocation use
16 Make a disk available for hot-relocation use
17 Prevent multipathing/Suppress devices from VxVM's view
18 Allow multipathing/Unsuppress devices from VxVM's view
19 List currently suppressed/non-multipathed devices
20 Change the disk naming scheme
21 Get the newly connected/zoned disks in VxVM view
list List disk information


? Display help about menu
?? Display help about the menuing system
q Exit from menus

Select an operation to perform: 11

Disable (offline) a disk device
Menu: VolumeManager/Disk/OfflineDisk

Use this menu operation to disable all access to a disk device
by the Volume Manager. This operation can be applied only to
disks that are not currently in a disk group. Use this operation
if you intend to remove a disk from a system without rebooting.

NOTE: Many systems do not support disks that can be removed from
a system during normal operation. On such systems, the
offline operation is seldom useful.

Select a disk device to disable [<address>,list,q,?] list

DEVICE DISK GROUP STATUS
c2t0d0 disk1 ntechdg online
c2t3d0 - - online
c2t6d0 disk3 ntechdg online
c2t7d0 disk4 ntechdg online

Select a disk device to disable [<address>,list,q,?] c2t3d0

Disable another device? [y,n,q,?] (default: n)

Volume Manager Support Operations
Menu: VolumeManager/Disk
1 Add or initialize one or more disks
2 Encapsulate one or more disks
3 Remove a disk
4 Remove a disk for replacement
5 Replace a failed or removed disk
6 Mirror volumes on a disk
7 Move volumes from a disk
8 Enable access to (import) a disk group
9 Remove access to (deport) a disk group
10 Enable (online) a disk device
11 Disable (offline) a disk device
12 Mark a disk as a spare for a disk group
13 Turn off the spare flag on a disk
14 Unrelocate subdisks back to a disk
15 Exclude a disk from hot-relocation use
16 Make a disk available for hot-relocation use
17 Prevent multipathing/Suppress devices from VxVM's view
18 Allow multipathing/Unsuppress devices from VxVM's view
19 List currently suppressed/non-multipathed devices
20 Change the disk naming scheme
21 Get the newly connected/zoned disks in VxVM view
list List disk information

? Display help about menu
?? Display help about the menuing system
q Exit from menus

Select an operation to perform: q

#vxdisk list
ex>
c2t0d0s2 auto:cdsdisk disk1 aquadg online
c2t3d0s2 auto:cdsdisk - - offline
c2t6d0s2 auto:cdsdisk disk3 ntechdg online
c2t7d0s2 auto:cdsdisk disk4 ntechdg online
- - disk2 ntechdg removed was:c1t2d0s2

#luxadm probe
ex>
Found Enclosure(s):
SENA Name:aqua Node WWN:508002000006a220
Logical Path:/dev/es/ses0
Logical Path:/dev/es/ses1

Found Fibre Channel device(s):
Node WWN:20000020376b6982 Device Type:Disk device
Logical Path:/dev/rdsk/c0t1d0s2
Node WWN:20000020376b7bc1 Device Type:Disk device
Logical Path:/dev/rdsk/c0t0d0s2
Node WWN:2000002037224f7b Device Type:Disk device
Logical Path:/dev/rdsk/c0t3d0s2

SENA
DISK STATUS
SLOT FRONT DISKS (Node WWN) REAR DISKS (Node WWN)
0 On (O.K.) 200000203722bf32 Not Installed
1 Not Installed Not Installed
2 Not Installed Not Installed
3 On (O.K.) 200000203726124d Not Installed
4 Not Installed Not Installed
5 Not Installed Not Installed
6 On (O.K.) 20000020372630ad Not Installed
7 On (O.K.) 200000203720002a Not Installed
SUBSYSTEM STATUS
FW Revision:1.09 Box ID:0 Node WWN:508002000006a220 Enclosure Name: aqua
Power Supplies (0,2 in front, 1 in rear)
0 O.K.(rev.-02) 1 O.K.(rev.-02) 2 O.K.(rev.-02)
Fans (0 in front, 1 in rear)
0 O.K.(rev.-04) 1 Not Installed
ESI Interface board(IB) (A top, B bottom)
A: O.K.(rev.-04)
GBIC module (1 on left, 0 on right in IB)
0 O.K.(mod.-01)
1 Not Installed
B: O.K.(rev.-04)
GBIC module (1 on left, 0 on right in IB)
0 Not Installed
1 Not Installed
Disk backplane (0 in front, 1 in rear)
Front Backplane: O.K.(rev.-03)
Temperature sensors (on front backplane)
0:39ºC 1:39ºC 2:42ºC 3:40ºC 4:39ºC 5:39ºC
6:42ºC 7:36ºC 8:36ºC 9:37ºC 10:37ºC (All temperatures are NORMAL.)
Rear Backplane: O.K.(rev.-03)
Temperature sensors (on rear backplane)
0:40ºC 1:39ºC 2:40ºC 3:40ºC 4:40ºC 5:39ºC
6:40ºC 7:39ºC 8:39ºC 9:39ºC 10:40ºC (All temperatures are NORMAL.)
Interconnect assembly
O.K.(rev.-02)
Loop configuration
Loop A is configured as a single loop.
Loop B is configured as a single loop.
Language USA English

#luxadm remove_device aqua,f3
ex>
WARNING!!! Please ensure that no filesystems are mounted on these device(s).
All data on these devices should have been backed up.


The list of devices which will be removed is:
1: Box Name: "aqua" front slot 3
Node WWN: 2000002037229e85
Device Type:Disk device
Device Paths:
/dev/rdsk/c2t3d0s2


Please verify the above list of devices and
then enter 'c' or <CR> to Continue or 'q' to Quit. [Default: c]:
stopping: Drive in "TEST" front slot 2....Done
offlining: Drive in "TEST" front slot 2....Done

Hit <Return> after removing the device(s).

Drive in Box Name "aqua" front slot 3
Notice: Device has not been removed from the enclosure.
It has been removed from the loop and is ready to be
removed from the enclosure, and the LED is blinking.

Logical Nodes being removed under /dev/dsk/ and /dev/rdsk:
Logical Nodes being removed under /dev/dsk/ and /dev/rdsk:
c2t3d0s0
c2t3d0s1
c2t3d0s2
c2t3d0s3
c2t3d0s4
c2t3d0s5
c2t3d0s6
c2t3d0s7

- ÇØ´ç µð½ºÅ© ±³Ã¼ -

#luxadm insert_device aqua,f2
ex>
Notice: aqua,f3 may already be present.
The list of devices which will be inserted is:
1: Box Name: "aqua" front slot 3


Please verify the above list of devices and
then enter 'c' or <CR> to Continue or 'q' to Quit. [Default: c]:

Hit <Return> after inserting the device(s).

Drive in Box Name "aqua" front slot 3
Logical Nodes under /dev/dsk and /dev/rdsk :
c2t3d0s0
c2t3d0s1
c2t3d0s2
c2t3d0s3
c2t3d0s4
c2t3d0s5
c2t3d0s6
c2t3d0s7

#vxdctl enable
#vxdisksetup -i c2t3d0
#vxdisk list
ex>
c2t0d0s2 auto:cdsdisk disk1 aquadg online
c2t3d0s2 auto:cdsdisk - - online
c2t6d0s2 auto:cdsdisk disk3 ntechdg online
c2t7d0s2 auto:cdsdisk disk4 ntechdg online
- - disk2 ntechdg removed was:c1t2d0s2

#vxdiskadm
ex>
Volume Manager Support Operations
Menu: VolumeManager/Disk
1 Add or initialize one or more disks
2 Encapsulate one or more disks
3 Remove a disk
4 Remove a disk for replacement
5 Replace a failed or removed disk
6 Mirror volumes on a disk
7 Move volumes from a disk
8 Enable access to (import) a disk group
9 Remove access to (deport) a disk group
10 Enable (online) a disk device
11 Disable (offline) a disk device
12 Mark a disk as a spare for a disk group
13 Turn off the spare flag on a disk
14 Unrelocate subdisks back to a disk
15 Exclude a disk from hot-relocation use
16 Make a disk available for hot-relocation use
17 Prevent multipathing/Suppress devices from VxVM's view
18 Allow multipathing/Unsuppress devices from VxVM's view
19 List currently suppressed/non-multipathed devices
20 Change the disk naming scheme
21 Get the newly connected/zoned disks in VxVM view
list List disk information

? Display help about menu
?? Display help about the menuing system
q Exit from menus

Select an operation to perform: 5

Replace a failed or removed disk
Menu: VolumeManager/Disk/ReplaceDisk

Use this menu operation to specify a replacement disk for a disk
that you removed with the "Remove a disk for replacement" menu
operation, or that failed during use. You will be prompted for
a disk name to replace and a disk device to use as a replacement.
You can choose an uninitialized disk, in which case the disk will
be initialized, or you can choose a disk that you have already
initialized using the Add or initialize a disk menu operation.

Select a removed or failed disk [<disk>,list,q,?] list

Disk group: ntechdg

DM NAME DEVICE TYPE PRIVLEN PUBLEN STATE
dm disk2 - - - - REMOVED

Select a removed or failed disk [<disk>,list,q,?] disk2
The following devices are available as replacements:

c2t3d0s2

You can choose one of these disks to replace disk2.
Choose "none" to initialize another disk to replace disk2.

Choose a device, or select "none"
[<device>,none,q,?] (default: c2t3d0s2)

The requested operation is to use the initialized device c3t2d0s2
to replace the removed or failed disk esmdg05 in disk group esmdg.

Continue with operation? [y,n,q,?] (default: y) y

Use a default private region length for the disk?
[y,n,q,?] (default: y)

Replacement of disk esmdg05 in group esmdg with disk device
c2t3d0s2 completed successfully.

Replace another disk? [y,n,q,?] (default: n)

Volume Manager Support Operations
Menu: VolumeManager/Disk

1 Add or initialize one or more disks
2 Encapsulate one or more disks
3 Remove a disk
4 Remove a disk for replacement
5 Replace a failed or removed disk
6 Mirror volumes on a disk
7 Move volumes from a disk
8 Enable access to (import) a disk group
9 Remove access to (deport) a disk group
10 Enable (online) a disk device
11 Disable (offline) a disk device
12 Mark a disk as a spare for a disk group
13 Turn off the spare flag on a disk
14 Unrelocate subdisks back to a disk
15 Exclude a disk from hot-relocation use
16 Make a disk available for hot-relocation use
17 Prevent multipathing/Suppress devices from VxVM's view
18 Allow multipathing/Unsuppress devices from VxVM's view
19 List currently suppressed/non-multipathed devices
20 Change the disk naming scheme
21 Get the newly connected/zoned disks in VxVM view
list List disk information

? Display help about menu
?? Display help about the menuing system
q Exit from menus

Select an operation to perform: q
#vxtask list
( º¼·ý º¹±¸ ÁøÇà·ü È®ÀÎ )
#vxprint -ht
( º¼·ý ±¸¼ºÁ¤º¸ È®ÀÎ )

°ü·Ã±Û : ¾øÀ½ ±Û¾´½Ã°£ : 2007/10/08 14:27 from 218.38.35.251

  [Sun]¸Þ¸ð¸® Áø´Ü ¸ñ·Ïº¸±â »õ±Û ¾²±â Áö¿ì±â ÀÀ´ä±Û ¾²±â ±Û ¼öÁ¤ [HP-UX]patch download  
BACKRUSH  À¯´Ð½º¸í·É  ´ÙÀ½  ÀÚ·á½Ç  Ascii Table   ¿ø°ÝÁ¢¼Ó  ´Þ·Â,½Ã°£   ÇÁ·Î¼¼½º   ½©
ÁöÇÏö³ë¼±   RFC¹®¼­   SUN FAQ   SUN FAQ1   C¸Þ´º¾ó   PHP¸Þ´º¾ó   ³Ê±¸¸®   ¾Æ½ºÅ°¿ùµå ¾ÆÀÌÇǼ­Ä¡