Operating System - HP-UX
1832926 Members
3161 Online
110048 Solutions
New Discussion

adding entry of lvol in a working cluster

 
SOLVED
Go to solution
bhavin asokan
Honored Contributor

adding entry of lvol in a working cluster

hi all,
i would like to know how i will add an entry to a working cluster.

my problem:i am having two servers(hpux 11i) which is configured in a cluster.now i have created a new logical volume (lvol13 which is mounted on /vghist mount point ) in the vggroup (vgora) and i would like it to mount automatically next time cluster starts.

which are the files i have to create/change entry of lv for this.shall i can do it online.
can i do it by vi.

pls help me,

regds,




1 REPLY 1
Victor Fridyev
Honored Contributor
Solution

Re: adding entry of lvol in a working cluster

Hi,

The only one thing you haveto do is
1. to export/inport this VG change and
2. to update the appropriate .cntl file.

1. On the computer where the VG is not activated you do the following:
ls -ls /dev/vgora/group
and remember its minor (e.g. Ox0N0000)
strings /etc/lvmtab
and remember the disks, which belong to the VG (e.g. /dev/dsk/cXXXX and /dev/dsk/cYYYY)
vgexport vgpora
mkdir /dev/vgora
mknod /dev/vgora/group c 64 0x0N0000
vgimport /dev/vgora /dev/dsk/cXXXX /dev/dsk/cYYYY
2. Edit the cntl file, which belongs to the package, which mounts the new file system and add the following:

LV[K]-/dev/vgora/lvol13; FS[K]=/vghist
and
create the directory: mkdir /vghist; chown oracle /vghist

HTH
Entities are not to be multiplied beyond necessity - RTFM