0 Members and 1 Guest are viewing this topic.
sudo add-apt-repository ppa:zfs-native/stableapt-get update && apt-get install ubuntu-zfs
zpool create vols mirror /dev/sda /dev/sdb # modify device names as appropriate
zpool create vols raidz2 /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf
zfs create vols/homezfs create vols/backups
zfs snapshot vols/[email protected]
zfs send vols/[email protected] | zfs receive -f vols/backups
zfs send vols/[email protected] | ssh [email protected] zfs receive -d vols/backups
zfs snapshot vols/[email protected]zfs send -i vols/[email protected] vols/[email protected] | ssh [email protected] receive -d vols/backups
# zfs listNAME USED AVAIL REFER MOUNTPOINTvols 749G 2.79T 61.9K /volsvols/backups 616G 2.79T 616G /vols/backupsvols/disks 8.25G 2.79T 53.9K /vols/disksvols/disks/swap 8.25G 2.80T 40.0K -vols/home 40.7G 2.79T 40.7G /vols/homevols/images 84.0G 2.79T 84.0G /vols/images
# zpool status pool: vols state: ONLINE scan: scrub repaired 0 in 1h20m with 0 errors on Mon Apr 23 12:17:02 2012config: NAME STATE READ WRITE CKSUM vols ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 scsi-SATA_SAMSUNG_HD103SJS246J90ZA22486-part3 ONLINE 0 0 0 scsi-SATA_SAMSUNG_HD103SJS246J9CB121450-part3 ONLINE 0 0 0 scsi-SATA_SAMSUNG_HD103SJS246J9KB415896-part3 ONLINE 0 0 0 scsi-SATA_SAMSUNG_HD103SJS246J9KB415897-part3 ONLINE 0 0 0 scsi-SATA_SAMSUNG_HD103SJS246J9KB415898-part3 ONLINE 0 0 0 scsi-SATA_SAMSUNG_HD103SJS246J9KB427162-part3 ONLINE 0 0 0errors: No known data errors
I suppose I'm asking if there are times/uses where you WOULDN'T consider ZFS the next generation file system of choice .. as I'm guessing that was BkS's real question ?
Lieutenant Commander Data: And for a time, I was tempted by her offer. Captain Jean-Luc Picard: How long a time? Lieutenant Commander Data: 0.68 seconds sir. For an android, that is nearly an eternity.
zfs replace <volume> <faulty device> <hot spare device>
All an installer has to go is add the PPA and apt-get ubuntu zfs .. legally I can conceive of no difference between a user doing this themselves and an installer doing it for them at their request ...