[lvm-devel] [PATCH] remove old backup file after renaming vg

Takahiro Yasui tyasui at redhat.com
Thu Mar 19 16:40:07 UTC 2009


Hi Alasdair,

> On Thu, Mar 19, 2009 at 11:52:21AM -0400, Takahiro Yasui wrote:
>> This patch removes an old backup file after renaming vg
>> by the vgrename command.
>  
> Ack provided that an archive file with identical contents already
> got created.

Thank you for reviewing this patch.

Yes, an archive file with identical contents is created before actual
rename action by vg_rename function. The archive and backup sequence
of vg_rename_path function is

  - archive old_vg
  - rename old_vg to new_vg
  - backup new_vg
  - backup_remove old_vg

Thanks,
Taka




More information about the lvm-devel mailing list