Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

So there is a Global Zone, and we need to create an FS on a Zone that's in the 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
"A zone that's in the Global Zone" ?? You'd rather directly write "a Non Global Zone". –  jlliagre Jan 17 '12 at 2:30

1 Answer 1

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.