1833130 Members
3334 Online
110051 Solutions
New Discussion

extendfs on hfs

 
J Armsworth
Occasional Advisor

extendfs on hfs

help ! ( always a good start !! )

am having trouble executing extendfs hfs /dev/vg00/lvnn command

situation: have lvextend-ed my lv and am now
trying to extend the filesystem except the following error appears;

hfs extendfs: Character special file required

Any ideas ?

oh and it's on /usr - machine is in single user mode and /usr is currently unmounted.

cheers in advance

j
7 REPLIES 7
James R. Ferguson
Acclaimed Contributor

Re: extendfs on hfs

Hi:

You need to use the *character* device:

# extendfs /dev/vgXX/rlvolY

...note the 'r'aw or character device.

Regards!

...JRF...
Vincent Farrugia
Honored Contributor

Re: extendfs on hfs

Hello,

You have to mention rlvolnn instead of lvolnn.

HTH,
Vince
Tape Drives RULE!!!
Roger Baptiste
Honored Contributor

Re: extendfs on hfs



Well, the error message says it all! you
need to give the character device as the argument.

extendfs /dev/vg00/rlvolx

-raj
Take it easy.
Ravi_8
Honored Contributor

Re: extendfs on hfs

Hi,
The command should be
#extendfs -F hfs /dev/vgxx/rlvolx
never give up
J Armsworth
Occasional Advisor

Re: extendfs on hfs

ahhh the small print !

ta very much everyone, failed to notice the 'r' hiding in amongst the command.

thanks for the prompt replies - system now extended and working :-)

cheers.

j
Sanjay_6
Honored Contributor

Re: extendfs on hfs

Hi,

you have to use the raw device for the lv, if you /usr is lvol7, you have to use extendfs as,

extendfs -F vxfs /dev/vg00/rlvol7


Hope this helps.

Regds
Bill McNAMARA_1
Honored Contributor

Re: extendfs on hfs

extendfs -F hfs /dev/vgxx/rlvolx

You need the -F hfs or vxfs for extension.

root:drunk:/>fstyp /dev/vg00/rlvol3
vxfs
root:drunk:/>fstyp /dev/vg00/rlvol1
hfs
root:drunk:/>
It works for me (tm)