1848683 Members
7189 Online
104035 Solutions
New Discussion

extendfs error

 
Fernando Jose P de Souz
Regular Advisor

extendfs error

Hi,

My server is D-230 and the O.S. is HP-UX 10.20

I put disks in the jamaica that have high capacity.

When i extend my lvol is ok, but when
i execute extenfs, give me a message:

vxfs fsck: file system needs checking
vxfs fsck: cannot extend aggregate
vxfs extendfs: Invocation of the fsck program terminated abnormally.
The file system is marked bad. Run full fsck manually.
(e.g. fsck -F vxfs /dev/vg02/rlvol1).


and i run fsck -F vxfs /dev/vg02/rlvol1
but not succesfully.

The part of the output the lvdisplay:

9991 /dev/dsk/c1t13d0 1311 current
9992 /dev/dsk/c1t13d0 1312 current
9993 /dev/dsk/c1t13d0 1313 current
9994 /dev/dsk/c1t13d0 1314 current
9995 /dev/dsk/c1t13d0 1315 current
9996 /dev/dsk/c1t13d0 1316 current
9997 /dev/dsk/c1t13d0 1317 current
9998 /dev/dsk/c1t13d0 1318 current
9999 /dev/dsk/c1t13d0 1319 current
1000 /dev/dsk/c1t13d0 1320 current
1000 /dev/dsk/c1t13d0 1321 current
1000 /dev/dsk/c1t13d0 1322 current
1000 /dev/dsk/c1t13d0 1323 current
1000 /dev/dsk/c1t13d0 1324 current
1000 /dev/dsk/c1t13d0 1325 current
1000 /dev/dsk/c1t13d0 1326 current
1000 /dev/dsk/c1t13d0 1327 current
1000 /dev/dsk/c1t13d0 1328 current

I think that i extend the PE size, is ok???
in attach have a output of commands.

Wait

Fernando.
4 REPLIES 4
AwadheshPandey
Honored Contributor

Re: extendfs error

u will need to extend ur pv to do this activity.

Awadhesh
It's kind of fun to do the impossible
Geoff Wild
Honored Contributor

Re: extendfs error

Need to know exactly what you executed.

Should have been:

pvcreate /dev/rdsk/

vgextend /dev/vg02 /dev/dsk/

lvextend -L /dev/vg02/lvol1

extendfs -F vxfs /dev/vg02/rlvol1

NOTE - the use of rdsk and dsk device files...

Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Devender Khatana
Honored Contributor

Re: extendfs error

Hi,

Post the commands executed earlier. Is file system mounting normally without extending?

HTH,
Devender
Impossible itself mentions "I m possible"
Joseph Loo
Honored Contributor

Re: extendfs error

hi,

i do not see anymore logical extents in vg02, so i guess u r trying to add a new disk to the vg02 which first u first vgextend:

# pvcreate -f
# vgextend /dev/vg02

u may then begin to extend the logical volume.

# lvextend -l /dev/vg02/lvol1
# umount /dev/vg02/lvol1
# extendfs /dev/vg02/rlvol1
# mount /dev/vg02/lvol1


also, please remember to assign points:

http://forums1.itrc.hp.com/service/forums/pageList.do?userId=CA641402&listType=unassigned&forumId=1

regards.
what you do not see does not mean you should not believe