Re: mdadm: bitmap size

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

 



On Friday May 19, ste@xxxxxxxxxxxx wrote:
> Hi all, i have this problem:
> 
> I am going to do raid 1 over two virtual devices. These virtual devices 
> are two hard disks situated on other two servers.
> 
> The problem is:
> A network failure could happen often, and if it happen, i don't want to 
> recover all the disks. I want to recover just last changed things.
> 
> As i can see the bitmap do exactly this, but the default bitmap is too 
> small!

Why do you say that?
Are you using an internal bitmap, or a bitmap in a separate file?

> There is no problem to have a bitmap file of 1 Gb, but i can't find the 
> way to tell to mdadm the size to use for the bitmap file.

The only way to control the size of the bitmap is the change the
bitmap chunk size.
Warning: if you have more than 1 million bits in the bitmap, the
kernel may fail in memory allocation and may not be able to assemble
your array.

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