bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Issue with GNU Tar and HP-UX LVM v2.2 filesystems


From: Michael White
Subject: Re: [Bug-tar] Issue with GNU Tar and HP-UX LVM v2.2 filesystems
Date: Fri, 28 Sep 2012 03:27:06 +0000

Hi Nathan,

Thanks for the reply.  Yes, it should have said "directory".
You're going to have help me out a bit as I don't understand what you're asking 
for re. "stat <path-to-volume>/cghbck".
I do not see a OS stat command, there is a programmable stat (5) but I'm not a 
programmer that would know how to use it.
Are you asking for the path to the disk or the VG ID?
The path to the disk in both LVM v1 & v2 is the same LUN H/W Path 
64000/0xfa00/0x22
I think the VG ID you're looking for and it is quite different.

LVM 1:
# cat /cghbck/disk35.map
VGID 792e94cf50649f50

LVM 2.2:
# cat /cghbck/disk35.map2
MAPFILE02
VGID A0000000000000017Fri Sep 28 02:40:28 
2012792e94cf-f555-11dd-b66b-e1cbc018d4fd

I obtained this info by vgexport to a map file.  I know for LVM 1 the VG ID hex 
first 8 = machine ID (uname -i) and the 2nd 8 hex is time stamp.  For LVM 2 I 
do not know the format, still researching.
I did fine this info that may be helpful.
In volume groups version 1.0, LVM metadata is required to fit into a single 
physical extent. In volume
groups version 2.0 and higher, metadata is not restricted to an extent.

So I'm assuming GNU Tar doesn't know how to handle the HP-UX LVM 2.2 metadata 
since it is not restricted to a single extent.  Would that be a fair assumption?


-----Original Message-----
From: address@hidden [mailto:address@hidden On Behalf Of Nathan Stratton 
Treadway
Sent: Thursday, September 27, 2012 4:49 PM
To: address@hidden
Subject: Re: [Bug-tar] Issue with GNU Tar and HP-UX LVM v2.2 filesystems

On Thu, Sep 27, 2012 at 20:05:38 +0000, Michael White wrote:
> I got the tar-snapshot-edit utility and it calls out this file system.
>
> Director: /cghbck
>                 Dev value too high: "18446744071562076161" >
> 4294967295

(I assume this is a cut-and-paste error and the actual output said
"Directory:")

> From some old posts it appears this may be due to LVM issues so I ran
> a test and for HP-UX LVM version 1 type volume group the incremental
> works as advertised.  But when I create a HP-UX LVM 2.2 version volume
> group I get the above error.

I don't know anything about HP-UX LVM devices specifically, but it might 
provide some useful information to know what "stat <path-to-volume>/cghbck"
reports (for both LVM type 1 and type 2.2 volumes).

                                                        Nathan

----------------------------------------------------------------------------
Nathan Stratton Treadway  -  address@hidden  -  Mid-Atlantic region
Ray Ontko & Co.  -  Software consulting services  -   http://www.ontko.com/
 GPG Key: http://www.ontko.com/~nathanst/gpg_key.txt   ID: 1023D/ECFB6239
 Key fingerprint = 6AD8 485E 20B9 5C71 231C  0C32 15F3 ADCD ECFB 6239


****************************************************************************************************
CONFIDENTIALITY NOTICE
This communication and any files or attachments transmitted with it may
contain information that is confidential, privileged and exempt from disclosure 
under
applicable law. It is intended solely for the use of the individual or entity 
to which it is
addressed. If you are not the intended recipient, you are hereby notified that 
any use,
dissemination, copying, or action taken in reliance on the contents of this
communication is strictly prohibited. If you have received this communication 
in error,
please promptly delete it and notify the sender of the delivery error by e-mail 
so that
the appropriate action may be taken to avoid troubling you further.
Thank you for your cooperation. V2
****************************************************************************************************



reply via email to

[Prev in Thread] Current Thread [Next in Thread]