Operating System - HP-UX
1826422 Members
3556 Online
109692 Solutions
New Discussion

vxfs fsck: cannot initialize aggregate

 
SOLVED
Go to solution
Carles Viaplana
Valued Contributor

vxfs fsck: cannot initialize aggregate

Hello,

I increased cluster filesystem size adding new LUNs from an XP but when I move package to other node it doesn't work due following error:

fsck: /etc/default/fs is used for determining the file system type
file system is larger than device
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...
ERROR: Function check_and_mount
ERROR: Failed to fsck one of the logical volumes.

Last time we increased size I think we just execute INSF command and it worked fine.

Have we forgoten any step?

Thanks in advance for your help.
Regards,

Carles
3 REPLIES 3
Henk Geurts
Esteemed Contributor
Solution

Re: vxfs fsck: cannot initialize aggregate

hi Carles

in a cluster environment you must make all nodes know a disk has been added to the VG

the procedure in brief:
once added the disk on the active node:
vgexport -p -s -m (to create mapfile)

on other nodes :
insf -e
vgexport
mkdir
mknod
vgimport -s -m (use the mapfile created on active node)

switch package to test ...

for more detailed procedure just look for threads searching for "vgextend cluster"

regards.
good luck.
Calandrello
Trusted Contributor

Re: vxfs fsck: cannot initialize aggregate

carles verifies if the VG this imported one in schemes where voce this wanting to activate the package. (ls - ltr /dev/vgxxxx) if the VG will be imported tries to activate manually (vgchange - the y), case it activates the VG tries to mount lvols. some error can occur uses fsck to correct the problem. in case that the VG activates, mount and VG see the data, voce probably has a problem in its script that it initiates the package and it mounts the areas.

[]
Guilherme
Carles Viaplana
Valued Contributor

Re: vxfs fsck: cannot initialize aggregate

It seems we forgot vgimport/vgexport command in order to update disk configuration.

I'll do that.

Thanks to all for your help.
Regards,

Carles