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

Rename FS logname 1

Status
Not open for further replies.

DebiJo

Technical User
Apr 30, 2002
363
US
What are the proper steps to change a logname on an existing file system? I'm told that I need the lognames different between my 2 servers if I am to use HACMP in the future. I had the steps as:

umount fs
? rename log ?
chfs -a logname=<new> fs
mount fs

I'm not sure how to "rename" the log. I tried a chlv -n. But I was unable to mount the fs, getting:
mount: 0506-323 Cannot get information about log device loglv03.
So, I tried doing a logform on the new log name then doing a fsck, but that didn't work either (same error). I ended up blowing away the fs and start over. But I can't do that on all my file systems.
Thanks in advance,
Debi
AIX 5.1
 
Hi Debi,

the steps you used were the correct ones, but you have to use the whole name in your chfs command:

chfs -a logname=/dev/loglv03 fs

Regards
Axel
 
Awesome! It worked like a charm. One star for you!

Thanks again,
Debi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top