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!

Is Rename Logname safe?

Status
Not open for further replies.

DebiJo

Technical User
Apr 30, 2002
363
US
Is the rename logfile safe to use on exisitng file systems? Obviously no one can be in them at the time. But is the data, path links, extra all preserved? Is there any gotchas or anything that might not work when I'm done?

Thanks again!
Debi
AIX 5.1
 
chlv -n newlog loglv00
chfs -a logname=/dev/loglv00 fs

Thanks again,
Debi
 
I think you meant:

chfs -a logname=/dev/newlog fs

In which case, as long as the volume group isn't varied on concurrent (in which case the chlv shouldn't work), everything from the filesystem level to the user should be unaffected.



Rod Knowlton
IBM Certified Advanced Technical Expert pSeries and AIX 5L
CompTIA Linux+
CompTIA Security+

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top