Merge lp://staging/~a.skwar/mylvmbackup/zfs into lp://staging/mylvmbackup
Proposed by
Alexander Skwar
Status: | Needs review | ||||
---|---|---|---|---|---|
Proposed branch: | lp://staging/~a.skwar/mylvmbackup/zfs | ||||
Merge into: | lp://staging/mylvmbackup | ||||
To merge this branch: | bzr merge lp://staging/~a.skwar/mylvmbackup/zfs | ||||
Related bugs: |
|
||||
Related blueprints: |
mylvmbackup; Using ZFS snapshots instead of LVM
(Undefined)
Ask the MySQL Server for the data directory
(Undefined)
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Lenz Grimmer | Pending | ||
Review via email: mp+1231@code.staging.launchpad.net |
To post a comment you must log in.
Unmerged revisions
- 88. By Alexander Skwar
-
Make use of the calculated snapsize in a functioning way...
- 87. By Alexander Skwar
-
Don't force lvsize to be a % value.
- 86. By Alexander Skwar
-
Add ZFS snapshot support
Just some personal comments on Skwar's rev86 branch proposal:
* The idea here, as I understand it, is to be able to create a snapshot of all relevant data necessary to facilitate a "full backup". If you only backup the "DataDir", then you miss out on binlogs, error logs, relaylogs, innodb logs, etc. For us, its simply best to backup the entire "root" mysql dir, /var/lib/mysql/ Inside that we have better organized directories for each aspect of mysql.
* Changing the snapshot size to a percentage won't work for us. Our customers (over 200) all have varying sizes of HD partitions. Some are 2TB, some are 100GB. In all cases, we only allocate 10GB for snapshot space; there isn't any need for more space. Changing to a percentage would, on most servers, cause the script to fail as being unable to allocate space for the snapshot. Perhaps this setting could be changed so that if the last character in the string is '%' it does a percentage or 'G' and it does a fixed size?
* lines 848-859 of r86 confuse me. I've never used ZFS before so cannot speak on its behalf. But I have and do use LVM. You cannot create a snapshot of a specific directory under LVM. You can only snapshot entire logical volumes.The lines mentioned seem to attempt to create multiple snaps of individual directories which is not possible with LVM.
* same goes for lines 981-993. With LVM, there would only be 1 snapshot volume.