1837737 Members
3816 Online
110118 Solutions
New Discussion

Re: FSADM error

 
RAC_1
Honored Contributor

FSADM error

I am trying to extend the file system with fsadm.
I am getting follwoing error.

is not the root inode of a vxfs file sytem

Please note I have OnlineJFS installed.

Thanks in advance
There is no substitute to HARDWORK
10 REPLIES 10
Paula J Frazer-Campbell
Honored Contributor

Re: FSADM error

Hi

I am getting follwoing error.

is not the root inode of a vxfs file sytem

The error is telling you that you are trying to extend not at the mount point but further up the tree.

Revisit your command.


Paula

If you can spell SysAdmin then you is one - anon
S.K. Chan
Honored Contributor

Re: FSADM error

If you have OnlineJFS then /dev/vg00/lvol12 has got to be mounted while you're extending it. Say it's mounted on /opt, then you would run it like so .. (eg: want to increase to 800MB)
# lvextend -L 800 /dev/vg00/lvol12
# fsadm -b 819200 /opt
====> 800*1024=819200
RAC_1
Honored Contributor

Re: FSADM error

Even if I mount say at /xx
and execute
fsadm -F vxfs -b 20480 /xx
it gives error as following

/xx is not a known mountpoint
and the raw device cannot be deduced

I am in a loop now.

Thanks in advance
There is no substitute to HARDWORK
T G Manikandan
Honored Contributor

Re: FSADM error

Use the character device
/dev/vg00/rvol12


Thanks
G Manikandan
Tom Geudens
Honored Contributor

Re: FSADM error

Hi,
Stupid question probably, but this is a vxfs filesystem we are talking about ... yes ?
You can check this the following way :
$fstyp /dev/vg00/rlvol1
vxfs
$fstyp /dev/vg00/rlvol2
hfs

fsadm would not work for the latter ...

Regards,
Tom
A life ? Cool ! Where can I download one of those from ?
T G Manikandan
Honored Contributor

Re: FSADM error

I assume that you are working on a jfs or hfs file system
Then you should use the character device.

please check the link which should help you.

http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0xdbac79bffde7d4118fef0090279cd0f9,00.html

T G Manikandan
Honored Contributor

Re: FSADM error

I meant base jfs
David Bell_1
Honored Contributor

Re: FSADM error

Anil,

From the error listed in your second comment it appears that the mount point is not listed in /etc/fstab. Secondly, you may rty the following:

lvextend -L /dev/dsk/lvol8
fsadm -F vxfs -b M /

where the 'M' represents size in Megabytes versus using blocks.

HTH,

Dave
Kevin Wright
Honored Contributor

Re: FSADM error

lvextend -L size in MB /dev/vgXX/lvol
fsadm -b (size * 1024) /mountpoint

or add -F vxfs to fsadm if /etc/default/fs is not vxfs, and make sure /mountpoint is a valid mountpoint in /etc/fstab.
David Bell_1
Honored Contributor

Re: FSADM error

Anil,

Sorry, I actually meant /dev/vgXX not /dev/dsk in the lvextend line.

Dave