LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Installing ZFS on an existing Solaris 10 installation (https://www.linuxquestions.org/questions/solaris-opensolaris-20/installing-zfs-on-an-existing-solaris-10-installation-582948/)

custangro 09-07-2007 10:34 AM

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


-custangro

1jnike 09-07-2007 11:34 AM

Installing ZFS on solaris 10
 
Hi custangro,

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.


I hope you find this extract from the PDF helpful

jnike

custangro 09-07-2007 11:40 AM

The problem is that I don't have ZFS intalled and I want to know how to install it. This is what I get:

Code:


bear:/<99># zfs get -s local all
zfs: Command not found


How do I install ZFS?

1jnike 09-07-2007 11:58 AM

Hi custangro,

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


I know the release above ships with ZFS.


jnike

custangro 09-07-2007 12:15 PM

Hmmm...I got release 1/06

Code:

                    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


custangro 09-07-2007 02:09 PM

I found out that release 1/06 doesn't have zfs...I am currently upgrading to 6/06 release...If I have any questions I'll be sure to post thanks again :)

Dox Systems - Brian 09-10-2007 09:45 AM

Quote:

Originally Posted by custangro (Post 2884733)
I found out that release 1/06 doesn't have zfs...I am currently upgrading to 6/06 release...If I have any questions I'll be sure to post thanks again :)

Any reason you're not upgrading to the very latest release? 07/07 I think is what it is?

jlliagre 09-10-2007 12:35 PM

It's Solaris 10 8/07, just released.


All times are GMT -5. The time now is 01:12 AM.