RE: Write intent bitmaps

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

 



> >  >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.

> >  >If so, would ext2 probably be the best choice?
> >
> > That's what the man page says. I find it strange since if it's a file
> > the filesystem shouldn't matter. Neil?
> 
> The way that md writes to the bitmap file is not entirely portable
> across different filesystems.  As the man page say,  it is known to
> work for ext2 and ext3.  Either is a fine choice.

	I'm fine with shrinking one of the existing file systems and
creating a tiny partition just for the bitmap.


--
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