- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Converting LIF file
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 04:06 PM
04-19-2005 04:06 PM
How can I convert a LIF file to a text file or do the reversal?
Thank u
Henry
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 04:21 PM
04-19-2005 04:21 PM
Re: Converting LIF file
It creates new ones when mirroring disks and such.
If you can find it, you might try running the strings command on it.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 05:17 PM
04-19-2005 05:17 PM
Re: Converting LIF file
lifls -l /dev/rdsk/c0t6d0
Then to copy the AUTO to your screen:
lifcp /dev/rdsk/c0t6d0:AUTO -
or copy it to a file:
lifcp /dev/rdsk/c0t6d0:AUTO /tmp/myAUTOfile
man lifcp lifrm lifls lif
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 05:51 PM
04-19-2005 05:51 PM
Re: Converting LIF file
Thanks for the info. What do u make of the following attached file? It seems to be a LIF file.. can i know how to view the content?
Best regards
Henry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 08:08 PM
04-19-2005 08:08 PM
Re: Converting LIF file
volume HFSLIF data size 1052 directory size 1
filename type start size implement created
===============================================================
WS_FILE -5791 2 110 20200080 00/00/00 00:00:00
The contents of WS_FILE are attached, but I don't know what it is! It looks like some sort of diagnostics output.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 08:19 PM
04-19-2005 08:19 PM
Re: Converting LIF file
Thanks for the help. Can you tell me how did u get the final WS_FILE, I been trying but keep getting nothing.
This file actually contains parameter supporting an equipment. We input the parameter one at a time, and the system will then compiled the data into a LIF file. What I would like to know is could I convert the data directly into a LIF that is readable by the system? what do you think i should do?
Many thanks
Henry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 08:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 08:39 PM
04-19-2005 08:39 PM
Re: Converting LIF file
when i strings the WSFILE i got a string of data. Can I used these datas to recreate an identical LIF file?
Regards
Henry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-19-2005 08:54 PM
04-19-2005 08:54 PM
Re: Converting LIF file
# lifinit -n "HFSLIF" -v270080 -d1 newlif
where:
-n is the volume id of the lif i.e. HFSLIF
-v is the size of the lif
-d is the number of directory entries
These are the same values as your current LIF.
Then you would need to copy your new WS_FILE into your new LIF
# lifcp -T-5791 -i 0x2020080 new_ws_file new_lif:WS_FILE
where:
-T is the type
-i is the implementation
Then check it's all OK
# lifls -l new_lif
The only difference between the old LIF and the new LIF (apart from the WS_FILE) is the directory start which is 3 on the new LIF and 2 on the old one. I don't know whether that it important for your application. If it is, let me know and I'm sure we can fix it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 02:22 PM
04-20-2005 02:22 PM
Re: Converting LIF file
Thanks for your help. One question for "lifcp -T-5791 -i 0x2020080 new_ws_file new_lif:WS_FILW", what does new_ws_file represent, i got a "lifcp: Can't open new_ws_file for reading" error when executing it..
Do you think I can convert a string of data into a form that the system can understand?
Best regards
Henry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-20-2005 08:03 PM
04-20-2005 08:03 PM