[OmniOS-discuss] mount/create volume lu from snapshot

Geoff Nordli geoffn at gnaa.net
Mon Dec 22 20:41:00 UTC 2014


On 14-12-22 11:24 AM, Rune Tipsmark wrote:
> hi Dan,
>
> tried that, get data file error.
>
> I tried zfs list and found my snapshot
>
> pool01/PHTVOL01 at 1419269859_repli_zfs_zfs20_nr_4
>
> then stmfadm create-lu pool01/PHTVOL01 at 1419269859_repli_zfs_zfs20_nr_4
>
> doesn't work...  also tried pool01/PHTVOL01, no luck either.
>
> which file do I need to use?
>
> br,
> Rune
>
> ________________________________________
> From: Dan McDonald <danmcd at omniti.com>
> Sent: Monday, December 22, 2014 8:07 PM
> To: Rune Tipsmark
> Cc: omnios-discuss at lists.omniti.com
> Subject: Re: [OmniOS-discuss] mount/create volume lu from snapshot
>
>> On Dec 22, 2014, at 1:59 PM, Rune Tipsmark <rt at steait.net> wrote:
>>
>> hi all,
>>
>> I have two omnios boxes and zfs replication going between the two every 30 min.
>>
>> I am replicating a volume lu pool01/vol01 from hostA to hostB
>>
>> how can I mount this or create a volume lu out of it on my destination box?
>>
> "stmfadm create-lu" does this for a given zvol.
>
> Read the stmfadm(1M) man page for more details.
>
> Dan
>
> ____________

Rune, you are going to need to create a zfs clone of the snapshot before 
you create the lun.

Geoff





More information about the OmniOS-discuss mailing list