1829124 Members
1939 Online
109986 Solutions
New Discussion

Re: increase disk space

 
kacou
Regular Advisor

increase disk space

Hi

ONLINEJFS is not installed. i try to make " lvextend" command, and the result is ok. but when i umount filesystem, i have the error message below:
umount: cannot find /usr in /etc/mmttab
cannot umount /usr

------------------------------------
plesae help me!!
20 REPLIES 20
F Verschuren
Esteemed Contributor

Re: increase disk space

This can work:
create a new mntab by:
# mv /etc/mnttab /etc/mnttab.old
# mountall

umount /usr

if this does not work please post:
bdf |grep usr
and the /etc/mnttab
kacou
Regular Advisor

Re: increase disk space

In single user mode? or multi user mode?
F Verschuren
Esteemed Contributor

Re: increase disk space

the move you can do in single and multy user mode, if the umount gives the same error in multy user mode the problem is not fixed, proerly you will get the error that there are proceses running here (like ksh)
so whitout single user mode, you can not do the umount....

the
Sharma Sanjeev
Respected Contributor

Re: increase disk space

Hi

Boot System in Single user mode and extend Filesystem

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
kacou
Regular Advisor

Re: increase disk space

i create a new mntab by:
# mv /etc/mnttab /etc/mnttab.old
# mountall
but when i umount /usr i have the same error message.

this is my mnttab file
-----------------------------
# cat /etc/mnttab
/dev/vg00/lvol3 / vxfs ioerror=nodisable,log,dev=40000003 0 1 1217597220
/dev/vg00/lvol1 /stand hfs defaults,dev=40000001 0 0 1217597221
/dev/vg00/lvol8 /var vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000008 0 0 1217597269
/dev/vg00/lvol7 /usr vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000007 0 0 1217597269
/dev/vg00/lvol4 /tmp vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000004 0 0 1217597269
/dev/vg00/lvol6 /opt vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000006 0 0 1217597270
/dev/vg00/lvol5 /home vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000005 0 0 1217597270
/dev/vg00/lvol10 /backup vxfs ioerror=mwdisable,largefiles,delaylog,nodatainlog, dev=4000000a 0 0 1217597270
Fabio Ettore
Honored Contributor

Re: increase disk space

Hi,

please post contents of /etc/mnttab.

Anyway, whether you have /usr mounted, I doubt you could umount it at run level 3. That is the great matter that OnlineJFS has.

Boot in single user mode and issue

extendfs -F vxfs /dev/vg00/lvol7

Then try to mount all filesystems by

mount -a

and finally

init 3

HTH.

Best regards,
Fabio
WISH? IMPROVEMENT!
Torsten.
Acclaimed Contributor

Re: increase disk space

Are you already in single user mode?

/usr may be not mounted yet - check with "mount" and proceed.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Tim Nelson
Honored Contributor

Re: increase disk space

Must be in single user mode to unmount /usr.

If you booted to single user mode then /usr will not be mounted only /, that is what single-user mode is about.

execute your extendfs then reboot or init3

Sharma Sanjeev
Respected Contributor

Re: increase disk space

Hi kacou

Best is to boot system in single user mode and extend it.

Regards
Sanjeev
Everything is Possible as " IMPOSSIBLE" word itself says I M POSSIBLE
kacou
Regular Advisor

Re: increase disk space

it is what i did, but it dosoen't work!!!


I still need some assistance please
Fabio Ettore
Honored Contributor

Re: increase disk space

Hi,

have you /usr in /etc/mnttab? (I suppose so)
Please post

- contents of /etc/mnttab;
- lvdisplay /dev/vg00/lvol7;
- bdf

Best regards,
Fabio
WISH? IMPROVEMENT!
kacou
Regular Advisor

Re: increase disk space

cat /etc/mnttab
/dev/vg00/lvol3 / vxfs ioerror=nodisable,log,dev=40000003 0 1 1217597220
/dev/vg00/lvol1 /stand hfs defaults,dev=40000001 0 0 1217597221
/dev/vg00/lvol8 /var vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000008 0 0 1217597269
/dev/vg00/lvol7 /usr vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000007 0 0 1217597269
/dev/vg00/lvol4 /tmp vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000004 0 0 1217597269
/dev/vg00/lvol6 /opt vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000006 0 0 1217597270
/dev/vg00/lvol5 /home vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000005 0 0 1217597270
/dev/vg00/lvol10 /backup vxfs ioerror=mwdisable,largefiles,delaylog,nodatainlog,dev=4000000a 0 0 1217597270
/dev/vg00/lvol9 /appl vxfs ioerror=mwdisable,delaylog,nodatainlog,dev=40000009 0 0 1217604484
--------------------------------------------
# lvdisplay /dev/vg00/lvol7
--- Logical volumes ---
LV Name /dev/vg00/lvol7
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 1
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 40960
Current LE 1280
Allocated PE 2560
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default
--------------------------------------
# bdf
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lvol3 589824 589824 0 100% /
/dev/vg00/lvol1 314736 80664 202592 28% /stand
/dev/vg00/lvol8 20480000 1591088 18741424 8% /var
/dev/vg00/lvol7 4063232 3900176 161976 96% /usr
/dev/vg00/lvol4 6160384 192472 5922088 3% /tmp
/dev/vg00/lvol6 4784128 2900888 1868576 61% /opt
/dev/vg00/lvol5 2097152 16982 1950167 1% /home
/dev/vg00/lvol10 30736384 9853514 19577711 33% /backup
/dev/vg00/lvol9 10485760 19038 9812559 0% /appl
Fabio Ettore
Honored Contributor

Re: increase disk space

Hi,

so you have /usr in /etc/mnttab.
So you have to bring the system in single user mode (even though you wrote you already did that, I think things didn't work well).

- go in single user mode;
- extendfs -F vxfs /dev/vg00/rlvol7
- init 3

This is the only action that will extend your filesystem (as written, unfortunately you don't have OnlineJFS).

If you have still problems please post us the output of the actions, log all into a file and attach that here.

Good luck...

Best regards,
Fabio
WISH? IMPROVEMENT!
kacou
Regular Advisor

Re: increase disk space

it is what i did!! but i have the onleJFS cdrom. it need a licence to install it?
Fabio Ettore
Honored Contributor

Re: increase disk space

kacou, I understood you did that, but (again) something went wrong!
That suggested is the only way to extend the filesystem without OnlineJFS (Yes, it needs a license under payment).

So please post the steps done and we could help you more. But even though you insist with "I did that!" I'll ask again to do steps again because that is the only way to extend filesystem /usr.

Best regards,
Fabio
WISH? IMPROVEMENT!
Rasheed Tamton
Honored Contributor

Re: increase disk space

Hi,

The old size of /usr is 3968 MB (4063232/1024)

>/dev/vg00/lvol7 4063232 3900176 161976 96% /usr

and you have extended it to 40960MB (you added another 36GB - is it true? I think something went wrong here) Can you check the exact lvextend command you used. You are also using mirror on /usr with strict allocation policy.

># lvdisplay /dev/vg00/lvol7
>LV Size (Mbytes) 40960
>Mirror copies 1

>ioerror=mwdisable (in /etc/fstab)
If you are sure, everything went as planned, then either do a fsck on the lvol7 after unmounting it then try to mount it.

Otherwise, just remove the (ioerror=mwdisable) from the fstab and try mounting. Just post the results.

Rasheed Tamton
Honored Contributor

Re: increase disk space

Also, post the lvdisplay -v /dev/vg00/lovl7 (with the -v option)
and
vgdisplay -v vg00
as attachment.

rgds.
Fabio Ettore
Honored Contributor

Re: increase disk space

Hi kacou,

it would nice to see the end of the story.
Did you go in single-user mode to extend /usr filesystem?

Best regards,
Fabio
WISH? IMPROVEMENT!
Torsten.
Acclaimed Contributor

Re: increase disk space

A happy end with points for all would be nice!

;-)

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Sp4admin
Trusted Contributor

Re: increase disk space

As stated above. you will need to boot into single user mode. the do an extendfs /dev/vg00/lvol7. You can't umount the file system /usr.

sp,