[CentOS] LVM + XFS + external log + snapshots - SOLVED

Tue Jun 25 06:55:40 UTC 2013
Tru Huynh <tru at centos.org>

On Mon, Jun 24, 2013 at 07:49:21PM -0700, aurfalien wrote:
...
> So this worked;
> 
> truncate --size=2G logfile
> losetup /dev/loop0 logfile
> mount /dev/vg_anette_data/datasnapshot /snapshot -o logdev=/dev/loop0,nouuid,ro
> 
> Freezing the fs looks to make the log zero.  So assigning any device/file for the external log would work.
> 
> My mistake was not making the log dev an LVM.  However I don't if a log on an LVM would have worked anyways.
> 
> At any rate, HTH some one else.

Thanks for the follow-up, and worth a wiki entry, imho

Cheers,

Tru
-- 
Tru Huynh (mirrors, CentOS i386/x86_64 Package Maintenance)
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBEFA581B
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20130625/ea2b1af7/attachment-0005.sig>