Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

'lil extendfs Help please HPUX 11

Status
Not open for further replies.

tman138

IS-IT--Management
Nov 27, 2001
128
US
I'm importing my production database into my test machine and the volume is too small. I checked and have plenty of disk space available but I've hit a snag. So far I've unmounted the volume umount /dev/vg00/lvol10 extended the logical volume to 3600 Mb: lvextend -L 3600 /dev/vg00/lvol10
but when I try to extend the file system I keep getting the error "Charactor special file required" Ideally I want to extend the file system by 400Mb I've tried: extendfs -F hsf -s 400 /dev/vg00/lvol10 And also: extendfs -F hfs /dev/vg00/lvol10 which I thought would extend the file system to full logical volume size. Both produce the Character special error. What am i missing?

 
I already used lvextend to extend the logical volume, now I need to extend the file system.
 
Was it the fact that you weren't using the raw device?



I love deadlines. I like the whooshing sound they make as they fly by - Douglas Adams
 
You said " I've tried: extendfs -F hsf -s 400 /dev/vg00/lvol10 And also: extendfs -F hfs /dev/vg00/lvol10 which I thought would extend the file system to full logical volume size"

/dev/vg00/lvol10 is not a filesystem, it is a logical volume, this is why I recommended doing lvextend.
 
Have you tried:
extendfs -F hsf -s 400 /dev/vg00/rlvol10
the diff is the rlvol10, in stead of lvol10 which should be the raw lv.

Cheers,

Frank
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top