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

2013-06-25 Thread Tru Huynh
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

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

2013-06-25 Thread Gordon Messmer
On 06/24/2013 07:49 PM, aurfalien wrote: 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. It wouldn't work. If you snapshot a

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

2013-06-25 Thread aurfalien
On Jun 25, 2013, at 6:02 AM, Gordon Messmer wrote: On 06/24/2013 07:49 PM, aurfalien wrote: 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

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

2013-06-24 Thread aurfalien
On Jun 21, 2013, at 2:58 PM, Joseph L. Casale wrote: So I have an XFS file system within LVM which has an external log. A snapshot volume is created w/o issue; But when i try to mount the file system; mount: /dev/mapper/vg_spock_data-datasnapshot already mounted or /snapshot busy