Details:
By default, a newly created volume will only have permissions for the root user only, i.e below is a ‘test’ volume under disk group testdg:/dev/vx/dsk/testdg# ls -ltotal 0brw——- 1 root root 79,76000 Jun 9 14:33 testThe permissions on the volume can be changed by using the chmod command:/dev/vx/dsk/testdg# chmod 777 test/dev/vx/dsk/testdg# ls -ltotal 0brwxrwxrwx 1 [...]
Archive for March 2nd, 2008
Make VxVM volume permissions persistent across reboots
Posted in Veritas, VxVm on March 2, 2008 | 1 Comment »
Delete duplicate entries in vxdisk (VxVM)
Posted in Veritas, VxVm on March 2, 2008 | Leave a Comment »
Details:
vxdisk list displays duplicate entries for the disk device (c#t#d#s#) along with an error status:# vxdisk list DEVICE TYPE DISK GROUP STATUSct0d0s2 sliced rootdisk rootdg onlinec4t0d0s2 sliced rootmirror rootdg onlinec6t32d0s2 sliced testdg02 testdg errorc6t32d0s2 sliced - - errorc6t33d0s2 sliced testdg03 testdg errorc6t33d0s2 sliced - - errorc6t34d0s2 sliced - - errorc6t34d0s2 sliced testdg04 testdg errorc6t35d0s2 sliced [...]
Convert from sectors to megabytes/gigabytes
Posted in GNU/Linux, Solaris, Veritas, VxVm on March 2, 2008 | Leave a Comment »
1 kilobyte = 1024 bytes
1 megabyte = 1024 kilobytes
1 gigabyte = 1024 megabytes
Example
The command below creates a 2 gigabytes concat volume, named “vol01″
# vxassist -g datadg make vol01 2g layout=concat init=active
Figure 1
The size of “vol01″, shown in Figure 1, is 4194304 sectors. Another method to retrieve the sector size of a volume is the command
# [...]
EMC’s PowerPath Display paths
Posted in EMC, PowerPath on March 2, 2008 | Leave a Comment »
With EMC’s PowerPath product it may be useful to check the status of what is available as far as PowerPath is concerned.Use the “powermt display” command for this.
EXAMPLE:
# powermt displaytotal emcpower devices: 94, highest device number: 93==============================================================================———— Adapters ———— —– Device Paths —— — Queued —## Switch Name Summary Total Closed IOs Blocks==============================================================================0 Enabled sbus@1f/fcaw@0 [...]
Rebuild the /etc/path_to_inst without un-encapsulating the root disk
Posted in GNU/Linux, Solaris, Veritas, VxVm on March 2, 2008 | Leave a Comment »
Exact Error Messagecannot open /etc/path_to_inst
Details:
Note : This will only work if the rootdisk is encapsulated. You don’t have to break the root mirror.Under VERITAS Volume Manager ™ rootdisk encapsulation, the administrator must take an extra step to ensure the path_to_inst file is created and populated. The difference lies in the root device. This value is [...]


