Tags: veritas
Sep
15
Detect new disk -> dfsadm, cfgadm -c configure control_number
- Labeling disk -> format, choose disk number, label
- Configure disks
# vxdisksetup -i disk_name
or using vxdiskadm -> choose 1. Add or initialize one or more disks
# vxdg init dg_name disk_name=device_name
* vxdg init backupdg backupdg01=Disk_24
# vxassist -g backupdg maxsize
2005636815
# vxassist -g backupdg make backuplv 2005636815
*size=output from vxassist -g dg_name maxsize
# vxvol -g backupdg startall
# mkfs -F vxfs /dev/vx/rdsk/backupdg/backuplv
# mkdir /backup
# mount -F vxfs /dev/vx/dsk/backupdg/backuplv /backup
Tags: manager, veritas, volume, vxvm
Jul
16
|
Tasks |
AIX Logical Volume
Manager |
Veritas Volume Manager |
|
Create a Volume Group |
mkvg |
vxdg init |
|
Create a Logical Volume |
mklv |
vxassist make |
|
Add a Physical Disk to a Volume Group |
extendvg |
vxdiskadd |
|
Add Physical Partitions to Logical
Volume |
extendlv |
vxassist growto |
|
Change characteristics of Logical
Volume |
chlv |
vxedit set |
|
Remove Physical Disk from Volume Group |
reducevg |
vxdiskadm |
|
Remove Logical Volume from Volume Group |
rmlv |
vxedit rm |
|
Remove definition of Volume Group from operating
system |
exportvg |
? |
|
Display information about physical volumes, volume groups or
logical volumes |
lspv lsvg lslv |
vxstat |
|
Move Logical Volume to from one Physical Volume to another
Physical Volume |
migratepv |
vxassist move |
|
Administer disks |
extendvg or reducevg |
vxdiskadm |
|
Set up disks |
extendvg |
vxdisksetup |
|
Create configuration records for storage
structures |
mkvg or mklv |
vxmake |
|
Manage plexes or Volume Groups |
mkvg or mklv |
vxplex |
|
Display Volume Group information |
lsvg |
vxprint |
|
Change size of Logical Volume |
extendlv or chlv |
vxresize |
|
Manage subdisk or physical volume |
chpv |
vxsd |
|
Manage volume |
chlv mklv rmlv |
vxvol |
|
Set up sysboot information on VM disk |
bosboot |
vxbootsetup |
|
Manage VM disks |
N/A |
vxdisk |
|
Back up operating system |
mksysb or mkcd |
Solstice Backup:
nwadmin |
|
Solstice Backup: nwadmin |
mksysb or mkcd |
nwadmin nwrecover |
Tags: add, administer, aix, change, characteristics, cheat, command, commands, comparision, configration, create, disk, disks, display, information, logical, manage, manager, operating, partitions, physical, plexes, remove, restore, setup, sheet, size, subdisk, sysboot, system, veritas, volume, vs
Jul
10
Action |
Command Line |
Create a disk group |
vxdg init diskgroup diskname=device |
Add a disk to disk group |
vxdg -g diskgroup adddisk
diskname=device |
Remove a disk from disk group |
vxdg –g diskgroup rmdisk diskname |
Deport, import or destroy a disk group |
vxdg {deport|import|destroy} diskgroup |
List disk groups |
vxdg list [diskgroup] |
Show free/spare space pool |
vxdg –g diskgroup {free|spare} |
Upgrade disk group version |
vxdg [-T version] upgrade diskgroup |
Rewrite disk headers, configuration copies, and kernel log copies in a disk group. |
vxdg flush diskgroup targetdg object...
or
vxdctl enable (for all disk groups) |
Move an object between disk groups |
vxdg move sourcedg targetdg object... |
Split objects between disk groups |
vxdg split sourcedg targetdg object...
|
Join disk groups
|
vxdg join sourcedg targetdg |
List objects affected by a disk group move operation |
vxdg listmove sourcedg targetdg object...
|
Display bootdg
Display defaultdg
Set defaultdg |
vxdg bootdg
vxdg defaultdg
vxdctl defaultdg diskgroup |
Manually back up the disk group configuration
Perform precommit analysis of a restore
Restore the disk group configuration
|
vxconfigbackup diskgroup
vxconfigrestore -p diskgroup
vxconfigrestore -c [-l directory] diskgroup
|
Tags: add, backup, configration, configuration, copies, create, deport, destroy, disk, disk group, display, free, group, headers, import, join, kernel, list, log copies.move, objects, perform, pool, precommit, remove, restore, rewrite, show, space, spare, split, upgrade, veritas, version
Jul
07
|
Action
|
Command Line
|
|
Initialize a disk
|
vxdisksetup -i device (CDS disk)
vxdisksetup -i device format=sliced (sliced disk)
|
List disks owned by
local and remote hosts
|
vxdisk –o alldgs list
|
|
List disk header
|
vxdisk list diskname|device
|
|
Evacuate a disk
|
vxevac -g diskgroup from_disk to_disk
|
|
Rename a disk
|
vxedit -g diskgroup rename oldname newname
|
|
Set spare, no hot relocation, or reserved space on a disk
|
vxedit -g diskgroup set {spare|nohotuse|reserve}=on|off diskname
|
|
Unrelocate a disk
|
vxunreloc -g diskgroup original_diskname
|
Tags: adding, disk, disk group, evacuate, header, hosts, initializing, list, local, new disk, owned, remote, rename, unrelocate, veritas
Jun
29
1. Kick off the veritas initialization program
vxinstall
2. Enter the license keys when you are prompted for them
3. Choose custom install from the menu
4. Choose to encapsulate your rootdisk
5. Choose to leave all other disks alone
6. Choose to reboot the server
Tags: initialization, veritas
Recent comments