Operating System - HP-UX
1834174 Members
2449 Online
110064 Solutions
New Discussion

Re: Adding raw logical volume in package control file

 
SOLVED
Go to solution
Sudhir Junonikar
Occasional Advisor

Adding raw logical volume in package control file

Hi!!!

I am new to HP UX, i am trying to insert raw logical volume in Dataware house package control file & changes are as per below

VG[0]=vgrbldwh

LV[0]=/dev/vgrbldwh/rlarchrbldwh1; FS[0]=/archrbldwh1; FS_MOUNT_OPT[0]="-o rw,
largefiles"; FS_UMOUNT_OPT[0]=""; FS_FSCK_OPT[0]=""; FS_TYPE[0]="vxfs"
LV[1]=/dev/vgrbldwh/rlarchrbldwh2; FS[1]=/archrbldwh2; FS_MOUNT_OPT[1]="-o rw,
largefiles"; FS_UMOUNT_OPT[1]=""; FS_FSCK_OPT[1]=""; FS_TYPE[1]="vxfs"

but package is not getting started it gives the following error in package log file

########### Node "dbnode": Starting package at Sat Nov 15 23:55:15 IST 2008 ###########
Nov 15 23:55:15 - Node "dbnode": Activating volume group vgrbldwh with exclusive option.
Activated volume group in Exclusive Mode.
Volume group "vgrbldwh" has been successfully changed.
Nov 15 23:55:16 - Node "dbnode": Checking filesystems:
/dev/vgrbldwh/rlarchrbldwh1
/dev/vgrbldwh/rlarchrbldwh2
vxfs fsck: /dev/vgrbldwh/rrlarchrbldwh1:cannot stat /dev/vgrbldwh/rrlarchrbldwh1
ERROR: Function check_and_mount
ERROR: Failed to fsck one of the logical volumes.
vxfs fsck: /dev/vgrbldwh/rrlarchrbldwh2:cannot stat /dev/vgrbldwh/rrlarchrbldwh2
ERROR: Function check_and_mount
ERROR: Failed to fsck one of the logical volumes.
Nov 15 23:55:16 - Node "dbnode": Deactivating volume group vgrbldwh
Deactivated volume group in Exclusive Mode.
Volume group "vgrbldwh" has been successfully changed.

########### Node "dbnode": Package start failed at Sat Nov 15 23:55:16 IST 2008 ###########

I am not understanding that i have entered logical volume as /dev/vgrbldwh/rlarchrbldwh1 & it taking it as /dev/vgrbldwh/rrlarchrbldwh1 while file system check.

any answers,links etc are appreciated.

Thanks in advance






4 REPLIES 4
Emil Velez
Honored Contributor
Solution

Re: Adding raw logical volume in package control file

You do not have to add the raw LV to a package control file. As long as the VG is there it activates the VG and the raw LV can be accessed by the application. The LV and FS pairs of entries are to mount filesystems only.
Johnson Punniyalingam
Honored Contributor

Re: Adding raw logical volume in package control file

Hi Sudhir,

raw device files contains no File system that why its called raw device file you just need do only lvcreate on the required VG,

please those entries on the pkg.cntl.file

nature of raw device files
===========================
performance benefit from using raw devices, since a write
to a raw device bypasses the UNIX buffer cache

Thanks,
Johnson
Problems are common to all, but attitude makes the difference
likid0
Honored Contributor

Re: Adding raw logical volume in package control file

yep, no need to add the raw LV to a package control file. you just have to add the VG
Windows?, no thanks
Prashanth Waugh
Esteemed Contributor

Re: Adding raw logical volume in package control file

Hi Sudhir kolahapur cmc,

How many nodes are in ur setup .you have to do the export/import the vg on its adoptive (failover node) nodes means HA/DR.

Regards
Prashant


For success, attitude is equally as important as ability