The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > SUN Solaris
.
google unix.com



SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems .

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
I've created a partition with GNU Parted, how do I mount the partition? jtp51 UNIX for Dummies Questions & Answers 1 09-18-2006 12:01 PM
Error in creating logical partition nagendrajaiswal UNIX for Dummies Questions & Answers 3 07-20-2006 10:05 AM
understanding logical partition, physical partition yls177 UNIX for Dummies Questions & Answers 3 11-15-2002 10:49 AM
Partition jonas27 UNIX for Dummies Questions & Answers 4 01-24-2002 10:58 AM
partition chakradharm UNIX for Dummies Questions & Answers 1 11-13-2000 11:56 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 12-30-2008
bharu_sri bharu_sri is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 44
Creating a partition....???

I have created a pool named earthpool using zpool command. Later I created a file system named earth using zfs command. I changed the mountpoint of earth (file system) using

zfs set mountpoint=/earth earthpool/earth.

Where /earth is a directory created in root using mkdir.

Now, I have a partition with the name earth.

Am I correct in creating the partition ? Below are the details of the result got by using the commands

root@mylodon # zpool create earthpool raidz2 c0t0d0 c1t0d0 c4t0d0 c6t0d0 c7t0d0 c0t1d0 c0t2d0 c0t3d0 c0t4d0 c0t5d0 c0t6d0 c0t7d0

root@mylodon # zpool list
NAME SIZE USED AVAIL CAP HEALTH ALTROOT
earthpool 10.9T 189K 10.9T 0% ONLINE -

zfs create earthpool/earth

root@mylodon # zfs list
NAME USED AVAIL REFER MOUNTPOINT
earthpool 224K 8.87T 63.4K /earthpool
earthpool/earth 60.9K 8.87T 60.9K /earthpool/earth

root@mylodon # zfs get mountpoint earthpool/earth
NAME PROPERTY VALUE SOURCE
earthpool/earth mountpoint /earthpool/earth default

root@mylodon # mkdir /earth

zfs set mountpoint=/earth earthpool/earth

root@mylodon # zfs list
NAME USED AVAIL REFER MOUNTPOINT
earthpool 231K 8.87T 60.9K /earthpool
earthpool/earth 60.9K 8.87T 60.9K /earth

Thank you
  #2 (permalink)  
Old 12-31-2008
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,245
That all looks good to me, except this:

Quote:
Originally Posted by bharu_sri View Post
Now, I have a partition with the name earth.
You do not have a partition, you have a filesystem. One of the main differences is that the filesystem can grow to fill the entire pool unless you set a quota on it.
  #3 (permalink)  
Old 12-31-2008
bharu_sri bharu_sri is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 44
How do I create a partition by name earth ? Do I need to modify the partition table as needed and then mount a slice on /earth ?

Is this correct ? Please, could you give me the appropriate commands.
  #4 (permalink)  
Old 12-31-2008
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,245
When you are using ZFS you don't. There is no need for partitions.
  #5 (permalink)  
Old 12-31-2008
bharu_sri bharu_sri is offline
Registered User
  
 

Join Date: Nov 2008
Posts: 44
Actually, my goal is to create 3 partitions /earth,/work and /mars on a new X4500 box running solaris 10 OS. I do not understand how exactly that can be done. Now I have three file systems /earth,/mars and /work with 10TB, 20TB and 10TB respectively. But, there must be an entry in /etc/vfstab if we create a partition. Am I right ?

The output of /etc/vfstab is

root@mylodon # cat /etc/vfstab
#device device mount FS fsck mount mount
#to mount to fsck point type pass at boot options
#
fd - /dev/fd fd - no -
/proc - /proc proc - no -
/dev/md/dsk/d10 /dev/md/rdsk/d10 / ufs 1 no -
/devices - /devices devfs - no -
ctfs - /system/contract ctfs - no -
objfs - /system/object objfs - no -
/dev/md/dsk/d20 - - swap - no -
/dev/md/dsk/d30 /dev/md/rdsk/d30 /var ufs 1 no -

Thank you
  #6 (permalink)  
Old 12-31-2008
reborg's Avatar
reborg reborg is offline Forum Staff  
Administrator
  
 

Join Date: Mar 2005
Location: Ireland
Posts: 4,245
Why?

There is simply no need to any of this if you are using ZFS.
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:37 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0