Download as pdf or txt
Download as pdf or txt
You are on page 1of 12

2/16/2018 Administration: VERITAS DISK INITIALIZATION

More Next Blog» Create Blog Sign In

Administration
Monday, 6 January 2014 CHITTIBABU MIRIYALA

VERITAS DISK INITIALIZATION


====================Veritas disk admin===================
1)to list disk
-bash-4.1# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2d0s2 auto:ZFS - - ZFS RELIANCE INDUSTRIES LIMITED
c2d1s2 auto:ZFS - - ZFS
c2d8s2 auto:none - - online invalid
Blog Archive
c2d9s2 auto:none - - online invalid
c2d10s2 auto:none - - online invalid ► 2017 (6)
c2d11s2 auto:none - - online invalid ► 2016 (65)
NOTE:- virtual disks which r created from zfs volumes are not available under veritas but
► 2015 (18)
these r identified
in veritas device discovery layer. ▼ 2014 (75)
-bash-4.1# vxddladm list ► November (5)
Devices discovered on the system ► October (5)
===================================
► September (3)
hba -
port - ► August (4)
target - ► July (2)
device c2d1s2
► May (4)
device c2d4
► April (3)
device c2d6
device c2d8s2 ▼ January (49)

http://foradminsolution.blogspot.in/2014/01/veritas-disk-initialization.html 1/12
2/16/2018 Administration: VERITAS DISK INITIALIZATION

device c2d10s2 EMC DMX : PART-


device c2d2s2 2(MAPPING,MASKING &
UNMASKING,UNMAP...
device c2d3
device c2d5 SOLARIS 11 SYSLOG
device c2d7 CONFIGURATION DEMO

device c2d9s2 VERITAS VOLUME


device c2d11s2 MANAGER: ONLINE RELAY
OUT OPERATION...
device c2d0s2
VERITAS VOLUME MANAGER
: SNAP SHOT
2)i assigned slice as disk but these are failed to initialize under veritas control OPERATIONS
-bash-4.1# vxdisksetup -i c2d11
VERITAS VOLUME
VxVM vxdisksetup ERROR V-5-2-1814 c2d11: Invalid disk device for 'cdsdisk' format
MANAGER: VOLUME
-bash-4.1# vxdisksetup -i c2d11 format=sliced OPERATIONS
VxVM vxedvtoc ERROR V-5-1-8300 UNKNOWN ERROR WHILE WRITTING VTOC
SOLARIS NETWORK
-bash-4.1# vxdisk init c2d11 MONITORING
VxVM vxdisk ERROR V-5-1-5433 Device c2d11: init failed:
SOLARIS10:ROOT PASSWD
Disk device cannot be used as a CDS disk BREAKING ON SVM ROOT
MIRRORI...
3)to bring newly added disk under control of veritas VERITAS VOLUME
-bash-4.1# vxdisk list MANAGER: FILE SYSTEM
DEVICE TYPE DISK GROUP STATUS CREATION ERROR...
c2d0s2 auto:ZFS - - ZFS SCRIPTING PART - 3
c2d1s2 auto:ZFS - - ZFS
VERITAS VOLUME MANAGER
c2d8s2 auto:none - - online invalid : PLEX OPERATIONS
c2d9s2 auto:none - - online invalid
VERITAS VOLUME MANAGER
c2d10s2 auto:none - - online invalid :SUBDISK OPERATIONS
c2d11s2 auto:none - - online invalid
VERITAS VOLUMEMANAGER
-bash-4.1# vxdisk scandisks new STRIPE-MIRROR AND
-bash-4.1# vxdisk list MIRROR-STR...
DEVICE TYPE DISK GROUP STATUS
SOLARIS SYSLOG
c2d0s2 auto:ZFS - - ZFS CONFIGURATION FILES
c2d1s2 auto:ZFS - - ZFS
SOLARIS 11 GUEST DOMAIN
c2d8s2 auto:none - - online invalid INSTALLATION THROUGH
c2d9s2 auto:none - - online invalid AI SE...
c2d10s2 auto:none - - online invalid VERITAS VOLUMEMANAGER
c2d11s2 auto:none - - online invalid :RAID-5 OPERATIONS
c2d12s2 auto:none - - online invalid VERITAS VOLUMEMANAGER
c2d13s2 auto:none - - online invalid RAID1 :MIRROR
OPERATIONS

http://foradminsolution.blogspot.in/2014/01/veritas-disk-initialization.html 2/12
2/16/2018 Administration: VERITAS DISK INITIALIZATION

4)i assigned file as disk but these are failed to initialize under veritas control VERITAS VOLUME MANAGER
RAID0 :STRIPE VOLUME
OPERAT...
-bash-4.1# vxdisksetup -i c2d13
VxVM vxdisksetup ERROR V-5-2-1814 c2d13: Invalid disk device for 'cdsdisk' format VERITAS VOLUMEMANAGER
-bash-4.1# vxdisk init c2d13 RAID-0 CONCATINATION
VOLUME ...
VxVM vxdisk ERROR V-5-1-5433 Device c2d13: init failed:
Disk device cannot be used as a CDS disk VERITAS DISKGROUP
ADMINISTRATION

5)to convert disk which is used in zfs to conver vxvm VERITAS DISK
INITIALIZATION
-bash-4.1# dd if=/dev/zero of=/dev/rdsk/c2d16s2 oseek=18 bs=512 count=1
1+0 records in EMC BASICS PART-1
1+0 records out EMC GRAB EXECUTION
PROCESS
-bash-4.1# vxdisk list SHELL SCRIPTING PART-3
DEVICE TYPE DISK GROUP STATUS
ENABLING SYSTEM ACTIVE
c2d0s2 auto:ZFS - - ZFS REPORT SERVICE
c2d1s2 auto:ZFS - - ZFS
LDOMS 1.3 CONFIGURATION
c2d8s2 auto:none - - online invalid DEMO ON SOLARIS 10
c2d9s2 auto:none - - online invalid
crontab: you must be super-
c2d10s2 auto:none - - online invalid user to access another ...
c2d11s2 auto:none - - online invalid
SOLARIS 11 ZONES
c2d15s2 auto:none - - online invalid
MIGRATION DEMO
c2d16s2 auto:none - - online invalid
c2d17s2 auto:none - - online invalid WHO DO CMD OPTIONS

c2d18s2 auto:none - - online invalid SOLARIS 11 USER ADMIN ,


SET
UID,GID,STICKYBIT,ACL,...
6)to initialize disk
-bash-4.1# vxdisk init c2d18 FMADM FAULTY FOR
PROCESSOR
-bash-4.1# vxdisk list
DEVICE TYPE DISK GROUP STATUS SOLARIS 11 NFS & AUTOFS
CONFIGURATION
c2d0s2 auto:ZFS - - ZFS
c2d1s2 auto:ZFS - - ZFS SOLARIS 11 IPS README
c2d8s2 auto:none - - online invalid FILE

c2d9s2 auto:none - - online invalid SOLARIS 11 IPMP DEMO


c2d10s2 auto:none - - online invalid SAMPLE DNS SERVER
c2d11s2 auto:none - - online invalid CONFIGURATION IN
c2d15s2 auto:none - - online invalid SOLARIS 10
c2d16s2 auto:none - - online invalid FTP USER CREATION IN
c2d17s2 auto:none - - online invalid SOLARIS 10

http://foradminsolution.blogspot.in/2014/01/veritas-disk-initialization.html 3/12
2/16/2018 Administration: VERITAS DISK INITIALIZATION

c2d18s2 auto:cdsdisk - - online

-bash-4.1# vxdisksetup -i c2d17


-bash-4.1# vxdisksetup -i c2d16 format=sliced
-bash-4.1# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2d0s2 auto:ZFS - - ZFS
c2d1s2 auto:ZFS - - ZFS
c2d8s2 auto:none - - online invalid
c2d9s2 auto:none - - online invalid
c2d10s2 auto:none - - online invalid
c2d11s2 auto:none - - online invalid
c2d15s2 auto:none - - online invalid
c2d16s2 auto:sliced - - online
c2d17s2 auto:cdsdisk - - online
c2d18s2 auto:cdsdisk - - online

-bash-4.1# vxdisksetup -i c2d15 format=simple


-bash-4.1# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2d0s2 auto:ZFS - - ZFS
c2d1s2 auto:ZFS - - ZFS
c2d8s2 auto:none - - online invalid
c2d9s2 auto:none - - online invalid
c2d10s2 auto:none - - online invalid
c2d11s2 auto:none - - online invalid
c2d15s2 auto:simple - - online
c2d16s2 auto:sliced - - online
c2d17s2 auto:cdsdisk - - online
c2d18s2 auto:cdsdisk - - online

-bash-4.1# vxdisk -s list c2d15s2


Disk: c2d15s2
type: auto
flags: online ready private autoconfig autoimport
guid: -
udid:
DGC%5FRAID%205%5FCK200073400372%5F60060160B7061F00556071F947BFDC1
1

http://foradminsolution.blogspot.in/2014/01/veritas-disk-initialization.html 4/12
2/16/2018 Administration: VERITAS DISK INITIALIZATION

site: -
diskid: 1388687300.51.solaris2
dgname:
dgid:
hostid:
info: format=simple,privoffset=1,pubslice=3,privslice=3
-bash-4.1# vxdisk -s list c2d16s2
Disk: c2d16s2
type: auto
flags: online ready private autoconfig autoimport
guid: -
udid:
DGC%5FRAID%205%5FCK200073400372%5F60060160B7061F004674C20148BFDC
11
site: -
diskid: 1388687192.50.solaris2
dgname:
dgid:
hostid:
info: format=sliced,privoffset=1,pubslice=4,privslice=3
-bash-4.1# vxdisk -s list c2d17s2
Disk: c2d17s2
type: auto
flags: online ready private autoconfig autoimport
guid: {572ee1a0-73db-11e3-a1f6-00144ff8e18d}
udid:
DGC%5FRAID%205%5FCK200073400372%5F60060160B7061F004774C20148BFDC
11
site: -
diskid: 1388687165.49.solaris2
dgname:
dgid:
hostid:
info: format=cdsdisk,privoffset=256,pubslice=2,privslice=2

sliced public private

sliced 4 3
simple 3 3

http://foradminsolution.blogspot.in/2014/01/veritas-disk-initialization.html 5/12
2/16/2018 Administration: VERITAS DISK INITIALIZATION

cds 2/7 2/7


[[[ or ]]]
-bash-4.1# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2d0s2 auto:ZFS - - ZFS
c2d1s2 auto:ZFS - - ZFS
c2d8s2 auto:none - - online invalid
c2d9s2 auto:none - - online invalid
c2d10s2 auto:none - - online invalid
c2d11s2 auto:none - - online invalid
c2d15s2 auto:none - - online invalid
c2d16s2 auto:none - - online invalid
c2d17s2 auto:none - - online invalid
c2d18s2 auto:none - - online invalid
-bash-4.1# vxdiskadd c2d18
Add or initialize disks
Menu: VolumeManager/Disk/AddDisks
Here is the disk selected. Output format: [Device_Name]
c2d18
Continue operation? [y,n,q,?] (default: y) y
You can choose to add this disk to an existing disk group, a
new disk group, or leave the disk available for use by future
add or replacement operations. To create a new disk group,
select a disk group name that does not yet exist. To leave
the disk available for future use, specify a disk group name
of "none".
Which disk group [<group>,none,list,q,?] (default: none)
Add site tag to disk? [y,n,q,?] (default: n)
The disk will be initialized and left free for use as a replacement
disk.
c2d18
Continue with operation? [y,n,q,?] (default: y)
Initializing device c2d18.
Enter the desired format
[cdsdisk,sliced,simple,q,?] (default: cdsdisk)
Enter desired private region length
[<privlen>,q,?] (default: 65536)
Goodbye.
-bash-4.1# vxdisk list

http://foradminsolution.blogspot.in/2014/01/veritas-disk-initialization.html 6/12
2/16/2018 Administration: VERITAS DISK INITIALIZATION

DEVICE TYPE DISK GROUP STATUS


c2d0s2 auto:ZFS - - ZFS
c2d1s2 auto:ZFS - - ZFS
c2d8s2 auto:none - - online invalid
c2d9s2 auto:none - - online invalid
c2d10s2 auto:none - - online invalid
c2d11s2 auto:none - - online invalid
c2d15s2 auto:none - - online invalid
c2d16s2 auto:none - - online invalid
c2d17s2 auto:none - - online invalid
c2d18s2 auto:cdsdisk - - online

[[[[[ or ]]]]]
-bash-4.1# vxdiskadm
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
22 Change/Display the default disk layouts
23 Dynamic Reconfiguration Operations

http://foradminsolution.blogspot.in/2014/01/veritas-disk-initialization.html 7/12
2/16/2018 Administration: VERITAS DISK INITIALIZATION

list List disk information

? Display help about menu


?? Display help about the menuing system
q Exit from menus
Select an operation to perform: 1
Add or initialize disks
Menu: VolumeManager/Disk/AddDisks
Use this operation to add one or more disks to a disk group. You can
add the selected disks to an existing disk group or to a new disk group
that will be created as a part of the operation. The selected disks may
also be added to a disk group as spares. Or they may be added as
nohotuses to be excluded from hot-relocation use. The selected
disks may also be initialized without adding them to a disk group
leaving the disks available for use as replacement disks.
More than one disk or pattern may be entered at the prompt. Here are
some disk selection examples:
all: all disks
c3 c4t2: all disks on both controller 3 and controller 4, target 2
c3t4d2: a single disk (in the c#t#d# naming scheme)
xyz_0 : a single disk (in the enclosure based naming scheme)
xyz_ : all disks on the enclosure whose name is xyz
Select disk devices to add: [<pattern-list>,all,list,q,?] list
DEVICE DISK GROUP STATUS
c2d0 - - ZFS
c2d1 - - ZFS
c2d8 - - online invalid
c2d9 - - online invalid
c2d10 - - online invalid
c2d11 - - online invalid
c2d15 - - online invalid
c2d16 - - online invalid
c2d17 - - online invalid
c2d18 - - online
Select disk devices to add: [<pattern-list>,all,list,q,?] c2d17
Here is the disk selected. Output format: [Device_Name]
c2d17
Continue operation? [y,n,q,?] (default: y)
You can choose to add this disk to an existing disk group, a

http://foradminsolution.blogspot.in/2014/01/veritas-disk-initialization.html 8/12
2/16/2018 Administration: VERITAS DISK INITIALIZATION

new disk group, or leave the disk available for use by future
add or replacement operations. To create a new disk group,
select a disk group name that does not yet exist. To leave
the disk available for future use, specify a disk group name
of "none".
Which disk group [<group>,none,list,q,?] (default: none)
Add site tag to disk? [y,n,q,?] (default: n)
The disk will be initialized and left free for use as a replacement
disk.
c2d17
Continue with operation? [y,n,q,?] (default: y)
Initializing device c2d17.
Enter the desired format
[cdsdisk,sliced,simple,q,?] (default: cdsdisk)
Enter desired private region length
[<privlen>,q,?] (default: 65536)
Add or initialize other disks? [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

http://foradminsolution.blogspot.in/2014/01/veritas-disk-initialization.html 9/12
2/16/2018 Administration: VERITAS DISK INITIALIZATION

21 Get the newly connected/zoned disks in VxVM view


22 Change/Display the default disk layouts
23 Dynamic Reconfiguration Operations
list List disk information

? Display help about menu


?? Display help about the menuing system
q Exit from menus
Select an operation to perform: q
Goodbye.
-bash-4.1# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2d0s2 auto:ZFS - - ZFS
c2d1s2 auto:ZFS - - ZFS
c2d8s2 auto:none - - online invalid
c2d9s2 auto:none - - online invalid
c2d10s2 auto:none - - online invalid
c2d11s2 auto:none - - online invalid
c2d15s2 auto:none - - online invalid
c2d16s2 auto:none - - online invalid
c2d17s2 auto:cdsdisk - - online
c2d18s2 auto:cdsdisk - - online

[[[[[[[[[ or ]]]]]]]]]]
-bash-4.1# vxdisk init c2d16
-bash-4.1# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2d0s2 auto:ZFS - - ZFS
c2d1s2 auto:ZFS - - ZFS
c2d8s2 auto:none - - online invalid
c2d9s2 auto:none - - online invalid
c2d10s2 auto:none - - online invalid
c2d11s2 auto:none - - online invalid
c2d15s2 auto:none - - online invalid
c2d16s2 auto:cdsdisk - - online
c2d17s2 auto:cdsdisk - - online
c2d18s2 auto:cdsdisk - - online

7)to unset device form veritas

http://foradminsolution.blogspot.in/2014/01/veritas-disk-initialization.html 10/12
2/16/2018 Administration: VERITAS DISK INITIALIZATION

-bash-4.1# vxdisk destroy c2d17


vxdisk list-bash-4.1# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2d0s2 auto:ZFS - - ZFS
c2d1s2 auto:ZFS - - ZFS
c2d8s2 auto:none - - online invalid
c2d9s2 auto:none - - online invalid
c2d10s2 auto:none - - online invalid
c2d11s2 auto:none - - online invalid
c2d15s2 auto:none - - online invalid
c2d16s2 auto:cdsdisk - - online
c2d17s2 auto:none - - online invalid
c2d18s2 auto:none - - online invalid
-bash-4.1# vxdiskunsetup -C c2d16
-bash-4.1# vxdisk list
DEVICE TYPE DISK GROUP STATUS
c2d0s2 auto:ZFS - - ZFS
c2d1s2 auto:ZFS - - ZFS
c2d8s2 auto:none - - online invalid
c2d9s2 auto:none - - online invalid
c2d10s2 auto:none - - online invalid
c2d11s2 auto:none - - online invalid
c2d15s2 auto:none - - online invalid
c2d16s2 auto:none - - online invalid
c2d17s2 auto:none - - online invalid
c2d18s2 auto:none - - online invalid

Posted by Chittibabu Miriyala at 20:50

No comments:

Post a Comment

http://foradminsolution.blogspot.in/2014/01/veritas-disk-initialization.html 11/12
2/16/2018 Administration: VERITAS DISK INITIALIZATION

Enter your comment...

Comment as: Unknown (Goo Sign out

Publish Preview Notify me

Newer Post Home Older Post

Subscribe to: Post Comments (Atom)

http://foradminsolution.blogspot.in/2014/01/veritas-disk-initialization.html 12/12

You might also like