Let me preface by saying that I've been a unix administrator off and on for decades. I haven't spent much time with ubuntu. Perhaps that was the problem.
I've been running solaris 10 and 11 on some servers solely to support some zfs filesystems at home for various archives. I'm kinda tired of solaris and it's implementation of smb, so I wanted to move to something "easier" and newer. So I read a bit on linux with zfs and toss my hat into the ubuntu crowd.
I was totally unprepared for the adventure.
I installed the desktop OS. Where's the dang terminal app? Can't find it. Spent a couple minutes searching. Found out how to start up a terminal session. Could it be more difficult to start a terminal window? Maybe. Why make it so hard?
I punted the desktop and installed the server OS. Terminal is easy to find. Nice.
I read the ubuntu zfs page https://launchpad.net/~zfs-native/+archive/stable and tried to see which build of zfs I need. I'm running Ubuntu 12. So I'm looking for the build for ubuntu 12. Nowhere during the download or install have I seen these names in the drop-down to select my release: "Raring, Quantal, Precise,.." until now. WTH are those? I'm looking for 12. How hard is it to say "10, 11, 12"...? Couple minutes more trying to figure out what those words mean. Finally figure out that I need Quantal. Ok. I select Quantal. I feel like I'm getting somewhere. On https://launchpad.net/~zfs-native/+archive/stable?field.series_filter=quantal I see "You can update your system with unsupported packages from this untrusted PPA by adding ppa:zfs-native/stable to your system's Software Sources. (Read about installing)"
Ok, lemme see how to do that...
This page says use deb to install the package: I dutifully use deb:
[EMAIL="brad@ubuntu:~$"]brad@ubuntu:~$[/EMAIL] sudo deb http://ppa.launchpad.net/zfs-native/stable/ubuntu sudo: deb: command not found [EMAIL="brad@ubuntu:~$"]brad@ubuntu:~$[/EMAIL] sudo find / -name deb 2>/dev/null [EMAIL="brad@ubuntu:~$"]brad@ubuntu:~$[/EMAIL]
no deb.
hrm.
Another hint: [h=2]Adding this PPA to your system[/h]You can update your system with unsupported packages from this untrusted PPA by adding ppa:zfs-native/stable to your system's Software Sources. (Read about installing)
I get sent here: https://launchpad.net/+help-soyuz/ppa-sources-list.html
It says: Step 2: Open a terminal and enter: sudo add-apt-repository ppa:user/ppa-name Replace ppa:user/ppa-name with the PPA's location that you noted above.
I dutifully enter "sudo add-apt-repository http://ppa.launchpad.net/zfs-native/stable/ubuntu"
sudo: add-apt-repository: command not found
Where's add-apt-repository?
[EMAIL="brad@ubuntu:~$"]brad@ubuntu:~$[/EMAIL] find / -name add-apt-repository 2>/dev/null [EMAIL="brad@ubuntu:~$"]brad@ubuntu:~$[/EMAIL]
no add-apt-repository
hrm.
Searching, I find:
http://ubuntuforums.org/showthread.php?t=1971357
I need to install add-apt-repository
sudo apt-get install software-properties-common
then...
sudo apt-get install python-software-properties
ok, now I have add-apt-repositories!
A little more fumbling around figuring out that I now need to run:
[EMAIL="brad@ubuntu:~$"]brad@ubuntu:~$[/EMAIL] sudo apt-get install ubuntu-zfs
Nowhere in any documentation on how to install zfs for ubuntu 12 do I find any mention of "apt-get install"
Quite the twisty maze of passages to decipher all of this.
let's see how this goes. The kernel is still building.
Let me just say that the people that bust it to get this software working are awesome. The time spent and the problems solved is quite impressive. But... Every time I dip my toes into open software, it's like herding cats. Every release, something major changes, rendering 90% of the "how-to" blogs obsolete. Just basic sysadmin tasks change so often, it's like you need an encylopedia to install patches. "Red hat do this. Ubuntu do this. CENTOS do this. and on and on."
Linux is kicking some microsoft and apple butt. These types of experiences push a lot of people away. I want a toaster. Plug it in. Push the button. Toast comes out. That's what my Mac is like: It's for editing video and sequencing music.
hopefully some day the compexity will become so great that things become quite simple.
regards
YAY this is getting somewhere...
[EMAIL="brad@ubuntu:~$"]brad@ubuntu:~$[/EMAIL] sudo zpool create -f galaxy raidz2 /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh /dev/sdi [EMAIL="brad@ubuntu:~$"]brad@ubuntu:~$[/EMAIL] sudo zpool status pool: galaxy state: ONLINE scan: none requested config: NAME STATE READ WRITE CKSUM galaxy ONLINE 0 0 0 raidz2-0 ONLINE 0 0 0 sdb ONLINE 0 0 0 sdc ONLINE 0 0 0 sdd ONLINE 0 0 0 sde ONLINE 0 0 0 sdf ONLINE 0 0 0 sdg ONLINE 0 0 0 sdh ONLINE 0 0 0 sdi ONLINE 0 0 0 errors: No known data errors [EMAIL="brad@ubuntu:~$"]brad@ubuntu:~$[/EMAIL] df -h Filesystem Size Used Avail Use% Mounted on /dev/mapper/ubuntu-root 28G 1.5G 25G 6% / udev 989M 4.0K 989M 1% /dev tmpfs 400M 484K 399M 1% /run none 5.0M 0 5.0M 0% /run/lock none 999M 0 999M 0% /run/shm /dev/sda1 228M 27M 190M 13% /boot galaxy 8.1T 0 8.1T 0% /galaxy [EMAIL="brad@ubuntu:~$"]brad@ubuntu:~$[/EMAIL]
success. Now for some testing and smb...