creating single mount point

hi ,

I am new in this field,we are using solaris 10,we have two unpartation name
/dev/md/rdsk/d110 and /dev/md/rdsk/d111 with size 500gb each.

Now actually i want to create a single mount point /u06 and assign both 500gb unallocated space to /u06 to became the size 1 terabyte for /u06 mount point.

i have use newfs command for /dev/md/rdsk/d110 to create mount point /u06 becoming size 500gb, but dont know how to assign /dev/md/rdsk/d111 to /u06 so that a single mount point with size 1tb is created?

I have use growfs command to add space but did not succeed.

Any support regarding this issue should be appreciated.

Best Regards
Zeeshan

mountpoint means one point. You cannot have two unrelated devices mounted that way.

What directory structure will be under /u01 - you can mount two disks on say:
/u01/a and /u01/b,
if you do not have to have one single directory that holds 1TB.

Even then you can create mountpoints under the directory as a sub-directory. The problem is how will this be used? Not so much how to do it.

I think ZFS can do it, but don't know how..

as you can see on your disk path (/dev/md/dsk/d110) you are using SunVolumeManager.
You can continue with using SVM and create a striped device or delete this sub-volumes and use ZFS instead...

can you post here the outputs from this commands:

- metastat
- df -h

This should just work:

zpool create u06 /dev/md/rdsk/d110 /dev/md/rdsk/d111

is this supported to create a pool over a md device?

Why won't it ?

hi,

Thanks for your response, now before creating single mount point i have to remove file system which i have created using below command

newfs /dev/md/rdsk/d110

Require command for removing file system from meta device ?

Regards
Zeeshan

There should be no need to remove the file system. Just:

  • backup any file you might have created there and want to keep
  • unmount the file system and remove its entry from /etc/vfstab, if any
  • create the pool as I suggested. I guess it won't choke on the existing file system. If it does, the -f option might help.