Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

So there is a global zone, and we need to create an FS on a non-global zone. Also we need the new FS in a new DG/Volume inside the DG of the zone (if we see it from the global zone). How to do it? Using vx. (Or at least an authentic howto needed :D )

share|improve this question

You create a file system under Solaris global zone with one of these commands.

  • ZFS: zfs create filesystem
  • UFS: newfs /dev/rdsk/...
  • VXFS: mkfs -F vxfs ... /dev/vx/rdsk/...

You can then use zonecfg to make that file system visible in non global zones.

# zonecfg -z zone1
zonecfg:zone1> add fs
zonecfg:zone1:fs> set dir=/nonglobalzone/path
    zonecfg:zone1:fs> set special=/path/to/the/filesystem/you/just/created
    zonecfg:zone1:fs> set type=lofs
    zonecfg:zone1:fs> end
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.