LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This 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


Reply
  Search this Thread
Old 09-07-2007, 10:34 AM   #1
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
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
 
Old 09-07-2007, 11:34 AM   #2
1jnike
Member
 
Registered: Jan 2006
Location: UK
Distribution: Fedora,Mandriva,Debian,Suse,Solaris
Posts: 135

Rep: Reputation: 17
Post 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
 
Old 09-07-2007, 11:40 AM   #3
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979

Original Poster
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
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?
 
Old 09-07-2007, 11:58 AM   #4
1jnike
Member
 
Registered: Jan 2006
Location: UK
Distribution: Fedora,Mandriva,Debian,Suse,Solaris
Posts: 135

Rep: Reputation: 17
Post

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
 
Old 09-07-2007, 12:15 PM   #5
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979

Original Poster
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
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
 
Old 09-07-2007, 02:09 PM   #6
custangro
Senior Member
 
Registered: Nov 2006
Location: California
Distribution: Fedora , CentOS , RHEL
Posts: 1,979

Original Poster
Blog Entries: 1

Rep: Reputation: 209Reputation: 209Reputation: 209
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
 
Old 09-10-2007, 09:45 AM   #7
Dox Systems - Brian
Member
 
Registered: Nov 2006
Posts: 344

Rep: Reputation: 31
Quote:
Originally Posted by custangro View Post
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?
 
Old 09-10-2007, 12:35 PM   #8
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
It's Solaris 10 8/07, just released.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris Express ZFS vs Solaris 10 ZFS? kebabbert Solaris / OpenSolaris 8 06-29-2007 07:05 AM
ZFS Encryption in Solaris 10 06/06? as400 Solaris / OpenSolaris 16 04-03-2007 11:47 AM
ZFS Root / Boot into ZFS from a usb flash drive Kataku Solaris / OpenSolaris 1 07-15-2006 04:13 AM
Solaris 10 vs Express vs OpenSolaris / ZFS / X11 questions RedShirt Solaris / OpenSolaris 2 06-22-2006 04:52 PM
Installing Fedora over an existing Linux installation LoveKing Fedora 1 12-24-2005 01:07 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 07:27 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration