* block mapping
@ 2011-09-29 13:35 Kasatkin, Dmitry
2011-09-29 13:42 ` Zdenek Kabelac
2011-09-29 13:55 ` Christoph Hellwig
0 siblings, 2 replies; 7+ messages in thread
From: Kasatkin, Dmitry @ 2011-09-29 13:35 UTC (permalink / raw)
To: dm-devel
Hello All,
I would like to implement such block device, which can store
additional information along with the block data.
For example. so if file system has 4k block, I would like to store
4k+256b of additional information...
Can such block device be implemented with device mapper?
Thank you,
Dmitry
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: block mapping
2011-09-29 13:35 block mapping Kasatkin, Dmitry
@ 2011-09-29 13:42 ` Zdenek Kabelac
2011-09-29 14:10 ` Kasatkin, Dmitry
2011-09-29 13:55 ` Christoph Hellwig
1 sibling, 1 reply; 7+ messages in thread
From: Zdenek Kabelac @ 2011-09-29 13:42 UTC (permalink / raw)
To: device-mapper development
Dne 29.9.2011 15:35, Kasatkin, Dmitry napsal(a):
> Hello All,
>
> I would like to implement such block device, which can store
> additional information along with the block data.
> For example. so if file system has 4k block, I would like to store
> 4k+256b of additional information...
>
> Can such block device be implemented with device mapper?
>
Yes - i.e.the old snapshot target stores the block and it's remapping info
(thought the size info is much smaller then 256b)
Zdenek
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: block mapping
2011-09-29 13:35 block mapping Kasatkin, Dmitry
2011-09-29 13:42 ` Zdenek Kabelac
@ 2011-09-29 13:55 ` Christoph Hellwig
2011-09-29 14:08 ` Kasatkin, Dmitry
1 sibling, 1 reply; 7+ messages in thread
From: Christoph Hellwig @ 2011-09-29 13:55 UTC (permalink / raw)
To: device-mapper development
On Thu, Sep 29, 2011 at 04:35:44PM +0300, Kasatkin, Dmitry wrote:
> Hello All,
>
> I would like to implement such block device, which can store
> additional information along with the block data.
> For example. so if file system has 4k block, I would like to store
> 4k+256b of additional information...
>
> Can such block device be implemented with device mapper?
Given your other recent posts you probably want to take a look at
dm-verity:
http://selinuxproject.org/~jmorris/lss2011_slides/LSS_11_Integrity_checked_block_devices.pdf
(even if that's not strictly what you are asking for here)
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: block mapping
2011-09-29 13:55 ` Christoph Hellwig
@ 2011-09-29 14:08 ` Kasatkin, Dmitry
0 siblings, 0 replies; 7+ messages in thread
From: Kasatkin, Dmitry @ 2011-09-29 14:08 UTC (permalink / raw)
To: device-mapper development
On Thu, Sep 29, 2011 at 4:55 PM, Christoph Hellwig <hch@infradead.org> wrote:
> On Thu, Sep 29, 2011 at 04:35:44PM +0300, Kasatkin, Dmitry wrote:
>> Hello All,
>>
>> I would like to implement such block device, which can store
>> additional information along with the block data.
>> For example. so if file system has 4k block, I would like to store
>> 4k+256b of additional information...
>>
>> Can such block device be implemented with device mapper?
>
> Given your other recent posts you probably want to take a look at
> dm-verity:
>
> http://selinuxproject.org/~jmorris/lss2011_slides/LSS_11_Integrity_checked_block_devices.pdf
>
Yes... I know this..
That target stores integrity data on a separate block device.
I am looking to possibility to store data with the block...
Thanks
> (even if that's not strictly what you are asking for here)
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
>
--
dm-devel mailing list
dm-devel@redhat.com
https://www.redhat.com/mailman/listinfo/dm-devel
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: block mapping
2011-09-29 13:42 ` Zdenek Kabelac
@ 2011-09-29 14:10 ` Kasatkin, Dmitry
2011-09-29 14:19 ` Zdenek Kabelac
0 siblings, 1 reply; 7+ messages in thread
From: Kasatkin, Dmitry @ 2011-09-29 14:10 UTC (permalink / raw)
To: device-mapper development
Hello,
On Thu, Sep 29, 2011 at 4:42 PM, Zdenek Kabelac <zkabelac@redhat.com> wrote:
> Dne 29.9.2011 15:35, Kasatkin, Dmitry napsal(a):
>> Hello All,
>>
>> I would like to implement such block device, which can store
>> additional information along with the block data.
>> For example. so if file system has 4k block, I would like to store
>> 4k+256b of additional information...
>>
>> Can such block device be implemented with device mapper?
>>
>
> Yes - i.e.the old snapshot target stores the block and it's remapping info
> (thought the size info is much smaller then 256b)
>
1. Old snapshot target? Where is it...
2. Isn't it stores some data at the beginning of the block device - in
the header..
Like LUKS does with dm-crypt?
Thanks
> Zdenek
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: block mapping
2011-09-29 14:10 ` Kasatkin, Dmitry
@ 2011-09-29 14:19 ` Zdenek Kabelac
2011-09-29 14:27 ` Kasatkin, Dmitry
0 siblings, 1 reply; 7+ messages in thread
From: Zdenek Kabelac @ 2011-09-29 14:19 UTC (permalink / raw)
To: dm-devel
Dne 29.9.2011 16:10, Kasatkin, Dmitry napsal(a):
> Hello,
>
>
> On Thu, Sep 29, 2011 at 4:42 PM, Zdenek Kabelac <zkabelac@redhat.com> wrote:
>> Dne 29.9.2011 15:35, Kasatkin, Dmitry napsal(a):
>>> Hello All,
>>>
>>> I would like to implement such block device, which can store
>>> additional information along with the block data.
>>> For example. so if file system has 4k block, I would like to store
>>> 4k+256b of additional information...
>>>
>>> Can such block device be implemented with device mapper?
>>>
>>
>> Yes - i.e.the old snapshot target stores the block and it's remapping info
>> (thought the size info is much smaller then 256b)
>>
>
> 1. Old snapshot target? Where is it...
>
kernel/drivers/md/dm-snap-persistent.c
> 2. Isn't it stores some data at the beginning of the block device - in
> the header..
A bit more complicated that this - but yes, quite straightforward target.
Zdenek
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: block mapping
2011-09-29 14:19 ` Zdenek Kabelac
@ 2011-09-29 14:27 ` Kasatkin, Dmitry
0 siblings, 0 replies; 7+ messages in thread
From: Kasatkin, Dmitry @ 2011-09-29 14:27 UTC (permalink / raw)
To: device-mapper development
On Thu, Sep 29, 2011 at 5:19 PM, Zdenek Kabelac <zkabelac@redhat.com> wrote:
> Dne 29.9.2011 16:10, Kasatkin, Dmitry napsal(a):
>> Hello,
>>
>>
>> On Thu, Sep 29, 2011 at 4:42 PM, Zdenek Kabelac <zkabelac@redhat.com> wrote:
>>> Dne 29.9.2011 15:35, Kasatkin, Dmitry napsal(a):
>>>> Hello All,
>>>>
>>>> I would like to implement such block device, which can store
>>>> additional information along with the block data.
>>>> For example. so if file system has 4k block, I would like to store
>>>> 4k+256b of additional information...
>>>>
>>>> Can such block device be implemented with device mapper?
>>>>
>>>
>>> Yes - i.e.the old snapshot target stores the block and it's remapping info
>>> (thought the size info is much smaller then 256b)
>>>
>>
>> 1. Old snapshot target? Where is it...
>>
>
> kernel/drivers/md/dm-snap-persistent.c
>
>
>> 2. Isn't it stores some data at the beginning of the block device - in
>> the header..
>
> A bit more complicated that this - but yes, quite straightforward target.
>
Thanks
>
> Zdenek
>
> --
> dm-devel mailing list
> dm-devel@redhat.com
> https://www.redhat.com/mailman/listinfo/dm-devel
>
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-09-29 14:27 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-29 13:35 block mapping Kasatkin, Dmitry
2011-09-29 13:42 ` Zdenek Kabelac
2011-09-29 14:10 ` Kasatkin, Dmitry
2011-09-29 14:19 ` Zdenek Kabelac
2011-09-29 14:27 ` Kasatkin, Dmitry
2011-09-29 13:55 ` Christoph Hellwig
2011-09-29 14:08 ` Kasatkin, Dmitry
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.