LVM and VxVM
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error while issuing fsadm

 
jsahibjon
Occasional Contributor

Getting error while issuing fsadm

# fsadm -F vxfs -b 1048330M /ncs/celogs

vxfs fsadm: /dev/vg_celogs/rlv_celogs is currently 663889920 sectors - size will be increased

vxfs fsadm: attempt to resize /dev/vg_celogs/rlv_celogs failed with errno 28

 

11 REPLIES 11
Pete Randall
Outstanding Contributor

Re: Getting error while issuing fsadm

Did you run a re-org first?  Generally a good idea and prevents errors like this.

 

Oops - just noticed you're increasing, not decreasing.  Disregard.


Pete
donna hofmeister
Trusted Contributor

Re: Getting error while issuing fsadm

according to symantec this can be either a fullness or fragmentation problem.

 

how up-to-date are you with your vxvm patches?  (and heed what pete said)

Pete Randall
Outstanding Contributor

Re: Getting error while issuing fsadm

Actually Donna's comment got me thinking about again and it could still help to run a re-org to unfragment things.  Might be worth a try.


Pete
jsahibjon
Occasional Contributor

Re: Getting error while issuing fsadm

can u please give me the step by step procedure to extend the filesystem.

James R. Ferguson
Acclaimed Contributor

Re: Getting error while issuing fsadm

Hi:

 

Standard 'errno' 28 equates to "no space left on device".  Check your specificartion of the new size.  Are you sure you 'lvetend'ed your logical volume, first?

 

Regards!

 

...JRF...

Pete Randall
Outstanding Contributor

Re: Getting error while issuing fsadm

1.  lvextend

2.  fsadm


Pete
Rohak
Advisor

Re: Getting error while issuing fsadm

lvextend -L 70000 /dev/MyVG/lvol1
* the syntax is: lvexten -L <new size in Mb> <lvol path> - Now, increase the filesystem:
fsadm -b 70000m /filesystem
* the syntax is: fsadm –b <new size in Mb> <mount point>

 

lvdisplay

Steven E. Protter
Exalted Contributor

Re: Getting error while issuing fsadm

Shalom,

You were working without a procedure?

lvextend -L <size in MB> <logical volume name> <disk to use>

Then your fsadm command.

You might want to check your license for Online JFS.

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
Patrick Wallek
Honored Contributor

Re: Getting error while issuing fsadm

If your filesystem is completely full (o KB free), then the fsadm to extend it can fail.  If possible, move a few files to another filesystem to your usage so you have some free space then try your fsadm command again.

UVK
Trusted Contributor

Re: Getting error while issuing fsadm

did you check if you have enough free space(free physical extents) in the VG ?

 

vgdisplay -v vg_celogs

 

also check if you have any stale extents

-------------------------------------------
Like it or worked !! Click kudos !!
Ramesh_csc
Visitor

Re: Getting error while issuing fsadm

vxfs fsadm: attempt to resize /dev/vg03/rlvol1 failed with errno 28  

Solution :  its because file system is 100% utilized & no free space available ,  ask file system owner to move some of the data to free some space to bring the utilization aleast 95% ,  then again run fsadm -b 51400M /u90 , it will succeed for sure. Thanks...

Ramesh kumar