[lkml]   [2008]   [Oct]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectFile as generic block-device?
Hi all,

I have a project where I require to treat a file as a block-device
(specifically, I want a file on an ext3 fs to act as one of the
raid-members in a md-based stripe-set. I know that I can make a
/filesystem/ on a file because both mkfs and mount (with -o loop) will
accept a file as a block-device, but I have found no such function for
mdadm, and am thus asking for a kernel-internal way to re-plug a file
into the block-device layer.

Is this possible?

My current platform i CentOS5, a RHEL5 rebuild (modified 2.6.18-kernel).

Simen Thoresen - Dolphin ICS Systems Administrator

 \ /
  Last update: 2008-10-22 15:23    [W:0.043 / U:1.064 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site