로그인
Sign in
node0# vxdisk list
DEVICE       TYPE      DISK         GROUP        STATUS
c0t0d0s2     sliced    -            -            error
c0t1d0s2     sliced    -            -            error
c0t1d0s7     simple    c0t1d0s7     rootdg       online
c1t0d0s2     sliced    shared01     shared       online
c1t0d1s2     sliced    shared16     shared       online
c1t1d0s2     sliced    shared02     shared       online
c1t1d1s2     sliced    shared15     shared       online
c1t2d0s2     sliced    shared14     shared       online
c1t2d1s2     sliced    -            -            error
c1t3d0s2     sliced    shared03     shared       online
c1t4d0s2     sliced    shared04     shared       online
c1t4d1s2     sliced    -            -            online
c1t5d0s2     sliced    shared05     shared       online
c2t0d0s2     sliced    shared06     shared       online
c2t0d1s2     sliced    shared11     shared       online
c2t1d0s2     sliced    -            -            online
c2t1d1s2     sliced    shared08     shared       online
c2t2d0s2     sliced    shared07     shared       online
c2t2d1s2     sliced    shared12     shared       online
c2t3d0s2     sliced    shared13     shared       online
c2t4d0s2     sliced    shared09     shared       online
c2t4d1s2     sliced    -            -            online
c2t5d0s2     sliced    shared10     shared       online
node0#
If this is not an option you could run vxinstall
and encapsulate or initialize a drive and place it
in rootdg. This example show's encapsulation of primary
drive.

node0# vxinstall

Volume Manager Installation
Menu: VolumeManager/Install

The Volume Manager names disks on your system using the controller
and disk number of the disk, substituting them into the following
pattern:

       ctd

Some examples would be:

       c0t0d0  - first controller, first target, first disk
       c1t0d0  - second controller, first target, first disk
       c1t1d0  - second controller, second target, first disk

The Volume Manager has detected the following controllers on your system:

       c0: io-unit@f,e0200000/sbi@0,0/dma@0,81000/esp@0,80000
       c1: io-unit@f,e0200000/sbi@0,0/SUNW,soc@3,0/SUNW,pln@a0000000,74127a
       c2: io-unit@f,e1200000/sbi@0,0/SUNW,soc@3,0/SUNW,pln@a0000000,740f85

Hit RETURN to continue.

Volume Manager Installation
Menu: VolumeManager/Install

You will now be asked if you wish to use Quick Installation or
Custom Installation.  Custom Installation allows you to select how
the Volume Manager will handle the installation of each disk
attached to your system.

Quick Installation examines each disk attached to your system and
attempts to create volumes to cover all disk partitions that might
be used for file systems or for other similar purposes.

If you do not wish to use some disks with the Volume Manager, or if
you wish to reinitialize some disks, use the Custom Installation
option Otherwise, we suggest that you use the Quick Installation
option.
Hit RETURN to continue.

Volume Manager Installation Options
Menu: VolumeManager/Install

1      Quick Installation
2      Custom Installation

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

Select an operation to perform: 2


Volume Manager Custom Installation
Menu: VolumeManager/Install/Custom

The c0t0d0 disk is your Boot Disk.  You can not add it as a new
disk.  If you encapsulate it, you will make your root filesystem
and other system areas on the Boot Disk into volumes.  This is
required if you wish to mirror your root filesystem or system
swap area.

Encapsulate Boot Disk [y,n,q,?] (default: n) y

Enter disk name for c0t0d0 [,q,?] (default: rootdisk)

The c0t0d0 disk has been configured for encapsulation.

Hit RETURN to continue.

Volume Manager Custom Installation
Menu: VolumeManager/Install/Custom/c0
Generating list of attached disks on c0....



The Volume Manager has detected the following disks on controller c0:

c0t1d0

Hit RETURN to continue.

Installation options for controller c0
Menu: VolumeManager/Install/Custom/c0

1      Install all disks as pre-existing disks. (encapsulate)
2      Install all disks as new disks. (discards data on disks!)
3      Install one disk at a time.
4      Leave these disks alone.

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

Select an operation to perform: 4

Volume Manager Custom Installation
Menu: VolumeManager/Install/Custom/c1
Generating list of attached disks on c1....


The Volume Manager has detected the following disks on controller c1:

c1t0d0 c1t0d1 c1t1d0 c1t1d1 c1t2d0 c1t3d0 c1t4d0 c1t4d1 c1t5d0

Hit RETURN to continue.

Installation options for controller c1
Menu: VolumeManager/Install/Custom/c1

1      Install all disks as pre-existing disks. (encapsulate)
2      Install all disks as new disks. (discards data on disks!)
3      Install one disk at a time.
4      Leave these disks alone.

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

Select an operation to perform: 4


Volume Manager Custom Installation
Menu: VolumeManager/Install/Custom/c2
Generating list of attached disks on c2....


The Volume Manager has detected the following disks on controller c2:

c2t0d0 c2t0d1 c2t1d0 c2t1d1 c2t2d0 c2t2d1 c2t3d0 c2t4d0 c2t4d1 c2t5d0

Hit RETURN to continue.


Installation options for controller c2
Menu: VolumeManager/Install/Custom/c2

1      Install all disks as pre-existing disks. (encapsulate)
2      Install all disks as new disks. (discards data on disks!)
3      Install one disk at a time.
4      Leave these disks alone.

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

Select an operation to perform: 4


Volume Manager Custom Installation
Menu: VolumeManager/Install/Custom

The following is a summary of your choices.

       c0t0d0  Encapsulate


Is this correct [y,n,q,?] (default: y)

The system now must be shut down and rebooted in order to continue
the reconfiguration.

Shutdown and reboot now [y,n,q,?] (default: n) y

Shutdown started.    Tue Jul 25 15:13:08 EDT 1995

Broadcast Message from root (console) on node1 Tue Jul 25 15:13:09...
THE SYSTEM IS BEING SHUT DOWN NOW ! ! !
Log off now or risk your files being damaged

showmount: node0: RPC: Program not registered
Changing to init state 6 - please wait
node0#
INIT: New run level: 6
The system is coming down.  Please wait.


Rebooting with command:
Boot device: /io-unit@f,e0200000/sbi/dma@0,81000/esp@0,80000/sd@0,0  File and
args:
SunOS Release 5.4 Version Generic_101945-33 [UNIX(R) System V Release 4.0]
Copyright (c) 1983-1994, Sun Microsystems, Inc.
configuring network interfaces: le0.
Hostname: node0
Configuring the /devices directory
soc0: port 0: Fibre Channel is ONLINE
soc1: port 0: Fibre Channel is ONLINE
Configuring the /dev directory
Configuring the /dev directory (compatibility devices)

The Volume Manager is now reconfiguring (partition phase)...

Volume Manager: Partitioning c0t0d0 as an encapsulated disk.

The Volume Manager is now reconfiguring (initialization phase)...

Volume Manager: Adding rootdisk (c0t0d0) as an encapsulated disk.

The Volume Daemon has been enabled for transactions.
Adding volumes for c0t0d0...
Starting new volumes...
Updating /etc/vfstab...
Remove encapsulated partitions...

The Volume Manager will now set up your Boot Disk as a managed disk.

Saving original configuration...
4 blocks

The system will now be rebooted.
syncing file systems... [22] [18] [9] done
rebooting...
Resetting...

node0#

Now that the system is rebooted and primary drive is encapsulated
and in rootdg vxva will start and you will see the shared group.

조회 수 :
476
추천 수 :
18 / 0
등록일 :
2003.12.13
16:46:35 (*.193.52.140)
엮인글 :
http://bestceok.com/xe/index.php?mid=sun_faq&document_srl=2940&act=trackback&key=871
게시글 주소 :
http://bestceok.com/xe/index.php?mid=sun_faq&document_srl=2940
List of Articles
번호 제목 글쓴이 날짜 조회 수
71 키보드의 Power 버튼 기능 막기 하록 2003-12-13 452
70 웹서버를 위한 솔라리스 튜닝 하록 2003-12-13 718
69 FTP 자동 다운로드 하록 2003-12-13 567
68 Automount 설정하기 하록 2003-12-13 424
67 Solaris x86 install 하록 2003-12-13 483
66 Login 사용자 수를 늘리려면... 하록 2003-12-13 456
65 Solaris 7 에서 sendmail setup 방법 하록 2003-12-13 556
64 시스템 성능 측정 하록 2003-12-13 695
63 Multiple Monitor 설정 하록 2003-12-13 484
» Volume Manager에서 rootdg 복구 (2) 하록 2003-12-13 476
61 Volume Manager에서 rootdg 복구 (1) 하록 2003-12-13 802
60 Time zone을 바꾸려면... 하록 2003-12-13 455
59 rsh를 이용해서 다른 시스템으로 디렉토리를 복사하려면.. 하록 2003-12-13 931
58 HDD 추가하는 방법 하록 2003-12-13 483
57 On-board PGX graphic resolution change 하록 2003-12-13 411
56 backup 명령어 정리 (2) 하록 2003-12-13 1253
55 backup 명령어 정리 (1) 하록 2003-12-13 473
54 Disk Quotas 하록 2003-12-13 608
53 Boot Block이 손상되었을 때 하록 2003-12-13 715
52 O/S Backup & Restore 하록 2003-12-13 434