Operating System - HP-UX
1834275 Members
3483 Online
110066 Solutions
New Discussion

Re: vxfs fsadm: <lvname> is not the root inode of a vxfs file sytem

 
Norman Dignard
Regular Advisor

vxfs fsadm: <lvname> is not the root inode of a vxfs file sytem

L3000 HPUX 11i OE March release

Having a problem that I can't quite figure out how to fix.
A little history - did a cold install from cd's, mirrored the bootdisk and all vg00/lv's (identical 18GB harddrives). Tied to install some more apps but needed more disk in some lv's. I broke (lvreduced) those lv so I could do a lvextend. In extending the lv's it defaulted in grabbing PE from the 2nd disk (the mirror disk) and I could not recreate the mirror due to lv's spanning both pv's. (c1t2d0 & c2t2d0 both of which are part of vg00)

Then did a pvmove to group all lv's onto the same pv.

Prior to doing the pvmove I could run the cmd fsadm -F vxfs -DEde /dev/vg00/lvolxxx and get output. After doing the pvmove I get "vxfs fsadm: is not the root inode of a vxfs file sytem".

Ran into trouble and did a cold install again this time defining lv sizes as needed. No mirroring yet.

Now when I run fsadm -F vxfs -DEde .... I get the same message. What gives and how can I fix this?




4 REPLIES 4
Craig Rants
Honored Contributor

Re: vxfs fsadm: <lvname> is not the root inode of a vxfs file sytem

Try something like this:

fsadm -F vxfs -d -D -e -E /tmp

see if it is any different.

GL,
C
"In theory, there is no difference between theory and practice. But, in practice, there is. " Jan L.A. van de Snepscheut
Shahul
Esteemed Contributor

Re: vxfs fsadm: <lvname> is not the root inode of a vxfs file sytem

Hi

Whenever U are using fsadm command in an online JFS, U will have to give the mount point as special file.

Eg

#fsadm -F vxfs -b 100m /home

Best of Luck
Shahul
Luc Bussieres_1
Trusted Contributor

Re: vxfs fsadm: <lvname> is not the root inode of a vxfs file sytem

Norman,

fsadm need to be ran with the mountpoint (/usr, /var, ...) not with the device (/dev/dsk/...) when using the Online JFS extension.

Luc
Deshpande Prashant
Honored Contributor

Re: vxfs fsadm: <lvname> is not the root inode of a vxfs file sytem

HI
You can run fsadm to defrag the VxFS file system as follows.

#fsadm -F vxfs -D -E -d -e /home

Thanks.
Prashant.
Take it as it comes.