Installing ZFS on an existing Solaris 10 installation
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Installing ZFS on an existing Solaris 10 installation
Hello,
I want to install ZFS on an existing Solaris 10 installation on a SPARC machine. I've done some searches and come up with a plethora of information about administration...but none about installing :/
When I do a which zfs or a which zpool it finds nothing so I assume that it's not installed.How would I install it now? is it on the disk? How would I do this? Anyone have some good documentation? Thanks
Attached is information from a PDF which I found useful;
Displaying All ZFS File System Information
Solaris Express Community Release, build 48: In this Solaris release, you can use various forms of
the zfs get command to display information about all datasets if you do not specify a dataset. In
previous releases, all dataset information was not retreivable with the zfs get command.
For example:
# zfs get -s local all
tank/home atime off local
tank/home/bonwick atime off local
tank/home/marks quota 50G local
Creating a Basic ZFS File System
# zpool create tank c1t0d0
The new ZFS file system, tank, can use as much of the disk space on c1t0d0 as needed, and is
automatically mounted at /tank.
# mkfile 100m /tank/foo
# df -h /tank
Filesystem size used avail capacity Mounted on
tank 80G 100M 80G 1% /tank
Within a pool, you will probably want to create additional file systems. File systems provide points of
administration that allow you to manage different sets of data within the same pool.
The following example illustrates how to create a file system named fs in the storage pool tank.
Assume that the whole disk /dev/dsk/c1t0d0 is available for use.
# zpool create tank c1t0d0
# zfs create tank/fs
The new ZFS file system, tank/fs, can use as much of the disk space on c1t0d0 as needed, and is
automatically mounted at /tank/fs.
# mkfile 100m /tank/fs/foo
# df -h /tank/fs
Filesystem size used avail capacity Mounted on
tank/fs 80G 100M 80G 1% /tank/fs
In most cases, you will probably want to create and organize a hierarchy of file systems that matches
your organizational needs.
Try running the following command, it may be the a release issue....
root@testbox # cat /etc/release
Solaris 10 6/06 s10s_u2wos_09a SPARC
Copyright 2006 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 09 June 2006
Solaris 10 1/06 s10s_u1wos_19a SPARC
Copyright 2005 Sun Microsystems, Inc. All Rights Reserved.
Use is subject to license terms.
Assembled 07 December 2005
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.