Re: Backups using RAID1

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

 



Robin Hill wrote:
> Ideally you should unmount the array before failing & removing the
> drive.  If this is not possible then pick a time when the IO is likely
> to be low - there's always going be a risk of corruption (especially
> with something like a database), but modern journalling filesystems
> usually cope with this okay.


If you can't unmount then essentially you want to snapshot the
filesystem/databases - some provide facilities for this.

xfs_freeze springs to mind.

At the very least you could do
sync;mdadm --fail
but that's playing with fire...

David

-- 
"Don't worry, you'll be fine; I saw it work in a cartoon once..."
--
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