Re: Write intent bitmaps

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Leslie Rhorer" <lrhorer@xxxxxxxxxxx> writes:

>> >  >5. What happens if the bitmap is lost or the external drive fills up?
>> >
>> > No idea.
>> 
>> If the bitmap is lost, it is just as though you didn't have a bitmap
>> (or as though all the bits in the bitmap were set to one).
>
> 	OK, what about the thread in this list where (as I recall) the
> fellow's bitmap was corrupted or lost and it evidently caused the entire
> array to go splat?  That's worrisome.
>
>> The drive filling up is not relevant.  When the bitmap is in a
>> separate file, the file is preallocated to be the right size.
>
> 	Let me take a little different tack.  I don't have any ext2 or ext3
> file systems on the server.  If I am going to set up an external bitmap, I
> am going to have to steal some space from one of the other file systems -
> perhaps from the swap area (5G), the boot file system (reiserfs - 109G), or
> the Windows XP filesystem (NTFS - 40G).  I need to be able to calculate how
> much space to steal to fit the bitmap, and allow for later expansion.

That is pretty flexible and the size is miniscule. For example my big
raid5 with internal bitmap has

      bitmap: 0/233 pages [0KB], 2048KB chunk

That is slightly less than 1MB. With 512MB bitmap I could do 4KB
chunks but from a few tests a larger chunk size is better for me.

MfG
        Goswin
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux