Can ZFS be setup for redundancy of my entire OS (Ubuntu 16) and data?
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
up vote
1
down vote
favorite
I'm planning to do redundancy backup for my office server running Ubuntu 14 and the ZFS option came up in my research. To my understanding, hardware raid (RAID1) creates a full clone (mirror) of my disk on another disk, therefore having two exact copies running. If one fails I can just swap the failed disk and it will just rebuild another copy to the new disk. Can I set up the same function with ZFS?
From what I've read, I'm not so sure that the OS is part of the created zpool. What if the disk fails with the OS in it?
server backup raid zfs
add a comment |Â
up vote
1
down vote
favorite
I'm planning to do redundancy backup for my office server running Ubuntu 14 and the ZFS option came up in my research. To my understanding, hardware raid (RAID1) creates a full clone (mirror) of my disk on another disk, therefore having two exact copies running. If one fails I can just swap the failed disk and it will just rebuild another copy to the new disk. Can I set up the same function with ZFS?
From what I've read, I'm not so sure that the OS is part of the created zpool. What if the disk fails with the OS in it?
server backup raid zfs
Yes: ZFS calls it RAID-Z1, RAID-Z2 and RAID-Z3 (those are similar to RAID-5 (allows for 1 disk failing), 6 (same for 2 disks) and 7 (same for 3 disks )) and "Striped VdevâÂÂs" (= RAID-0/mirroring what you are asking about) . If you plan to use 5+ Tb disks rebuilding can take weeks ;) Oh, and RAID is not a replacement for a backup (the title would assume you think that that is the case).
â Rinzwind
Feb 21 at 9:40
Thanks for that answer. Any installation links i could try for this setup?
â airzoink
Feb 21 at 9:48
Guess why I did not make it an answer? No, I do not. That was all I know about ZFS because we once had a discussion about it for our internal machines but we opted for cloud servers :-D
â Rinzwind
Feb 21 at 9:52
add a comment |Â
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I'm planning to do redundancy backup for my office server running Ubuntu 14 and the ZFS option came up in my research. To my understanding, hardware raid (RAID1) creates a full clone (mirror) of my disk on another disk, therefore having two exact copies running. If one fails I can just swap the failed disk and it will just rebuild another copy to the new disk. Can I set up the same function with ZFS?
From what I've read, I'm not so sure that the OS is part of the created zpool. What if the disk fails with the OS in it?
server backup raid zfs
I'm planning to do redundancy backup for my office server running Ubuntu 14 and the ZFS option came up in my research. To my understanding, hardware raid (RAID1) creates a full clone (mirror) of my disk on another disk, therefore having two exact copies running. If one fails I can just swap the failed disk and it will just rebuild another copy to the new disk. Can I set up the same function with ZFS?
From what I've read, I'm not so sure that the OS is part of the created zpool. What if the disk fails with the OS in it?
server backup raid zfs
server backup raid zfs
edited Feb 23 at 20:01
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
![](https://i.stack.imgur.com/8CW8e.png?s=32&g=1)
Zanna
48.2k13120228
48.2k13120228
asked Feb 21 at 9:23
![](https://lh4.googleusercontent.com/-_hVnkgk43Tc/AAAAAAAAAAI/AAAAAAAAFFI/B6AZoNTRTl4/photo.jpg?sz=32)
![](https://lh4.googleusercontent.com/-_hVnkgk43Tc/AAAAAAAAAAI/AAAAAAAAFFI/B6AZoNTRTl4/photo.jpg?sz=32)
airzoink
62
62
Yes: ZFS calls it RAID-Z1, RAID-Z2 and RAID-Z3 (those are similar to RAID-5 (allows for 1 disk failing), 6 (same for 2 disks) and 7 (same for 3 disks )) and "Striped VdevâÂÂs" (= RAID-0/mirroring what you are asking about) . If you plan to use 5+ Tb disks rebuilding can take weeks ;) Oh, and RAID is not a replacement for a backup (the title would assume you think that that is the case).
â Rinzwind
Feb 21 at 9:40
Thanks for that answer. Any installation links i could try for this setup?
â airzoink
Feb 21 at 9:48
Guess why I did not make it an answer? No, I do not. That was all I know about ZFS because we once had a discussion about it for our internal machines but we opted for cloud servers :-D
â Rinzwind
Feb 21 at 9:52
add a comment |Â
Yes: ZFS calls it RAID-Z1, RAID-Z2 and RAID-Z3 (those are similar to RAID-5 (allows for 1 disk failing), 6 (same for 2 disks) and 7 (same for 3 disks )) and "Striped VdevâÂÂs" (= RAID-0/mirroring what you are asking about) . If you plan to use 5+ Tb disks rebuilding can take weeks ;) Oh, and RAID is not a replacement for a backup (the title would assume you think that that is the case).
â Rinzwind
Feb 21 at 9:40
Thanks for that answer. Any installation links i could try for this setup?
â airzoink
Feb 21 at 9:48
Guess why I did not make it an answer? No, I do not. That was all I know about ZFS because we once had a discussion about it for our internal machines but we opted for cloud servers :-D
â Rinzwind
Feb 21 at 9:52
Yes: ZFS calls it RAID-Z1, RAID-Z2 and RAID-Z3 (those are similar to RAID-5 (allows for 1 disk failing), 6 (same for 2 disks) and 7 (same for 3 disks )) and "Striped VdevâÂÂs" (= RAID-0/mirroring what you are asking about) . If you plan to use 5+ Tb disks rebuilding can take weeks ;) Oh, and RAID is not a replacement for a backup (the title would assume you think that that is the case).
â Rinzwind
Feb 21 at 9:40
Yes: ZFS calls it RAID-Z1, RAID-Z2 and RAID-Z3 (those are similar to RAID-5 (allows for 1 disk failing), 6 (same for 2 disks) and 7 (same for 3 disks )) and "Striped VdevâÂÂs" (= RAID-0/mirroring what you are asking about) . If you plan to use 5+ Tb disks rebuilding can take weeks ;) Oh, and RAID is not a replacement for a backup (the title would assume you think that that is the case).
â Rinzwind
Feb 21 at 9:40
Thanks for that answer. Any installation links i could try for this setup?
â airzoink
Feb 21 at 9:48
Thanks for that answer. Any installation links i could try for this setup?
â airzoink
Feb 21 at 9:48
Guess why I did not make it an answer? No, I do not. That was all I know about ZFS because we once had a discussion about it for our internal machines but we opted for cloud servers :-D
â Rinzwind
Feb 21 at 9:52
Guess why I did not make it an answer? No, I do not. That was all I know about ZFS because we once had a discussion about it for our internal machines but we opted for cloud servers :-D
â Rinzwind
Feb 21 at 9:52
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
First: RAID is not backup. It gives disk redundancy, so if a disk dies you can replace it without loosing data. If you delete a file it will be gone on all copies on disk. So, raid for handling disk issues, backup for handling corrupted or removed files.
That said, ZFS (and similar filesystems) have features like snapshot and clones that can act as (a part of) a backup solution. ZFS uses CopyOnWrite, so a snapshot don't take up any space before you start modifying the original filesystem. This is great for having online access to "yesterdays" copy - but to be safe, we also need a backup "off premise" in case of a catastrophic event where you loose the whole server - fire, theft or so.
As far as I remember Ubuntu can be set up to boot from ZFS too, but I havent tried it. Originally (on Solaris whare ZFS was born) it required a seperate Zpool - only mirrored - for root file system and one (or more) Zpool for other disks. But that might be different on Linux.
Yes, i think redundancy is the right word for what i am looking for. I'm already backed-up in the cloud. Thank you for your answer.
â airzoink
Feb 22 at 3:57
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
First: RAID is not backup. It gives disk redundancy, so if a disk dies you can replace it without loosing data. If you delete a file it will be gone on all copies on disk. So, raid for handling disk issues, backup for handling corrupted or removed files.
That said, ZFS (and similar filesystems) have features like snapshot and clones that can act as (a part of) a backup solution. ZFS uses CopyOnWrite, so a snapshot don't take up any space before you start modifying the original filesystem. This is great for having online access to "yesterdays" copy - but to be safe, we also need a backup "off premise" in case of a catastrophic event where you loose the whole server - fire, theft or so.
As far as I remember Ubuntu can be set up to boot from ZFS too, but I havent tried it. Originally (on Solaris whare ZFS was born) it required a seperate Zpool - only mirrored - for root file system and one (or more) Zpool for other disks. But that might be different on Linux.
Yes, i think redundancy is the right word for what i am looking for. I'm already backed-up in the cloud. Thank you for your answer.
â airzoink
Feb 22 at 3:57
add a comment |Â
up vote
1
down vote
First: RAID is not backup. It gives disk redundancy, so if a disk dies you can replace it without loosing data. If you delete a file it will be gone on all copies on disk. So, raid for handling disk issues, backup for handling corrupted or removed files.
That said, ZFS (and similar filesystems) have features like snapshot and clones that can act as (a part of) a backup solution. ZFS uses CopyOnWrite, so a snapshot don't take up any space before you start modifying the original filesystem. This is great for having online access to "yesterdays" copy - but to be safe, we also need a backup "off premise" in case of a catastrophic event where you loose the whole server - fire, theft or so.
As far as I remember Ubuntu can be set up to boot from ZFS too, but I havent tried it. Originally (on Solaris whare ZFS was born) it required a seperate Zpool - only mirrored - for root file system and one (or more) Zpool for other disks. But that might be different on Linux.
Yes, i think redundancy is the right word for what i am looking for. I'm already backed-up in the cloud. Thank you for your answer.
â airzoink
Feb 22 at 3:57
add a comment |Â
up vote
1
down vote
up vote
1
down vote
First: RAID is not backup. It gives disk redundancy, so if a disk dies you can replace it without loosing data. If you delete a file it will be gone on all copies on disk. So, raid for handling disk issues, backup for handling corrupted or removed files.
That said, ZFS (and similar filesystems) have features like snapshot and clones that can act as (a part of) a backup solution. ZFS uses CopyOnWrite, so a snapshot don't take up any space before you start modifying the original filesystem. This is great for having online access to "yesterdays" copy - but to be safe, we also need a backup "off premise" in case of a catastrophic event where you loose the whole server - fire, theft or so.
As far as I remember Ubuntu can be set up to boot from ZFS too, but I havent tried it. Originally (on Solaris whare ZFS was born) it required a seperate Zpool - only mirrored - for root file system and one (or more) Zpool for other disks. But that might be different on Linux.
First: RAID is not backup. It gives disk redundancy, so if a disk dies you can replace it without loosing data. If you delete a file it will be gone on all copies on disk. So, raid for handling disk issues, backup for handling corrupted or removed files.
That said, ZFS (and similar filesystems) have features like snapshot and clones that can act as (a part of) a backup solution. ZFS uses CopyOnWrite, so a snapshot don't take up any space before you start modifying the original filesystem. This is great for having online access to "yesterdays" copy - but to be safe, we also need a backup "off premise" in case of a catastrophic event where you loose the whole server - fire, theft or so.
As far as I remember Ubuntu can be set up to boot from ZFS too, but I havent tried it. Originally (on Solaris whare ZFS was born) it required a seperate Zpool - only mirrored - for root file system and one (or more) Zpool for other disks. But that might be different on Linux.
answered Feb 21 at 10:25
Soren A
3,0681724
3,0681724
Yes, i think redundancy is the right word for what i am looking for. I'm already backed-up in the cloud. Thank you for your answer.
â airzoink
Feb 22 at 3:57
add a comment |Â
Yes, i think redundancy is the right word for what i am looking for. I'm already backed-up in the cloud. Thank you for your answer.
â airzoink
Feb 22 at 3:57
Yes, i think redundancy is the right word for what i am looking for. I'm already backed-up in the cloud. Thank you for your answer.
â airzoink
Feb 22 at 3:57
Yes, i think redundancy is the right word for what i am looking for. I'm already backed-up in the cloud. Thank you for your answer.
â airzoink
Feb 22 at 3:57
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1008313%2fcan-zfs-be-setup-for-redundancy-of-my-entire-os-ubuntu-16-and-data%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Yes: ZFS calls it RAID-Z1, RAID-Z2 and RAID-Z3 (those are similar to RAID-5 (allows for 1 disk failing), 6 (same for 2 disks) and 7 (same for 3 disks )) and "Striped VdevâÂÂs" (= RAID-0/mirroring what you are asking about) . If you plan to use 5+ Tb disks rebuilding can take weeks ;) Oh, and RAID is not a replacement for a backup (the title would assume you think that that is the case).
â Rinzwind
Feb 21 at 9:40
Thanks for that answer. Any installation links i could try for this setup?
â airzoink
Feb 21 at 9:48
Guess why I did not make it an answer? No, I do not. That was all I know about ZFS because we once had a discussion about it for our internal machines but we opted for cloud servers :-D
â Rinzwind
Feb 21 at 9:52