Operating System - HP-UX
1826499 Members
1927 Online
109692 Solutions
New Discussion

Re: Extend Hot FileSystem (OnlineJFS) whit 100% ocupation.

 
gOnzO_2
Occasional Advisor

Extend Hot FileSystem (OnlineJFS) whit 100% ocupation.

I have the following problem when trying to extend a Hot FileSystem (OnlineJFS) with a 100% ocupation:

aplitma02.root# bdf /var/repositorio
Filesystem kbytes used avail %used Mounted on
/dev/vg00/lv_entregas
20971520 20971520 0 100% /var/repositorio
aplitma02.root#
---------------------------------------

aplitma02.root# lvdisplay /dev/vg00/lv_entregas
--- Logical volumes ---
LV Name /dev/vg00/lv_entregas
VG Name /dev/vg00
LV Permission read/write
LV Status available/syncd
Mirror copies 0
Consistency Recovery MWC
Schedule parallel
LV Size (Mbytes) 22528
Current LE 704
Allocated PE 704
Stripes 0
Stripe Size (Kbytes) 0
Bad block on
Allocation strict
IO Timeout (Seconds) default

aplitma02.root#
----------------------------------------
aplitma02.root# fsadm -F vxfs -b 22528M /var/repositorio
vxfs fsadm: /dev/vg00/rlv_entregas is currently 20971520 sectors - size will be increased
vxfs fsadm: attempt to resize /dev/vg00/rlv_entregas failed with errno 28
aplitma02.root#

Help me please!! ..

Thanks!
5 REPLIES 5
Bart Paulusse
Respected Contributor

Re: Extend Hot FileSystem (OnlineJFS) whit 100% ocupation.

onlineJFS needs some space to be able to extend the filesystem.
Are there any files you can temporarily move or delete to create some space?
VK2COT
Honored Contributor

Re: Extend Hot FileSystem (OnlineJFS) whit 100% ocupation.

Hello,

Error number 28 is ENOSPC:

"No Space left on the device"

Two possibilities:

a) fsadm(1) does not work well if there is
no space left on the device. You will need
to find a way to free up some space
temporarily (by moving some files to another file system or removing some files), then
run the fsadm(1) command again, and finally
move the files back.

Or,

b) Your fsadm(1) command is incorrect (some
admins do make mistakes in calculations).

In your case, I think option a) is the way
to resolve it efficiently.

Cheers,

VK2COT
VK2COT - Dusan Baljevic
Steven E. Protter
Exalted Contributor

Re: Extend Hot FileSystem (OnlineJFS) whit 100% ocupation.

Shalom,

Yes, its clealry possible to do this however its unsafe.

I recommend clearing some space and then expanding the filesystem. Some free space is clearly necessary to operate a filesystem and expand it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Steven E. Protter
Exalted Contributor

Re: Extend Hot FileSystem (OnlineJFS) whit 100% ocupation.

Shalom,

Yes, its clearly possible to do this however its unsafe.

I recommend clearing some space and then expanding the filesystem. Some free space is clearly necessary to operate a filesystem and expand it.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
gOnzO_2
Occasional Advisor

Re: Extend Hot FileSystem (OnlineJFS) whit 100% ocupation.

Solution:

Move files until the occupation of 99% .. ..

And fsadm worked correctly

Thank you all!
Thank you all!