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

That all looks good to me, except this:

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.

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.

When you are using ZFS you don't. There is no need for partitions.

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

Why?

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

actually my professor asked me to do that. So can I just create folders and use them ????

Yes and it's a lot easier this way. Dealing with volume management when you have 48 disks would be a royal pain. What you did so far is fine, it's just not partition based but the behavior from a users point of view is the same.

thank you so much Reborg.... it is great to have such a good help from u people...