Feeds:
Posts
Comments

Archive for the ‘VxVm’ Category

In this scenario I’m using SLES 10, Veritas Dynamic Multipathing ,Veritas Volume Manager 5 MP3 and Hitachi SAN storage.
First scan for newly provided LUNs on Linux using following command:
# for i in `seq 0 3`; do echo ” – – – ” > /sys/class/scsi_host/host$i/scan; done
Once you verify you can see newly added LUNs from “fdisk [...]

Read Full Post »

Here’s a simple method to add swap space in VxVM Volume
Creating a secondary swap device using “vxassist”
#vxassist -g rootdg -U swap make swapvol (size) rootdisk

Where,
rootdg = Volume group
swapvol = swap space name
(size) = swap size
rootdisk = disk name
 
Adding Swap space
# swap -a /dev/vx/dsk/rootdg/swapvol

Permanently add swap space in /etc/vfstab
/dev/vx/dsk/rootdg/swapvol – – swap – no [...]

Read Full Post »

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 [...]

Read Full Post »

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     [...]

Read Full Post »

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
# [...]

Read Full Post »

Older Posts »