Operating System - HP-UX
1834481 Members
3292 Online
110067 Solutions
New Discussion

Mounting after creating extent based mirroring not working

 
SOLVED
Go to solution
edwin hamers
Advisor

Mounting after creating extent based mirroring not working

The following is happening :

Server RP5470
HPux 11.11
sep 2002 patches

Created Volume group vg10, with two physical volume groups PVG1 en PVG2, which hold 3 scsi disk each, on different controllers.

Then i created 2 logical volume with lvcreate
lvcreate -D y -s g -L 15000 -m 1 -n lv10 /dev/vg10
lvcreate -D y -s g -L 15000 -m 1 -n lv11 /dev/vg10

If i try to mount lv10 this is what happens :
mount /dev/vg10/lv10 /u03
vxfs mount: /dev/vg10/lv10 is corrupted. needs checking.

So i checked with fsck :
fsck -F vxfs -o full /dev/vg10/lv10
file system is larger than device
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...

If i mount /dev/vg10/lv11 then :
/dev/vg10/lv11: unrecognized file system
And if i fsck this one :
vxfs fsck: not a valid vxfs file system
invalid super-block
search for auxiliary super-block? (ynq)n
vxfs fsck: cannot initialize aggregate
file system check failure, aborting ...

Does Anyone have an idea?
Chant and be happy
3 REPLIES 3
A. Clay Stephenson
Acclaimed Contributor
Solution

Re: Mounting after creating extent based mirroring not working

If I take you at your word, you have not yet run newfs (or mkfs) so that no filesystem exists on the LVOL.
If it ain't broke, I can fix that.
edwin hamers
Advisor

Re: Mounting after creating extent based mirroring not working

I finally found out howto do it...

i had to newfs the logical volume but with the option for a rvol.
I just did not know that i had to use the character device ...

Thanx to all
Chant and be happy
RAC_1
Honored Contributor

Re: Mounting after creating extent based mirroring not working

where is the newfs?
There is no substitute to HARDWORK