<p><br>
> > except, the whole reason to do this was to get ZFS, and<br>
> > <a href="http://zfsonlinux.org/debian.html">http://zfsonlinux.org/debian.html</a> has a simple couple steps to do, and<br>
> > everything would be fine... except, it works on amd64, not x86 and<br>
> > this system was previously an Atom, so I had it as x86.</p>
<p>Is ZFS on Linux kernel based or is it something like ntfs3g?</p>
<p>If its the later, wouldn't it be better to use freeBSD? I think freeBSD is more friendly to ZFS and hence unlikely to have it broken by updates. <br></p>
<p>William <br>
><br>
> Careful with the SSD & ZFS (and Linux). You definitely don't want swap<br>
> on it, and minimizing the number of writes is something to work toward.<br>
> If you get your SSD into your zpools without noticing, you can wear out<br>
> the drive unless you use it intentionally.<br>
><br>
> > It took me a long time to figure this out.<br>
> >           apt-get install debian-zfs<br>
> > politely says:<br>
> >     Package debian-zfs is not available, but is referred to by another package.<br>
> >     This may mean that the package is missing, has been obsoleted, or<br>
> >     is only available from another source<br>
> ><br>
> >     E: Package 'debian-zfs' has no installation candidate<br>
> ><br>
> > Eventually, I figured out that this meant that it is not available FOR<br>
> > THIS ARCH!  In the meantime, I wondered if I'd set up the sources.list<br>
> > wrong, or had a corrupt apt database, etc.<br>
> ><br>
> > So now I need to move to amd64.  I found a convient page:<br>
> > <a href="http://wiki.debian.org/Migrate32To64Bit">http://wiki.debian.org/Migrate32To64Bit</a> but the first step is to<br>
> > download a 64-bit kernel, so I try:<br>
> >         apt-get install linux-image-3.2.0-4-amd64<br>
> > with similar results to before.  So I try<br>
> > <a href="http://packages.debian.org/wheezy/linux-image-amd64">http://packages.debian.org/wheezy/linux-image-amd64</a> to download, but<br>
> > the file it points to is 5Kb long.<br>
><br>
> Here's the package that you wanted: the link above is a meta-package<br>
> that always ensures the latest version of the kernel is installed.<br>
><br>
> <a href="http://packages.debian.org/wheezy/linux-image-3.2.0-4-amd64">http://packages.debian.org/wheezy/linux-image-3.2.0-4-amd64</a><br>
><br>
> > Sigh... I like debian, I really do, but there's sometimes too much<br>
> > magic going on for those of us who only actually poke at it every few<br>
> > months.<br>
> ><br>
> > Thanks for any guidance.  I'd really like to get this running.  (And<br>
> > I'd like to install parted, but I get the same message there as<br>
> > before).<br>
><br>
> You'd have this issue with any distro trying to upgrade from 32 to 64bit<br>
> in place. Here's my suggestion in general steps (do a backup, and plan<br>
> each step first!):<br>
><br>
> dpkg --get-selections > /media/USB-STICK<br>
><br>
> Now you have two options: since you have a backup, boot a Debian<br>
> installer and do a clean install, or; boot up a livecd, rm everything<br>
> except /etc /home /opt /var (any other locations that you use, leave in<br>
> place.<br>
><br>
> Boot the Debian installer. If you are going to restore from your backup,<br>
> wipe your target disk. If you are installing in place, DO NOT FORMAT THE<br>
> EXISTING DISK (but you have a backup anyways).<br>
><br>
> I'm guessing you want to install to the SSD, in which case point the<br>
> installer there. Don't partition it with swap unless you plan to limit<br>
> your system's use thereof somehow. Put your swap on a spinning disk<br>
> unless you know what you're doing.<br>
><br>
> Important in the installer is that you choose the default for packages<br>
> (don't select any). You can leave your TB disks alone for ZFS since<br>
> you'll use zpool to handle those.<br>
><br>
> Boot up the new install, update all the packages using apt-get/aptitude.<br>
> Then the magic:<br>
><br>
> dpkg --set-selections < /media/USB-STICK<br>
> apt-get -u dselect-upgrade<br>
><br>
> The last part will take the list of packages from your old 32bit<br>
> version, and then run apt-get to install packages until the new system<br>
> matches those packages specified.<br>
><br>
> Search around a bit for strategies on using dpkg --get and<br>
> --set-selections.<br>
><br>
> I think you'll find a clean install to the SSD and then a quick restore<br>
> from your backup of any data is easiest. After all you have a SATA2/3<br>
> motherboard, it won't take long, and you are guaranteed with a nice<br>
> clean new 64bit system for ZFS ;)<br>
><br>
> (Question: how much ram do you have for this system? If you use<br>
> deduplication you're looking at 6-8GB  per TB of data depending on your<br>
> read/write ratio. Something to keep in mind. Stick with compression<br>
> first, get a handle on that and see if it fits your needs, then if<br>
> you're interested and have a use case, try dedup)<br>
><br>
> More good reading here:<br>
> <a href="http://pthree.org/2012/12/04/zfs-administration-part-i-vdevs/">http://pthree.org/2012/12/04/zfs-administration-part-i-vdevs/</a><br>
><br>
> And here <a href="http://www.cuddletech.com/blog/pivot/entry.php?id=983">http://www.cuddletech.com/blog/pivot/entry.php?id=983</a><br>
><br>
> Jamon<br>
><br>
> --<br>
> The Toronto Linux Users Group.      Meetings: <a href="http://gtalug.org/">http://gtalug.org/</a><br>
> TLUG requests: Linux topics, No HTML, wrap text below 80 columns<br>
> How to UNSUBSCRIBE: <a href="http://gtalug.org/wiki/Mailing_lists">http://gtalug.org/wiki/Mailing_lists</a><br>
</p>