1753322 Members
6665 Online
108792 Solutions
New Discussion юеВ

listing label contents

 
himacs
Super Advisor

listing label contents

Hi Admin.

How to list the label contents in the LIF area.Also need to list BDRA.

Please suggest

Regards
himacs
17 REPLIES 17
Hakki Aydin Ucar
Honored Contributor

Re: listing label contents

Hi,

try this;
lifls - lists the contents of a LIF directory on standard output.
Steven E. Protter
Exalted Contributor

Re: listing label contents

Shalom,

lifls is the utility of choice for listing these contents.

Most systems administrators direct this to a file for easier viewing.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
James R. Ferguson
Acclaimed Contributor

Re: listing label contents

Hi Himacs:

Look at 'lifls(1)' and 'lifcp(1)'.

Regards!

...JRF...
himacs
Super Advisor

Re: listing label contents

Hi Thanks for the response.

Lifls lists the contents of LIF area. I want to list the contents from LABEL which found in lif area.

lifls -l /dev/dsk/c3t0d0s2
volume ISL10 data size 7984 directory size 8 06/10/27 14:23:07
filename type start size implement created
===============================================================
ISL -12800 584 242 0 06/10/27 14:23:07
AUTO -12289 832 1 0 06/10/27 14:23:07
HPUX -12928 840 1024 0 06/10/27 14:23:07
PAD -12290 1864 1468 0 06/10/27 14:23:07
LABEL BIN 3336 8 0 10/04/14 02:19:59


Regards
himacs
James R. Ferguson
Acclaimed Contributor

Re: listing label contents

Hi (again):

# lifcp /dev/rdsk/cXtYdZ:LABEL -

Regards!

...JRF...
Torsten.
Acclaimed Contributor

Re: listing label contents

Use


# lvlnboot -v


LABEL stores the values set by

# lvlnboot -s|-b|-r|-d ...

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Torsten.
Acclaimed Contributor

Re: listing label contents

See also

http://docs.hp.com/en/B2355-60127/mkboot.1M.html

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Hakki Aydin Ucar
Honored Contributor

Re: listing label contents

>JRF: # lifcp /dev/rdsk/cXtYdZ:LABEL -

I tried in 11.23
# uname -a
HP-UX host1 B.11.23 U ia64 3515879026 unlimited-user license
# lifcp /dev/rdsk/c3t6d0s2:LABEL -
J├Г ├В┬╡?j<
`
`
`
`2J├Г ├В┬╡?#

And in 11.11 ;
# uname -a
HP-UX host2 B.11.11 U 9000/800 733937691 unlimited-user license
zprev01# lifcp /dev/rdsk/c1t2d0:LABEL -
A├Г 1/j<
`├Г┬вD├Г┬╣` ├Г┬╣`@├Г┬╣`@2A├Г 1/#

is there any way to convert this to a format human readable ?

Torsten.
Acclaimed Contributor

Re: listing label contents

As said before, use

# lvlnboot -v



Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!