Creating a Disk Group
To create a disk group, you
add a disk to a disk group.
- You can add a single disk or multiple
disks.
- You cannot add a disk to more than one
disk group.
- Default disk media names vary with the
interface used to add the disk to a disk group, but are conventionally in
the format diskgroup##, such as datadg00, datadg01, and so on.
- Disk media names must be unique within
a disk group
- Adding disks to a disk group provides
additional storage capacity for creating volumes. Adding a disk to a disk
group makes the disk space available for use in creating Volume Manager
Volumes.
To create a diskgroup or add
disks using vxdiskadm:
“Add or initialize one or more disks”
Initialize disks:
# vxdisksetup –i device_tag [attributes]
# vxdisksetup –i Disk_1 (Enclosure-Based Naming)
# vxdisksetup –i c2t0d0 (Solaris and HP-UX)
# vxdisksetup –i hdisk2 (AIX)
# vxdisksetup –i sda2 (Linux)
Initialize the disk group by
adding at least one disk:
Syntax:
# vxdg init diskgroup
disk_name=device_tag
# vxdg init <dg_name>
<dm_name>=<da_name>
# vxdg init
testdg disk01=TagmaStore-USP0_1
# vxdg list
NAME STATE ID
testdg enabled,cds 1209556163.42.testdev
#
vxdg init newdg newdg01=Disk_1
Add more disks to
the disk group:
# vxdg –g diskgroup adddisk
disk_name=device_tag
# vxdg –g newdg adddisk
newdg02=Disk_2
No comments:
Post a Comment