1832489 Members
4384 Online
110043 Solutions
New Discussion

fsadm error

 
SOLVED
Go to solution
sharathkv25
Frequent Advisor

fsadm error

Hi,

I want to increase the /opt partition to hold files greater than 2GB. I get this error with fsadm

# fsadm -F vxfs -o largefiles /dev/vg00/lvol6
vxfs fsadm: /dev/vg00/lvol6 is not the root inode of a vxfs file sytem
#
# fsadm -o largefiles /dev/vg00/lvol6
vxfs fsadm: /dev/vg00/lvol6 is not the root inode of a vxfs file sytem
#
8 REPLIES 8
J. Bravo
Respected Contributor

Re: fsadm error

Hello:

Specify the mopunt point, not the lvol. Did you have extended the lvol before the fsadm?

Regards;

J. Bravo.
Aneesh Mohan
Honored Contributor

Re: fsadm error

Hi Sharath,

It sounds the filesystem is HFS and not vxfs

Please do

#fstyp /dev/vg00/lvol6

I belive fsadm will not work with HFS

Aneesh

J. Bravo
Respected Contributor
Solution

Re: fsadm error

Excuse me!, you only want to chage the largefiles option, not to extend the file system... then the correct command is:

fsadm -F vxfs -o largefiles /opt

Regards;

J. Bravo.
sharathkv25
Frequent Advisor

Re: fsadm error

Hi J, Bravo

Your command worked!

I am trying to ftp an 2.5 GB zip file to /opt/tmp on HPUX

Hope your command works and does not again give me a Netout: connection reset by peer error.

Thanks
whiteknight
Honored Contributor

Re: fsadm error


Hi,

You need to make sure if you online JFS or base JFS

To convert an Advanced JFS filesystem:
fsadm -F vxfs -o largefiles /(mountpoint)

To convert a base JFS filesystem (filesystem MUST be unmounted):
fsadm -F vxfs -o largefiles /dev/vg0#/rlvol#

WK
Problem never ends, you must know how to fix it
J. Bravo
Respected Contributor

Re: fsadm error

Hello again:

Don't forget to change the line into fstab to reflect the change:

/dev/vg00/lvol6 /opt vxfs largefiles,delaylog 0 2

Best regards;

J. Bravo.
Aneesh Mohan
Honored Contributor

Re: fsadm error

Hi Sharath,

If you want to enable the largefiles option on /opt then please do the below steps

1)Reboot the server in single user mode

2)# fsadm -F hfs -o largefiles /dev/vg00/rlvol6

3)Confirm using fstyp -v /dev/vg00/lvol6 |grep "f_flag" -- it should be 16


4) init 3


much before that please confirm whether u have already enabled largefile flag on /opt

fstyp -v /dev/vg00/lvol6 |grep "f_flag"

if the output 0 means not enabled, 16 means its enabled already


Thanks,
Aneesh




sharathkv25
Frequent Advisor

Re: fsadm error

Hi,

J. Bravo solution worked fine. Thanks to all those who replied.