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!

chfs: /dev/loglv11 is not a jfs2 log type 1

Status
Not open for further replies.

AIXFinder

IS-IT--Management
Jan 4, 2007
97
US
# lsvg -l backupvg
backupvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
fslv00 jfs2 1000 1000 7 open/syncd /backup2
fslv01 jfs2 100 100 1 open/syncd /backup2tmp
loglv11 jfs2log 1 1 1 closed/syncd N/A
loglv10 jfs2log 1 1 1 open/syncd N/A
root:/>
# chfs -a log=/dev/loglv11 /backup2tmp
chfs: /dev/loglv11 is not a jfs2 log type

Why is this error showing? loglv11 is jfs2log though.
 
you need to run the logform to be able to use the log

Code:
logform -V jfs2 /dev/loglv11

Regards,
Khalid
 
Oh and i forgot to mention this as taken from the man of chfs

Code:
If a file systems is mounted at the time chfs is called to change the outline log, the /etc/filesystems will show the change, but the actual log will not be changed until the next mount for the file system (which follows a umount operation or a system crash and recovery)

you should unmount the filesystem and remount it again!

Regards,
Khalid
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top