This lab is the first is a series of labs for oracle solaris 11. After being upgraded, these pools will no longer be accessible by older software versions. In solaris 11, the os command devlinks which used to add dev entries stalled for. Growing disks for virtual machines have become pretty trivial with tools like livecds and gparted. Upgrading zfs storage pools managing zfs file systems in. Take a look at zfs zetabyte file system on oracle solaris 11 and see how easy it is to create striped arrays, mirrorored arrays and striping with parity. Solaris 11 doesnt provide a direct way to set ashift unlike mostall other newer zfs implementations, ive read. No download pkgs files xfer mb speed completed 7373 20182018 99. Openzfs edit in openzfs, the pool version is permanently set to 5000, signifying that the pool indicates new features by setting or unsetting zfs. If the zpool is mirrored, make sure that you are running the installgrub for both the disks.
Using oracle solaris live upgrade to migrate or upgrade a system with zones at least solaris 10 509. Solaris live upgrade makes it possible to create an alternate boot environment with the upgraded software while the machine continues to. Chapter 11 oracle solaris zfs troubleshooting and pool recovery. These solaris servers still have mostly ufs file systems. Ver pool 14 storage use zpool upgrade v for a list of available versions and their associated features. Solaris 11 creating and maintaining zfs pools the urban. In order to do that, lets create a pool using an older version number yes, you can do that too, and then upgrade the pool.
A while back, we added a new 2 tb lun from the san to one of the servers and started using it as a zpool with one zfs file system defined on it really simple. Here is the command to see the maximum zfs version supported on this machine. Once this is done, the pool will no longer be accessible on older software versions. Adding a physical disk as a mirror to an existing zpool. How to find zpool version and filesystem version in solaris. Instead, ill dive straight in and tell you that its great as an allinone storage and virtualization server, despite only being branded as the latter. Here we are mainly focusing on zfs deduplication and zfs encryption mechanisms. Please note that this requires a reboot of the system. This feature can be used to increase the size of rpool. With an active oracle support agreement, connecting to the oracle solaris 11 supported repository is easy and provides you with a regular channel for system updates to help keep systems secure and free of issues. I had a zpool which was running on 2 mirrored 3tb disks. Now that we have the base release of solaris 11 in our repo, apply it the latest updates. System administrators can patch a system image rapidly without impacting the boot. I created the file with dd ifdevzero of bs1048576 count100 2.
In this article i will provide solution how to migrate data between different storage luns inrange one zfs pool in solaris 10. The zpools for luns are currently at version 10, and i understand solaris v10 910 has support for zfs v4, zpool versions upto 22. But you need to consider lot of things prior the zpool upgrade. For backing up the data, you create snapshots, as well as use zfs sendreceive commands. Upgrading the zfs filesystem and zpool versions is a oneway operation. Take one of the mirrored drives and stick it on another machine, boot from a solaris 11. Patching and upgrading your cluster managing your oracle. In this lab, you will learn how to install the oracle solaris 11. It is simple to upgrade an existing pool, adding the new functionality.
Introduction solaris 11 ips repository is manadatory for an organization to keep the solaris 11 x86 and sparc servers updated with latest os patches. Create two virtualbox guests, each to run solaris 11. Recently we found that 2 tb wasnt enough, so we extended the lun from 2 tb to 3 tb. Solaris live upgrade software enables the operating system to continue to run while upgrades, patch installations, or routine maintenance operations are performed. On october 31st i upgraded the system to solaris 11. Solaris 10 uses the live upgrade tools and solaris 11 uses the beadm tools. After that, if you have a valid support contract, you could download from my oracle support, consulting the oracle solaris 11.
For solaris 11, you no need to run installgrub command. Upgrading solaris what happens to zpoolzfs versions. Tried this to update from solaris 11 express build 151a, and it did not work maybe i should do a clean install. Recently i had to grow my solaris 11 disk from 16gb to 20gb. The bit about setting a static ip address is definitely wrong. All of the labs in the series have these prerequisites in common. Oracle is continuously developing zfs and they brought some of the nice features in to solaris 11 zfs. The first boot after live upgrade to new version of solaris 11 and vxvm takes long time since post installation stalled for a long time. The pool is formatted using an older ondisk format. That last number in the fun facts is interesting because that number is a small subset of applications that will run on oracle solaris 11. Zfs patching with zones using lu liveupgrade in solaris. If you have zfs storage pools from a previous solaris release, such as the solaris 10 1009 release, you can upgrade your pools with the zpool upgrade command to take advantage of the pool features in the current release. Solaris live upgrade must be used as part of either a standard upgrade, a rolling upgrade, or a dualpartition upgrade.
I have tried all of them in any combination you may think of, according to the zpool manual, the official solaris manual, the official bsd manual and some other manuals and, let me be absolutely clear on this point, none of them worked as expected. How do i upgrade my solaris 10 or lower systems to solaris. With the zpool upgrade command, you can upgrade zfs storage pools from a previous oracle solaris. How to upgrade zfs version and migrate zfs between. This will prevent booting from older boot environments if support for the upgraded zpool filesystem version is not available within those boot environments. In addition, the zpool status command has been modified to notify you when your pools are running older versions. As mentioned in the beginning of the article, opensolaris is no longer open source since 2010, thus, there is no compatibility between openzfs and. In this post will show you the data backup and recovery mechanism in oracle solaris 11. I need your expert help, what is the best practice and simple way to migrateport from current server to new solaris 11 server. Howto update your oracle solaris 11 systems using support. Scheduled pool scrubs in oracle solaris zfs oracle. I dont think gparted can resize the solaris2 partitions used by solaris 11 so i did the resize on a running system using format. I recommend setting at least couple of hours aside for this upgrade as various factors such as the current solaris 11.
Upgrading zfs storage pools zpool upgrade zfs backup and restore commands are renamed. More importantly, ips establishes a much safer system upgrade using the benefits of zfs snapshot and clone functionality, which allows you to. Introduction to oracle solaris 11 zfs zettabyte file system. If you have zfs file systems in your root zpool with alternate mount points that do not use the form of zpool, you will need to take extra steps to copy them to the san boot zpool. Extract the zipfiles into some suitable location like vartmpsru. Thus it is important to chcek the zpool version before the upgrade. The pool can still be used, but some features are unavailable. What im trying to find out is after upgrading via live upgrade and booting to the new solaris 10 910 environment, will it attempt to upgrade all zpools automatically. Ai, and a lot of other things, changed in the fcs release, so im not entirely certain that what follows can be completely trusted. Ok, the short story is, some of zfs file systems on this pool have permanent errors, including the root zfs filesystem, which means iv lost the whole pool, about 2tb data. In solaris 11 there is a very important aspect to remember before going ahead with the network setup and that is the ncp. When you patch or upgrade oracle solaris, a new version of the zpool may be available.
Created a zpool at version 28 in solaris with the command zpool create o version28 tank where is a 100mb file used as a device to store the zpool the file resides in a zpool zfs dataset with versions 356 respectively. In this zfs tutorial series,here we are going to see about new features of zfs and its usage in real production environment. October 11, 2012 in smartos, storage, virtualization, zfs i am skipping the smartos introduction because magnus hedemark has us covered with discovering smartos. Even though zfs, the zetabyte file system made its appearance during the life of solaris 10. At the heart of the filesystem are zfs pools which group disks. It doesnt include applications that will run on oracle solaris 11 that were designed and build for oracle solaris 10 nor 8 and 9 for that matter. But i can force the ashift to be 9 by building the pool using a file instead of the ashift12 drive, then switching in the real drive with zpool replace afterwards. Unfortunately, i could not get any information from the manual i am in the process of creating a zfs pool using powerpath devices. How to use zfs snapshots for backup and recovery in oracle. A final build b4 of opensolaris was published by oracle 2010nov12 as an upgrade path to solaris 11 express. Upgrade from solaris 10 to solaris 11 lildude howto upgrade from solaris 10to solaris 11 2011 11 09t16. Download the latest virtualbox software from oracle download site.