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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

log form and chfs error

Status
Not open for further replies.

sjcrane

MIS
Jan 18, 2006
41
US
We are formatting a jfs2log and are getting the following error:

mklv -y' jfsloga' -t' jfs2log' datavg2 1 hdiskpower17

logform -V jfs2 /dev/jfsloga

stldb2a:root:(/)>chfs -a log=jfsloga /db2_fs23b
chfs: jfsloga is not a jfs2 log type


ANY HELP WOULD BE APPRECIATED
 
Also FYI,

I answered "NO" to

logform -V jfs2 /dev/jfsloga

logform /dev/jfsloga
logform: destroy /dev/rjfsloga (y)?n
 
is there any reason for those (oddly) places single quotes?
Code:
mklv -y[COLOR=#ff0000]'[/color] jfsloga[COLOR=#ff0000]'[/color] -t[COLOR=#ff0000]'[/color] jfs2log[COLOR=#ff0000]'[/color] datavg2 1 hdiskpower17

I would try removing them and re-issuing the command - because it otherwise appears to be correct.
 
That was what smitty showed after I made the lv with smitty, all the rest are on the command line and I figured out what was wrong... We need to use the raw device and destroy the data:

mklv -y' jfsloga' -t' jfs2log' datavg2 1 hdiskpower17


logform -V jfs2 /dev/jfslogb


chfs -a log=/dev/rjfslogb /db2_fs23b


Thanks anyway......
 
yeah, smitty tends to throw in lots of single quotes. Unless specifically needed, I usually omit them when typing at the command print - just makes for easier reading/verifying of what you just entered.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top