* [linux-lvm] moving an LVM as an ISO can be moved
@ 2010-10-05 11:50 Tapas Mishra
2010-10-05 12:06 ` Sunil Gupta
0 siblings, 1 reply; 8+ messages in thread
From: Tapas Mishra @ 2010-10-05 11:50 UTC (permalink / raw)
To: LVM general discussion and development
Can an LVM be copied or transferred to some remote server in a similar
fashion as I can do with ISO.
I copy the ISO at one one place to some other location and on the
second location I can mount this ISO
as a loopback device and do what ever I want.
Is similar thing possible with an LVM.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] moving an LVM as an ISO can be moved
2010-10-05 11:50 [linux-lvm] moving an LVM as an ISO can be moved Tapas Mishra
@ 2010-10-05 12:06 ` Sunil Gupta
2010-10-05 12:06 ` Tapas Mishra
2010-10-05 15:45 ` Phillip Susi
0 siblings, 2 replies; 8+ messages in thread
From: Sunil Gupta @ 2010-10-05 12:06 UTC (permalink / raw)
To: LVM general discussion and development
Use vgexport or snapshots. but if you are using the removable media then
use any backup device disk tape etc.
--Sunil
Tapas Mishra wrote:
> Can an LVM be copied or transferred to some remote server in a similar
> fashion as I can do with ISO.
> I copy the ISO at one one place to some other location and on the
> second location I can mount this ISO
> as a loopback device and do what ever I want.
> Is similar thing possible with an LVM.
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] moving an LVM as an ISO can be moved
2010-10-05 12:06 ` Sunil Gupta
@ 2010-10-05 12:06 ` Tapas Mishra
2010-10-05 15:45 ` Phillip Susi
1 sibling, 0 replies; 8+ messages in thread
From: Tapas Mishra @ 2010-10-05 12:06 UTC (permalink / raw)
To: sugupta, LVM general discussion and development
On Tue, Oct 5, 2010 at 5:36 PM, Sunil Gupta <sugupta@redhat.com> wrote:
> Use vgexport or snapshots. but if you are using the removable media then use
> any backup �device disk tape etc.
>
Ok.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] moving an LVM as an ISO can be moved
2010-10-05 12:06 ` Sunil Gupta
2010-10-05 12:06 ` Tapas Mishra
@ 2010-10-05 15:45 ` Phillip Susi
2010-10-05 15:59 ` Tapas Mishra
1 sibling, 1 reply; 8+ messages in thread
From: Phillip Susi @ 2010-10-05 15:45 UTC (permalink / raw)
To: sugupta, LVM general discussion and development
On 10/5/2010 8:06 AM, Sunil Gupta wrote:
> Use vgexport or snapshots. but if you are using the removable media then
> use any backup device disk tape etc.
vgexport is to remove a physical volume from the set, while leaving any
logical volumes it holds in place. It sounds like the OP does not want
to do that, but rather copy a volume over the network.
> --Sunil
>
> Tapas Mishra wrote:
>> Can an LVM be copied or transferred to some remote server in a similar
>> fashion as I can do with ISO.
>> I copy the ISO at one one place to some other location and on the
>> second location I can mount this ISO
>> as a loopback device and do what ever I want.
>> Is similar thing possible with an LVM.
This is unrelated to LVM but if you want to image a disk volume you do
so the same way as with a cd/iso image: use dd.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] moving an LVM as an ISO can be moved
2010-10-05 15:45 ` Phillip Susi
@ 2010-10-05 15:59 ` Tapas Mishra
2010-10-05 18:44 ` Stuart D. Gathman
0 siblings, 1 reply; 8+ messages in thread
From: Tapas Mishra @ 2010-10-05 15:59 UTC (permalink / raw)
To: LVM general discussion and development; +Cc: sugupta
On Tue, Oct 5, 2010 at 9:15 PM, Phillip Susi <psusi@cfl.rr.com> wrote:
>
> This is unrelated to LVM but if you want to image a disk volume you do
> so the same way as with a cd/iso image: use dd.
You mean to say
dd if=/some/iso of=/temp/location bs=1024
similarly
dd if=/dev/lvm/in/question of=/nfs/location/to/store bs=1024
this type of thing.
And then boot from that.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] moving an LVM as an ISO can be moved
2010-10-05 15:59 ` Tapas Mishra
@ 2010-10-05 18:44 ` Stuart D. Gathman
2010-10-05 19:23 ` Tapas Mishra
0 siblings, 1 reply; 8+ messages in thread
From: Stuart D. Gathman @ 2010-10-05 18:44 UTC (permalink / raw)
To: LVM general discussion and development; +Cc: sugupta
On Tue, 5 Oct 2010, Tapas Mishra wrote:
> You mean to say
> dd if=/some/iso of=/temp/location bs=1024
> similarly
> dd if=/dev/lvm/in/question of=/nfs/location/to/store bs=1024
> this type of thing.
Yes.
> And then boot from that.
Not sure what you mean by "boot from that". Since you are playing
with virtual machines, perhaps you mean something like:
losetup /dev/loop0 /nfs/location/to/store
... pass /dev/loop0 to a Virtual machine
(likely to be slow - you probably want a SAN instead)
Or perhaps you mean that "location/to/store" is an LV on another host,
and the other host will boot a virtual machine from store.
--
Stuart D. Gathman <stuart@bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] moving an LVM as an ISO can be moved
2010-10-05 18:44 ` Stuart D. Gathman
@ 2010-10-05 19:23 ` Tapas Mishra
2010-10-05 19:33 ` Stuart D. Gathman
0 siblings, 1 reply; 8+ messages in thread
From: Tapas Mishra @ 2010-10-05 19:23 UTC (permalink / raw)
To: LVM general discussion and development; +Cc: sugupta
On Wed, Oct 6, 2010 at 12:14 AM, Stuart D. Gathman <stuart@bmsi.com> wrote:
>
> Not sure what you mean by "boot from that". �Since you are playing
> with virtual machines, perhaps you mean something like:
>
> losetup /dev/loop0 /nfs/location/to/store
> ... pass /dev/loop0 to a Virtual machine
Yes
> (likely to be slow - you probably want a SAN instead)
Hmm I do not have a SAN,
> Or perhaps you mean that "location/to/store" is an LV on another host,
> and the other host will boot a virtual machine from store.
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] moving an LVM as an ISO can be moved
2010-10-05 19:23 ` Tapas Mishra
@ 2010-10-05 19:33 ` Stuart D. Gathman
0 siblings, 0 replies; 8+ messages in thread
From: Stuart D. Gathman @ 2010-10-05 19:33 UTC (permalink / raw)
To: LVM general discussion and development; +Cc: sugupta
[-- Attachment #1: Type: TEXT/PLAIN, Size: 853 bytes --]
On Wed, 6 Oct 2010, Tapas Mishra wrote:
> On Wed, Oct 6, 2010 at 12:14 AM, Stuart D. Gathman <stuart@bmsi.com> wrote:
> >
> > Not sure what you mean by "boot from that". �Since you are playing
> > with virtual machines, perhaps you mean something like:
> >
> > losetup /dev/loop0 /nfs/location/to/store
> > ... pass /dev/loop0 to a Virtual machine
> Yes
> > (likely to be slow - you probably want a SAN instead)
> Hmm I do not have a SAN,
Start up an iSCSI server on another host, and you have a SAN.
Export LVs via iSCSI and mount them as drives on other hosts.
--
Stuart D. Gathman <stuart@bmsi.com>
Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154
"Confutatis maledictis, flammis acribus addictis" - background song for
a Microsoft sponsored "Where do you want to go from here?" commercial.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2010-10-05 19:33 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-05 11:50 [linux-lvm] moving an LVM as an ISO can be moved Tapas Mishra
2010-10-05 12:06 ` Sunil Gupta
2010-10-05 12:06 ` Tapas Mishra
2010-10-05 15:45 ` Phillip Susi
2010-10-05 15:59 ` Tapas Mishra
2010-10-05 18:44 ` Stuart D. Gathman
2010-10-05 19:23 ` Tapas Mishra
2010-10-05 19:33 ` Stuart D. Gathman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).