Operating System - HP-UX
1753767 Members
5511 Online
108799 Solutions
New Discussion юеВ

Golden Image push failed with -"lvcreate: "/dev/vg00/group": not a character device." error message.

 
Pushkaraj
Occasional Contributor

Golden Image push failed with -"lvcreate: "/dev/vg00/group": not a character device." error message.

Hi Everyone,
I was pushing the golden image unattended from IG, with bootsys command, I was using -'bootsys -a -v -i ' command. Endpoint restarted fine, but while creating logical volume "/dev/vg00/lvol1" failed saying - "lvcreate: "/dev/vg00/group": not a character device." Image is OK, it got installed on other endpoints, for your reference I am attaching the config file and install.log
3 REPLIES 3
John Payne_2
Honored Contributor

Re: Golden Image push failed with -"lvcreate: "/dev/vg00/group": not a character device." error message.

I believe I have gotten this error when I have gotten my image OS mixed up with my save_config OS.

What I mean is, I have a golden image that is HPUX 11.11, but my save_config was from an HPUX 11.23 machine. - The save_config output saves the release string:

release="B.11.11"

I do remember seeing this problem once or twice over the years, and think this was the problem, but it was a while ago...

John
Spoon!!!!
Scot Bean
Honored Contributor

Re: Golden Image push failed with -"lvcreate: "/dev/vg00/group": not a character device." error message.

I cannot see your attachment from browser... but I like to use the bootsys "-f" option, forces Ignite to ignore old config files used previously.
Pushkaraj
Occasional Contributor

Re: Golden Image push failed with -"lvcreate: "/dev/vg00/group": not a character device." error message.

Hi,

I am getting this error everytime, I am pasting here configuration stored at-/var/opt/ignite/clients/0x00306E482CBF location. To install the image on client am using the command- 'bootsys -a -v '. In this configuration file I have strong feel part of creation of logical volume is wrong. Can anyone of you please get what is wrong here?

Thanking you in advance..

File Location:/var/opt/ignite/clients/0x00306E482CBF/config

cfg "Hewlett-Packard_Unix_ver-B1111_-606"=TRUE
_hp_cfg_detail_level="ipvsf"

#
#System/Networking Parameters
#

_hp_custom_sys+={"Current System Parameters"}
init _hp_custom_sys="Current System Parameters"
_hp_custom_sys visible_if FALSE
(_hp_custom_sys=="Current System Parameters") {
is_net_info_temporary=FALSE
final system_name = "r23h01"
final ip_addr["lan0"] = "9.31.27.85"
final netmask["lan0"] = "0xfffffff00"
final route_gateway[0] = ""
final route_destination[0] = "default"
final dns_domain = ""
} # end "Current System Parameters"

_hp_root_grp_disks=num_disks+0

_hp_disk_layout+={"Modified LVM Layout"}
init _hp_disk_layout="Modified LVM Layout"
(_hp_disk_layout=="Modified LVM Layout"){
# Disk/Filesystem Layout:

volume_group "/dev/vg00"
{
physical_volume disk[*=_hp_root_grp_disks]
usage = LVM
logical_volume
{
mount_point = "/"
usage = VxFS
size = 200Mb
contiguous_allocation = true
bad_block_relocate = false
} # end logical_volume
logical_volume
{
mount_point = "/home"
usage = VxFS
size = 24Mb
largefiles = TRUE
} # end logical_volume
logical_volume
{
mount_point = "/opt"
usage = VxFS
size = 1296Mb
largefiles = TRUE
} # end logical_volume
logical_volume
{
mount_point = "/stand"
usage = HFS
size = 304Mb
contiguous_allocation = true
bad_block_relocate = false
} # end logical_volume
logical_volume
{
mount_point = "/tmp"
usage = VxFS
size = 5304Mb
largefiles = TRUE
} # end logical_volume
logical_volume
{
mount_point = "/usr"
usage = VxFS
size = 2248Mb
largefiles = TRUE
} # end logical_volume
logical_volume
{
mount_point = "/var"
usage = VxFS
size = 4600Mb
largefiles = TRUE
} # end logical_volume
logical_volume
{
mount_point = "primary"
usage = SWAP_DUMP
contiguous_allocation = true
size = 4096Mb
bad_block_relocate = false
} # end logical_volume
} # end volume_group "/dev/vg00"
} # end "Modified LVM Layout"